/* ==========================================================================
   Dar Lalla - Moroccan Specialties Landing Page
   Modern, Elegant, Warm Design with Subtle Zellige Patterns
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables - Color Palette & Design Tokens
   -------------------------------------------------------------------------- */
:root {
    /* Primary Colors - Warm Moroccan Palette */
    --color-primary: #C17B4A;          /* Terracotta */
    --color-primary-light: #D4956B;
    --color-primary-dark: #A66339;
    
    /* Neutral Colors */
    --color-sand: #F5F0E8;             /* Light Sand */
    --color-sand-dark: #E8DFD1;
    --color-beige: #FBF9F6;            /* Off-white */
    --color-cream: #FFFDF9;
    
    /* Text Colors */
    --color-text: #2D2A26;             /* Dark Brown */
    --color-text-light: #6B6560;
    --color-text-muted: #9A948C;
    
    /* Accent Colors */
    --color-gold: #C9A962;
    --color-gold-light: #DFC88A;
    --color-olive: #7A8B6E;
    --color-spice: #8B4513;
    
    /* Functional Colors */
    --color-white: #FFFFFF;
    --color-black: #1A1816;
    --color-success: #7A8B6E;
    --color-error: #C45B4A;
    
    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(45, 42, 38, 0.08);
    --shadow-md: 0 4px 12px rgba(45, 42, 38, 0.1);
    --shadow-lg: 0 8px 30px rgba(45, 42, 38, 0.12);
    --shadow-xl: 0 20px 50px rgba(45, 42, 38, 0.15);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-index Scale */
    --z-base: 1;
    --z-header: 100;
    --z-overlay: 200;
    --z-modal: 300;
}

/* --------------------------------------------------------------------------
   Base Styles & Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-beige);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p {
    margin-bottom: var(--space-sm);
}

strong {
    font-weight: 600;
    color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   Layout & Container
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-xl);
    }
}

/* --------------------------------------------------------------------------
   Zellige Pattern SVG Background
   -------------------------------------------------------------------------- */
.zellige-pattern-bg {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C17B4A' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    padding: var(--space-md) 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 253, 249, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: var(--space-sm) 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
}

.nav-links {
    display: none;
    align-items: center;
    gap: var(--space-lg);
}

@media (min-width: 992px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    padding: var(--space-xs) 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-base);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    display: none;
    padding: 0.75rem 1.5rem;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

@media (min-width: 992px) {
    .nav-cta {
        display: inline-flex;
    }
}

.nav-cta:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    cursor: pointer;
}

@media (min-width: 992px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation Menu */
.nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
    gap: var(--space-md);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 1rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--color-text);
    color: var(--color-white);
}

.btn-full {
    width: 100%;
}

.btn i {
    font-size: 0.9rem;
    transition: transform var(--transition-base);
}

.btn:hover i {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3xl) var(--space-md);
    background: linear-gradient(135deg, var(--color-sand) 0%, var(--color-cream) 100%);
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C17B4A' fill-opacity='0.06'%3E%3Cpath d='M40 0L50 10H70L60 20L70 30H50L40 40L30 30H10L20 20L10 10H30L40 0zM40 80L50 70H70L60 60L70 50H50L40 40L30 50H10L20 60L10 70H30L40 80z'/%3E%3Cpath d='M0 40L10 50V70L20 60L30 70V50L40 40L30 30V10L20 20L10 10V30L0 40zM80 40L70 50V70L60 60L50 70V50L40 40L50 30V10L60 20L70 10V30L80 40z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(245, 240, 232, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: var(--z-base);
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--color-white);
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    color: var(--color-text);
}

.hero-title span {
    color: var(--color-primary);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
}

@media (min-width: 576px) {
    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-primary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.6); opacity: 0.5; }
}

/* --------------------------------------------------------------------------
   Section Styles
   -------------------------------------------------------------------------- */
section {
    padding: var(--space-3xl) 0;
}

