/* ==========================================================================
   CSS Variables & Typography (Premium Light/Editorial Theme)
   ========================================================================== */
:root {
    /* Color Palette - Soft Editorial Whites & Creams */
    --bg-light: #ffffff;
    --bg-alt: #f8f6f0;
    /* Very soft off-white/cream for sections */
    --text-main: #1a1a1a;
    /* Deep charcoal for readable contrast */
    --text-muted: #5a5a5a;

    /* Accents - Soft, Elegant Gold/Champagne */
    --gold-primary: #8b5a2b;
    --gold-light: #a67c52;
    --gold-dark: #654321;

    /* Semantic Colors */
    --whatsapp: #25D366;
    --instagram: #E1306C;
    --tiktok: #000000;
    --email: #8b5a2b;

    /* Typograpy */
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Playfair Display', serif;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.section-padding {
    padding: 120px 0;
}

.bg-alt {
    background-color: var(--bg-alt);
}

/* ==========================================================================
   Typography & Accents
   ========================================================================== */
h1,
h2,
h3 {
    font-family: var(--font-secondary);
    font-weight: 400;
    /* Lighter weight for elegance */
    line-height: 1.2;
    color: var(--text-main);
}

p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.gold-text {
    color: var(--gold-primary);
}

.title-line {
    width: 40px;
    height: 1px;
    background-color: var(--gold-primary);
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
}

.title-line.centered {
    margin-left: auto;
    margin-right: auto;
}

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

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--text-main);
    color: #fff;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 1px;
    border-radius: 0;
    /* Boxy, editorial feel */
    transition: var(--transition-fast);
    border: 1px solid var(--text-main);
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-main);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: transparent;
    color: var(--text-main);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 1px;
    border-radius: 0;
    transition: var(--transition-fast);
    border: 1px solid var(--text-main);
}

.btn-secondary:hover {
    background-color: var(--bg-alt);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-fast);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 0.2rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-secondary);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 1px;
}

.brand-logo {
    height: 70px;
    /* Increased by ~15% */
    width: auto;
    object-fit: contain;
}

.logo .dot {
    color: var(--gold-primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--text-main);
    transition: var(--transition-fast);
}

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

