/* =================================
   CSS Variables & Reset
   ================================= */
:root {
    /* Colors - Luxury Palette */
    --color-ivory: hsl(45, 25%, 96%);
    --color-charcoal: hsl(0, 0%, 17%);
    --color-graphite: hsl(0, 0%, 45%);
    --color-champagne: hsl(38, 28%, 40%);
    --color-border: hsl(45, 20%, 87%);
    --color-card: hsl(0, 0%, 100%);
    --color-whatsapp: #25D366;

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Radius */
    --radius-sm: 0.75rem;
    --radius-md: 0.875rem;
    --radius-lg: 1.5rem;
    --radius-xl: 3rem;

    /* Container */
    --container-max: 1080px;
    --container-padding: 1rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-charcoal);
    background-color: var(--color-ivory);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a {
    color: inherit;
    text-decoration: none;
}

/* =================================
   Header
   ================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem var(--container-padding);
}

.logo-container {
    position: relative;
}

.logo {
    height: 128px;
    width: auto;
    object-fit: contain;
    transition: filter 0.3s ease;
    filter: brightness(0) invert(1);
}

.header.scrolled .logo {
    filter: brightness(0);
}

.nav-main {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

.nav-main button {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.375rem 0.75rem;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.nav-main button:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.header.scrolled .nav-main button {
    color: var(--color-graphite);
}

.header.scrolled .nav-main button:hover {
    color: var(--color-charcoal);
    background-color: rgba(0, 0, 0, 0.03);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-language {
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    color: white;
    transition: all 0.2s ease;
}

.btn-language:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.header.scrolled .btn-language {
    color: var(--color-charcoal);
}

.header.scrolled .btn-language:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: white;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.btn-whatsapp:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.header.scrolled .btn-whatsapp {
    border-color: var(--color-charcoal);
    color: var(--color-charcoal);
}

.header.scrolled .btn-whatsapp:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.whatsapp-text-short {
    display: none;
}

/* =================================
   Hero Section
   ================================= */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 12rem var(--container-padding);
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 6vw, 5rem);
    
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 3rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

.hero-title span {
    display: block;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.02em;
}

.hero-trust {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 400;
    opacity: 0.85;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-trust:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* RTL Support for Hero */
[dir="rtl"] .hero-title {
    font-family: var(--font-sans);
}

[dir="rtl"] .hero-subtitle,
[dir="rtl"] .hero-trust {
    letter-spacing: 0;
}

/* Responsive Adjustments for Hero */
@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
    }
    
    .hero-content {
        padding: 12rem var(--container-padding);
    }
    
    .hero-title {
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        margin-bottom: 1.5rem;
    }
    
    .hero-trust {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 70vh;
    }
}
/* =================================
   Main Content
   ================================= */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.main-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 3rem var(--container-padding);
}

.section {
    margin-bottom: 4rem;
    scroll-margin-top: 5rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 1.875rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--color-charcoal);
}

.divider {
    width: 6rem;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent 0%,
        var(--color-champagne) 50%,
        transparent 100%
    );
    margin: 2.5rem auto;
}

/* =================================
   Services Section
   ================================= */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.service-card {
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 1.25rem 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-charcoal);
}

.service-description {
    color: var(--color-graphite);
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.service-features {
    list-style-type: disc;
    margin-left: 1rem;
    color: var(--color-graphite);
}

.service-features li {
    margin-bottom: 0.25rem;
    line-height: 1.7;
}

/* =================================
   Process Section
   ================================= */
.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.process-step {
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1rem;
}

.process-step-title {
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: 0.25rem;
}

.process-step-description {
    font-size: 0.875rem;
    color: var(--color-graphite);
}

.brands-text {
    text-align: center;
    color: var(--color-graphite);
    font-size: 0.875rem;
    margin-top: 2rem;
}

/* =================================
   Gallery Section
   ================================= */
.gallery-header {
    text-align: center;
    margin-bottom: 2rem;
}

.gallery-subtitle {
    color: var(--color-graphite);
}

.gallery-section {
    margin-bottom: 2rem;
}

.gallery-section-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-charcoal);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background-color: var(--color-card);
    transition: transform 0.2s ease;
}

.gallery-item:hover {
    transform: translateY(-2px);
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* =================================
   Testimonials Section
   ================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.testimonial-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background-color: var(--color-card);
    transition: transform 0.2s ease;
}

.testimonial-card:hover {
    transform: translateY(-2px);
}

.testimonial-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* =================================
   FAQ Section
   ================================= */
.faq-list {
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    font-weight: 600;
    text-align: left;
    color: var(--color-charcoal);
    background-color: var(--color-card);
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: var(--color-card);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.25rem 1rem 1.25rem;
}

.faq-answer p {
    color: var(--color-graphite);
    line-height: 1.7;
}

/* =================================
   Footer
   ================================= */
.footer {
    text-align: center;
    padding: 2.5rem var(--container-padding) 6rem;
    color: var(--color-graphite);
    font-size: 0.875rem;
}

/* =================================
   WhatsApp Float Button
   ================================= */
.whatsapp-float {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 999;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: var(--color-whatsapp);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.whatsapp-float a:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* =================================
   Animations
   ================================= */
.scroll-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =================================
   RTL Support
   ================================= */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .nav-main {
    direction: rtl;
}

[dir="rtl"] .service-features,
[dir="rtl"] .faq-answer {
    margin-right: 1rem;
    margin-left: 0;
}

[dir="rtl"] .btn-whatsapp svg {
    margin-left: 0.5rem;
    margin-right: 0;
}

/* =================================
   Responsive Design
   ================================= */
@media (min-width: 640px) {
    .whatsapp-text-short {
        display: none;
    }
    
    .whatsapp-text {
        display: inline;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-content {
        padding-bottom: 5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .nav-main {
        display: flex;
    }
    
    .hero-title {
        font-size: 3.75rem;
    }
    
    .container-padding {
        --container-padding: 1.5rem;
    }
}

@media (max-width: 639px) {
    .whatsapp-text {
        display: none;
    }
    
    .whatsapp-text-short {
        display: inline;
    }
}