.section-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(193, 123, 74, 0.1);
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.section-badge-light {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-subtitle {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   Concept Section
   -------------------------------------------------------------------------- */
.concept {
    background: var(--color-white);
}

.concept-grid {
    display: grid;
    gap: var(--space-2xl);
    align-items: center;
}

@media (min-width: 992px) {
    .concept-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-3xl);
    }
}

.concept-images {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.concept-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.concept-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.concept-img:hover img {
    transform: scale(1.05);
}

.concept-img-1 {
    transform: translateY(var(--space-lg));
}

.concept-img-2 {
    transform: translateY(calc(var(--space-lg) * -1));
}

@media (min-width: 768px) {
    .concept-img img {
        height: 350px;
    }
}

.zellige-decoration {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0L25 10H35L27 17L30 27L20 21L10 27L13 17L5 10H15L20 0z' fill='%23C17B4A' fill-opacity='0.15'/%3E%3C/svg%3E");
    z-index: -1;
}

.concept-content {
    max-width: 520px;
}

.concept-text {
    color: var(--color-text-light);
    font-size: 1.05rem;
    margin-bottom: var(--space-md);
}

.concept-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.concept-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(193, 123, 74, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-primary);
}

.feature-icon svg {
    width: 20px;
    height: 20px;
}

.concept-feature span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
}

/* --------------------------------------------------------------------------
   Zellige Divider
   -------------------------------------------------------------------------- */
.zellige-divider {
    height: 80px;
    position: relative;
    overflow: hidden;
    background: var(--color-white);
}

.zellige-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C17B4A' fill-opacity='0.08'%3E%3Cpath d='M30 0L35 10H50L40 17L45 30H35L30 40L25 30H15L20 17L10 10H25L30 0z'/%3E%3Cpath d='M30 60L35 50H50L40 43L45 30H35L30 20L25 30H15L20 43L10 50H25L30 60z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.8;
}

/* --------------------------------------------------------------------------
   Specialties Section
   -------------------------------------------------------------------------- */
.specialites {
    background: var(--color-beige);
}

.specialites-grid {
    display: grid;
    gap: var(--space-lg);
}