.nav-socials {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.nav-icon {
    color: var(--text-main);
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.nav-icon:hover {
    color: var(--gold-primary);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 1px;
    background-color: var(--text-main);
    margin: 6px;
    transition: all 0.3s ease;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: var(--bg-alt);
    margin-top: 80px;
    /* offset navbar */
    height: calc(100vh - 80px);
}

/* Removed old hero-bg and overlay for a cleaner split layout look */
.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.hero-overlay {
    display: none;
    /* No more dark overlay */
}

.hero-content {
    width: 50%;
    padding-right: 4rem;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 450px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.section-title {
    margin-bottom: 4rem;
}

.section-title span {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.5rem;
}

.section-title h2 {
    font-size: 3.5rem;
    color: var(--text-main);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.features-list {
    list-style: none;
    margin-top: 2.5rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-main);
}

.features-list li i {
    font-size: 0.8rem;
}

.about-img {
    position: relative;
    border-radius: 0;
    /* Boxy editorial */
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.image-placeholder {
    display: none;
    /* Replaced by the grid in index.html */
}

/* Services Grid for the images */
.services-images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0;
}

.service-img-wrap {
    width: 100%;
    height: 600px;
    border-radius: 0;
    overflow: hidden;
    border: none;
    background: var(--bg-alt);
}

/* Staggered look for images */
.service-img-wrap:nth-child(2) {
    margin-top: 4rem;
    height: 520px;
}

.service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-img-wrap:hover img {
    transform: scale(1.03);
}

/* ==========================================================================
   Collections Section
   ========================================================================== */
.collections {
    background-color: var(--bg-light);
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.collection-card {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    border: none;
    transition: var(--transition-smooth);
}

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

.card-img {
    width: 100%;
    height: 400px;
    /* slightly smaller to fit 4 columns */
    background-size: cover;
    background-position: center;
    border-bottom: none;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.collection-card:hover .card-img {
    transform: scale(1.02);
}

.card-content {
    padding: 2rem 0;
    text-align: left;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.card-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ==========================================================================
   Gallery Section (Instagram Embeds)
   ========================================================================== */
.gallery {
    background-color: var(--bg-alt);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin-top: 3rem;
}

.video-card {
    position: relative;
}

/* Wrapper to crop out the bottom footer of Instagram iframe */
.video-crop-wrapper {
    width: 100%;
    height: 700px;
    /* Slightly taller for elegance */
    overflow: hidden;
    border-radius: 0;
    border: none;
    background: var(--bg-light);
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.ig-iframe {
    width: 102%;
    height: 900px;
    position: absolute;
    top: -10px;
    left: -1%;
    border: none;
}

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

.contact-box {
    background: var(--bg-alt);
    padding: 6rem 4rem;
    border-radius: 0;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: none;
    max-width: 900px;
    margin: 0 auto;
}

.contact-box h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
    color: var(--text-main);
    background: var(--bg-light);
    padding: 2.5rem 1.5rem;
    border-radius: 0;
    transition: var(--transition-fast);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-item:hover {
    transform: translateY(-5px);
    border-color: var(--text-main);
    background: var(--bg-light);
}

.icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    background: transparent;
    border: 1px solid var(--text-main);
}

/* Override previous solid backgrounds */
.whatsapp-icon,
.ig-icon,
.email-icon,
.tiktok-icon {
    background: transparent;
    color: var(--text-main);
}

.contact-item:hover .icon-wrap {
    background: var(--text-main);
    color: var(--bg-light);
}

.contact-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-info strong {
    font-size: 1.1rem;
    font-weight: 400;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background: var(--bg-alt);
    color: var(--text-main);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-secondary);
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.footer-logo .gold-text {
    color: var(--gold-primary);
}

.footer-brand p {
    max-width: 400px;
    margin: 0 auto;
    color: var(--text-muted);
}

.footer-content .socials {
    display: flex;
    gap: 1.5rem;
}

.footer-content .socials a {
    color: var(--text-main);
    font-size: 1.2rem;
    transition: var(--transition-fast);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-content .socials a:hover {
    color: var(--bg-light);
    background: var(--text-main);
    border-color: var(--text-main);
}

.footer-bottom {
    width: 100%;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Animations & Responsive
   ========================================================================== */

.reveal-up,
.reveal-left,
.reveal-right,
.reveal-fade,
.reveal-scale {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-scale {
    transform: scale(0.95);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active,
.reveal-fade.active,
.reveal-scale.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        width: 100%;
        padding-right: 0;
        text-align: center;
    }

    .hero-bg {
        width: 100%;
        opacity: 0.15;
        /* Prevent text overlap on tablet/mobile by fading video */
    }

    .hero-buttons {
        justify-content: center;
    }

    body.lang-ar .hero-content {
        padding-left: 0;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-socials {
        display: none;
    }

    .lang-toggle {
        margin-left: auto;
        margin-right: 1.5rem;
    }
    
    body.lang-ar .lang-toggle {
        margin-right: auto;
        margin-left: 1.5rem;
    }

    .nav-links.active {
        display: flex;
        position: fixed;
        right: 0;
        top: 80px;
        flex-direction: column;
        background: var(--bg-dark);
        width: 100%;
        text-align: center;
        padding: 2rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .hamburger {
        display: block;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .collection-grid {
        grid-template-columns: 1fr;
    }

    .services-images-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-img-wrap,
    .service-img-wrap:nth-child(2) {
        height: 350px;
        margin-top: 0;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 3rem;
    }
}

/* ==========================================================================
   Language Support (RTL & Arabic)
   ========================================================================== */

/* Show/hide logic */
body.lang-ar .en-only {
    display: none !important;
}

body.lang-en .ar-only {
    display: none !important;
}

body.lang-ar {
    direction: rtl;
    text-align: right;
    font-family: 'Outfit', 'Cairo', sans-serif;
    /* You can include Cairo font later if needed */
}

/* Adjustments for RTL */
body.lang-ar .hero-bg {
    right: auto;
    left: 0;
}

body.lang-ar .hero-content {
    margin-right: 0;
    margin-left: auto;
    padding-right: 0;
    padding-left: 4rem;
}

body.lang-ar .nav-links {
    margin-right: auto;
    margin-left: 0;
}

body.lang-ar .nav-socials {
    margin-left: 0;
    margin-right: 2rem;
}

body.lang-ar .about-text {
    text-align: right;
}

body.lang-ar .title-line {
    margin-right: 0;
    margin-left: auto;
}

body.lang-ar .title-line.centered {
    margin-right: auto;
    margin-left: auto;
}

body.lang-ar .btn-primary i,
body.lang-ar .btn-secondary i {
    margin-left: 0.5rem;
    margin-right: 0;
}

body.lang-ar .features-list li i {
    margin-left: 1rem;
    margin-right: 0;
}

/* Language Toggle Button */
.lang-toggle {
    background: transparent;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: 1rem;
    transition: var(--transition-fast);
}

body.lang-ar .lang-toggle {
    margin-right: 1rem;
    margin-left: 0;
}

.lang-toggle:hover {
    background: rgba(212, 175, 55, 0.1);
}

/* Services Grid for the images */
.services-images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.service-img-wrap {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-fast);
}

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