/* --- Base Styles & Variables --- */
:root {
    --color-primary: #8B4513; /* Earthy Brown */
    --color-secondary: #DAA520; /* Gold/Olive Accent */
    --color-text: #333;
    --color-light: #fff;
    --color-dark: #1f1f1f;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Roboto', sans-serif;
    --font-arabic: 'Cairo', sans-serif; /* Arabic Font Variable */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-text);
    background-color: #f8f8f8;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.text-center {
    text-align: center;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    margin-bottom: 20px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    margin-top: 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-dark);
    border: 2px solid var(--color-secondary);
}

.btn-primary:hover {
    background-color: #C5931A;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--color-light);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-light);
}

.btn-tertiary {
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: 8px 15px;
    font-size: 0.85em;
}

/* --- I. Hero Image Section (UPDATED) --- */
.hero-image-container {
    background: url('hero-bg-03.png') no-repeat center top / cover; /* <-- CHANGE IS HERE */
    height: 125vh; 
    
    /* NEW: Setting relative positioning for absolute child elements */
    position: relative; 
    
    /* Used to position the logo/brand name over the image */
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container .logo {
    font-size: 4em;
    color: var(--color-secondary);
    letter-spacing: 2px;
    background: rgba(0, 0, 0, 0.4); 
    padding: 10px 20px;
}

/* NEW: Style for the tagline at the bottom of the image */
.tagline-image {
    position: absolute; /* Positioned relative to .hero-image-container */
    bottom: 0; /* Aligned to the very bottom */
    width: 100%; /* Spans the full width */
    text-align: center;
    
    /* Styling */
    font-size: 2.2em;
    font-family: var(--font-heading);
    color: var(--color-light); /* White/light gold color */
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent black strip for contrast */
    padding: 15px 0;
    margin: 0;
}
/* --- II. Hero Text Content (Under the Image) --- */
.hero-text-content {
    background-color: var(--color-light); 
    padding: 40px 0 60px;
    border-bottom: 5px solid var(--color-secondary); /* Accent line */
}

/* Arabic Text Styling */
.arabic-hero-text {
    font-family: var(--font-arabic); 
    direction: rtl; 
    text-align: center; 
    color: var(--color-primary); 
    margin-bottom: 20px;
    font-size: 1.3em; 
    font-weight: 700;
    line-height: 1.8;
}

.arabic-hero-text p {
    margin: 0;
}

.arabic-badges {
    font-size: 0.9em;
    font-weight: 400;
    margin-top: 15px;
    color: var(--color-dark);
}

.headline {
    font-size: 1.2em;
    color: var(--color-text);
    font-weight: 400;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-badge-text {
    margin-top: 15px;
    font-size: 0.9em;
    font-weight: 700;
    color: var(--color-primary);
}
/* --- III. Vendor Announcement / Registration Section --- */
.announcement-section {
    background-color: var(--color-primary); /* Dark earthy background for contrast */
    padding: 60px 0;
    color: var(--color-light);
}

.announcement-section h2 {
    color: var(--color-secondary); /* Gold heading */
    margin-bottom: 25px;
    font-size: 2.5em;
}

.arabic-announcement-text {
    font-family: var(--font-arabic);
    direction: rtl;
    text-align: center;
    font-size: 1.2em;
    line-height: 2;
    max-width: 900px;
    margin: 0 auto 30px;
}

.arabic-announcement-text p {
    margin-bottom: 10px;
}

.arabic-announcement-text .question {
    font-weight: 700;
    font-size: 1.3em;
    color: var(--color-secondary);
}

.location-highlight {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    margin: 15px auto;
    border-radius: 5px;
    display: inline-block;
    border: 1px solid var(--color-secondary);
}

.eligibility {
    font-style: italic;
    font-weight: 400;
    margin-top: 20px;
    font-size: 1.1em;
}

.btn-cta-large {
    font-size: 1.1em;
    padding: 15px 40px;
}

/* --- III. Story/Mission Section --- */
.story-mission {
    text-align: center;
    background-color: #f8f8f8; /* Changed to background color */
    padding: 60px 0;
}

.pillars {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 30px;
    padding-bottom: 20px;
}

.pillar {
    flex-basis: 30%;
    padding: 15px;
    border-left: 2px solid var(--color-secondary);
}

/* --- IV. Featured Products Section --- */
.featured-products {
    background-color: #EFEBE9; /* Light, warm background */
    text-align: center;
    padding: 60px 0;
}

.category-grid {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap; 
}

.category-card {
    flex: 1; 
    min-width: 280px;
    background-color: var(--color-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
}

.card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    /* --- PLACEHOLDER IMAGE STYLES - REPLACE WITH YOUR ACTUAL IMAGE URLs --- */
    &.gourmet-img { background-color: #a87932; } 
    &.textiles-img { background-color: #8f3232; }
    &.home-img { background-color: #326a8f; }
    /* Example of linking a real image: background-image: url('images/medjoul-dates.jpg'); */
}

.category-card h4 {
    margin: 15px 0 5px;
}

.category-card p {
    padding: 0 15px;
    margin-bottom: 15px;
    font-size: 0.9em;
}

/* --- V. Testimonials --- */
.testimonials {
    background-color: var(--color-primary);
    color: var(--color-light);
    text-align: center;
    padding: 60px 0;
}

.testimonials h2 {
    color: var(--color-secondary);
}

.quote {
    font-size: 1.3em;
    font-style: italic;
    max-width: 800px;
    margin: 20px auto;
}

.quote span {
    display: block;
    margin-top: 10px;
    font-size: 0.8em;
    font-weight: 700;
    font-style: normal;
}

/* --- VI. Footer --- */
footer {
    background-color: var(--color-dark);
    color: #bbb;
    text-align: center;
    padding-top: 50px;
    padding-bottom: 20px;
}

.footer-cta h3 {
    color: var(--color-light);
    font-size: 2em;
}

.website-url {
    margin-top: 20px;
    font-size: 1.2em;
    font-weight: 700;
    color: var(--color-secondary);
}

.footer-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-secondary);
}

/* --- Media Queries for Responsiveness --- */
@media (max-width: 900px) {
    .category-grid {
        flex-direction: column;
        align-items: center;
    }
    .category-card {
        width: 80%;
        margin-bottom: 20px;
    }
}

@media (max-width: 600px) {
    .hero-image-container {
        height: 60vh; /* Shorter on mobile */
    }
    .hero-image-container .logo {
        font-size: 3em;
    }
    .tagline {
        font-size: 1.5em;
    }
    .pillars {
        flex-direction: column;
        gap: 30px;
    }
    .pillar {
        border-left: none;
        border-bottom: 1px solid #ddd;
    }
    .arabic-hero-text {
        font-size: 1.1em;
    }
}