@media (min-width: 576px) {
    .specialites-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .specialites-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .specialites-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.specialty-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.specialty-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.specialty-card-featured {
    grid-column: span 1;
}

@media (min-width: 992px) {
    .specialty-card-featured {
        grid-column: span 2;
    }
    
    .specialty-card-featured .card-image img {
        height: 300px;
    }
}

.card-image {
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.specialty-card:hover .card-image img {
    transform: scale(1.08);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(45, 42, 38, 0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.specialty-card:hover .card-overlay {
    opacity: 1;
}

.card-badge {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    padding: 0.35rem 0.75rem;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    z-index: 2;
}

.card-content {
    padding: var(--space-md);
}

.card-content h3 {
    font-size: 1.35rem;
    margin-bottom: var(--space-xs);
}

.card-content p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.card-footer {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.card-tag {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: var(--color-sand);
    color: var(--color-text-light);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   Pourquoi Section
   -------------------------------------------------------------------------- */
.pourquoi {
    position: relative;
    background: var(--color-sand);
    overflow: hidden;
}

.pourquoi-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C17B4A' fill-opacity='0.04'%3E%3Cpath d='M50 0L60 15H80L65 30L75 50H55L50 65L45 50H25L35 30L20 15H40L50 0z'/%3E%3Cpath d='M50 100L60 85H80L65 70L75 50H55L50 35L45 50H25L35 70L20 85H40L50 100z'/%3E%3Ccircle cx='50' cy='50' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.pourquoi .container {
    position: relative;
    z-index: var(--z-base);
}

.pourquoi-grid {
    display: grid;
    gap: var(--space-lg);
}

@media (min-width: 576px) {
    .pourquoi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .pourquoi-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.pourquoi-card {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.pourquoi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.pourquoi-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pourquoi-card:hover::before {
    transform: scaleX(1);
}

.pourquoi-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--space-md);
    color: var(--color-primary);
}

.pourquoi-icon svg {
    width: 100%;
    height: 100%;
}

.pourquoi-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.pourquoi-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Testimonials Section
   -------------------------------------------------------------------------- */
.avis {
    background: var(--color-white);
}

.avis-grid {
    display: grid;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .avis-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .avis-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.avis-card {
    padding: var(--space-lg);
    background: var(--color-beige);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-sand-dark);
    position: relative;
    transition: all var(--transition-base);
}

.avis-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--color-primary), var(--color-gold)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.avis-card:hover::before {
    opacity: 1;
}

.avis-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.avis-stars {
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
}

.avis-stars i {
    font-size: 0.9rem;
}

.avis-content p {
    font-size: 0.95rem;
    color: var(--color-text);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.avis-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: 0.95rem;
    color: var(--color-text);
}

.author-info span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Commander Section
   -------------------------------------------------------------------------- */
.commander {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    overflow: hidden;
}

.commander-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.08'%3E%3Cpath d='M40 0L50 15H70L55 30L65 50H45L40 70L35 50H15L25 30L10 15H30L40 0z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.commander-content {
    position: relative;
    z-index: var(--z-base);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.commander-title {
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.commander-text {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: var(--space-xl);
}

.commander-options {
    display: grid;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
    .commander-options {
        grid-template-columns: repeat(3, 1fr);
    }
}

.commander-option {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-base);
    text-align: left;
}

.commander-option:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.option-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    font-size: 1.25rem;
}

.option-content {
    display: flex;
    flex-direction: column;
}

.option-content span {
    font-size: 0.85rem;
    opacity: 0.8;
}

.option-content strong {
    font-size: 1.05rem;
    color: var(--color-white);
}

.commander-note {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    opacity: 0.9;
}

/* --------------------------------------------------------------------------
   Contact Section
   -------------------------------------------------------------------------- */
.contact {
    background: var(--color-beige);
}

.contact-grid {
    display: grid;
    gap: var(--space-2xl);
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.contact-text {
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
}

.contact-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin: 0;
}

.contact-item a {
    color: var(--color-primary);
}

.contact-item a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    color: var(--color-text);
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-beige);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    margin-top: var(--space-sm);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    position: relative;
    background: var(--color-text);
    color: var(--color-white);
    padding-top: var(--space-2xl);
    overflow: hidden;
}

.footer-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.03'%3E%3Cpath d='M30 0L35 10H50L40 17L45 30H35L30 40L25 30H15L20 17L10 10H25L30 0z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.footer .container {
    position: relative;
    z-index: var(--z-base);
}

.footer-content {
    display: grid;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand .logo {
    margin-bottom: var(--space-md);
}

.footer-brand .logo-text {
    color: var(--color-white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    max-width: 280px;
}

.footer-links h4 {
    color: var(--color-white);
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

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

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    align-items: center;
    padding: var(--space-lg) 0;
    text-align: center;
}

@media (min-width: 576px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom i {
    color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
.animate-fade-up {
    animation: fadeUp 0.8s ease forwards;
}

.animate-fade-up:nth-child(1) { animation-delay: 0.1s; }
.animate-fade-up:nth-child(2) { animation-delay: 0.2s; }
.animate-fade-up:nth-child(3) { animation-delay: 0.3s; }
.animate-fade-up:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --------------------------------------------------------------------------
   Media Query Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    section {
        padding: var(--space-2xl) 0;
    }
    
    .hero {
        padding: var(--space-2xl) var(--space-md);
        min-height: 100svh;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .concept-images {
        grid-template-columns: 1fr;
    }
    
    .concept-img-1,
    .concept-img-2 {
        transform: none;
    }
    
    .zellige-decoration {
        display: none;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-scroll,
    .commander,
    .contact-form-wrapper {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}