:root{
    --burgundy:#4b0d16;
    --gold:#d7bf9d;
    --cream:#f7f1eb;
}
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    /* System Arabic + Latin stack — renders instantly, costs no requests. */
    font-family:"Segoe UI", "Noto Kufi Arabic", "Tahoma", system-ui, sans-serif;
}

img,
video{
    max-width:100%;
}

.hero{
    min-height:100vh;
    position:relative;
    overflow:hidden;

    background:
        radial-gradient(
            circle at 75% 20%,
            rgba(216,192,160,.04),
            transparent 28%
        ),

        linear-gradient(
            145deg,
            #240308 0%,
            #34070d 18%,
            #431018 38%,
            #52131c 62%,
            #451019 82%,
            #2b060c 100%
        );

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}
.hero-content{
    position:relative;
    z-index:2;
    display:flex;
    flex-direction:column;
    align-items:center;
}

.hero-logo{
    width:420px;
    max-width:85%;
    margin-bottom:35px;
}

.hero-desc{
    color:white;
    font-size:26px;
    line-height:1.8;
    margin-bottom:42px;
    max-width:900px;
    text-align:center;
}

.hero-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:240px;
    height:68px;
    background:var(--gold);
    color:var(--burgundy);
    border-radius:60px;
    text-decoration:none;
    font-size:22px;
    font-weight:600;
    transition:.35s;
}

.hero-btn:hover{
    transform:translateY(-5px);
    box-shadow:0 15px 35px rgba(216,192,160,.25);
}

/* PRODUCTS */

.products-page{
    background:var(--cream);
}

.back-home{
    position:fixed;
    top:25px;
    right:25px;
    z-index:100;
    background:var(--burgundy);
    color:var(--gold);
    padding:12px 24px;
    border-radius:50px;
    text-decoration:none;
}

.collection-hero{
    height:100vh;
    position:relative;
    overflow:hidden;
}

.collection-hero img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.collection-hero::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(to top, rgba(91,17,29,.8), rgba(91,17,29,.15));
}

.collection-text{
    position:absolute;
    bottom:80px;
    right:7%;
    z-index:2;
}

.collection-text h1{
    color:var(--gold);
    font-size:75px;
    font-weight:300;
}

.collection-text p{
    color:white;
    margin-top:15px;
    font-size:20px;
}

/* GALLERY */

.luxury-gallery{
    padding:90px 7% 120px;
    display:grid;
    grid-template-columns:repeat(12,1fr);
    gap:45px;
    align-items:start;
}

.piece,
.video-piece{
    position:relative;
    overflow:hidden;
    box-shadow:0 25px 60px rgba(0,0,0,.12);

    /* Tinted placeholder so lazy slots read as part of the design
       instead of flashing white before the media arrives. */
    background:linear-gradient(160deg, #efe4d8, #e3d3c3);

    /* Skip rendering work for off-screen tiles. Heights are fixed by the
       size classes below, so layout stays stable. */
    content-visibility:auto;
}

.piece img,
.video-piece video{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center top;
    transition:.6s;
    display:block;
}
.piece:hover img,
.video-piece:hover video{
    transform:scale(1.05);
}

.tall{
    grid-column:span 5;
    height:760px;
    border-radius:180px 180px 30px 30px;
}

.small{
    grid-column:span 4;
    height:480px;
    margin-top:120px;
    border-radius:180px 180px 30px 30px;
}

.wide{
    grid-column:span 7;
    height:550px;
    border-radius:40px;
}

.medium{
    grid-column:span 5;
    height:650px;
    border-radius:180px 180px 30px 30px;
}

.slim{
    grid-column:span 4;
    height:680px;
    border-radius:220px 220px 30px 30px;
}

.square{
    grid-column:span 4;
    height:520px;
    border-radius:45px;
    margin-top:100px;
}

.video-piece.large{
    grid-column:span 7;
    height:700px;
    border-radius:40px;
}

.video-piece.tall-video{
    grid-column:span 4;
    height:760px;
    border-radius:220px 220px 30px 30px;
}

.video-piece.medium-video{
    grid-column:span 5;
    height:620px;
    border-radius:180px 180px 30px 30px;
}

/* QUOTES */

.quote-block{
    grid-column:span 3;
    min-height:320px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:35px;
}

.quote-block h2{
    color:var(--burgundy);
    font-size:38px;
    font-weight:300;
    line-height:1.6;
}

.quote-wide{
    grid-column:span 12;
    min-height:220px;
}

/* FULL WIDTH IMAGE */

.full-width-image{
    grid-column:span 12;
    height:900px;
    overflow:hidden;
    border-radius:50px;
    box-shadow:0 25px 60px rgba(0,0,0,.12);
}

.full-width-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* FOOTER */

.dar-footer{
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(circle at center, rgba(216,192,160,.12), transparent 35%),
        linear-gradient(135deg, #3c0710, #5b111d, #2b050b);
    color:var(--gold);
    padding:130px 7% 120px;
    display:grid;
    grid-template-columns:1fr 1.8fr 1fr;
    gap:55px;
    align-items:center;
    text-align:center;
    border-top:1px solid rgba(216,192,160,.35);
}

.dar-footer::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:115px;
    background:repeating-linear-gradient(
        45deg,
        rgba(216,192,160,.06) 0 1px,
        transparent 1px 26px
    );
    opacity:.45;
}

.footer-col{
    min-height:220px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

.footer-col.contact{
    border-left:1px solid rgba(216,192,160,.45);
}

.footer-col.social{
    border-right:1px solid rgba(216,192,160,.45);
}

.footer-col h3{
    font-size:24px;
    font-weight:400;
    margin-bottom:35px;
}

.footer-phone{
    color:var(--gold);
    text-decoration:none;
    font-size:22px;
    letter-spacing:1px;
    transition:.3s;
}

.footer-phone:hover{
    color:#fff2df;
}

.footer-brand{
    position:relative;
    z-index:2;
}

.footer-brand img{
    width:440px;
    max-width:90%;
    margin-bottom:28px;
}

.footer-line{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:16px;
    margin-bottom:26px;
}

.footer-line span{
    width:150px;
    height:1px;
    background:rgba(216,192,160,.65);
}

.footer-line b{
    color:var(--gold);
    font-size:24px;
    font-weight:300;
}

.footer-brand p{
    color:#ead8bf;
    font-size:22px;
}

.social-links{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
}

.social-links a{
    color:var(--gold);
    text-decoration:none;
    font-size:15px;
    transition:.3s;
}

.social-links a:hover{
    color:#fff2df;
    transform:translateY(-3px);
}

/* LIGHTBOX */

.piece img,
.full-width-image img{
    cursor:pointer;
}

.lightbox{
    position:fixed;
    inset:0;
    background:rgba(20, 2, 6, .92);
    z-index:9999;
    display:none;
    align-items:center;
    justify-content:center;
}

.lightbox.active{
    display:flex;
}

.lightbox img{
    max-width:88%;
    max-height:88%;
    object-fit:contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next{
    position:absolute;
    border:0;
    background:rgba(216,192,160,.14);
    color:var(--gold);
    cursor:pointer;
    transition:.3s;
}

.lightbox-close{
    top:25px;
    right:30px;
    font-size:42px;
    background:transparent;
}

.lightbox-prev,
.lightbox-next{
    top:50%;
    transform:translateY(-50%);
    width:55px;
    height:55px;
    border-radius:50%;
    font-size:42px;
}

.lightbox-prev{
    left:35px;
}

.lightbox-next{
    right:35px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover{
    color:white;
}

/* NOTE: the responsive @media blocks live at the END of this file.
   They used to sit here, which meant the .hero / .hero-copy / .side-quote
   rules further down silently overrode them and the mobile layout never
   applied. Keep media queries last. */

.hero-copy{
    max-width:650px;
    text-align:center;
    margin-bottom:45px;
}

.hero-tag{
    display:inline-block;
    color:#d8c0a0;
    font-size:15px;
    letter-spacing:4px;
    margin-bottom:20px;
    opacity:.85;
}

.hero-copy h1{
    color:#ffffff;
    font-size:68px;
    font-weight:300;
    line-height:1.3;
    margin-bottom:25px;
}

.hero-copy p{
    color:rgba(255,255,255,.88);
    font-size:24px;
    line-height:2;
}



.side-quote{
    grid-column:span 4;
    min-height:520px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:40px;
}

.side-quote h2{
    color:var(--burgundy);
    font-size:42px;
    font-weight:300;
    line-height:1.6;
    margin-bottom:18px;
}

.side-quote p{
    color:#7b5555;
    font-size:20px;
    line-height:2;
}

.whatsapp-order{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:14px 28px;
    border-radius:50px;
    background:#25d366;
    color:white !important;
    text-decoration:none;
    font-size:17px;
    font-weight:600;
    box-shadow:0 14px 35px rgba(37, 211, 102, .28);
    transition:.35s;
}

.whatsapp-order:hover{
    background:#1ebe5d;
    transform:translateY(-4px);
    box-shadow:0 18px 45px rgba(37, 211, 102, .38);
}

.footer-col.contact .footer-phone{
    display:inline-block;
    margin-top:20px;
    padding:15px 35px;
    background:var(--gold);
    color:var(--burgundy);
    border-radius:50px;
    text-decoration:none;
    font-size:18px;
    font-weight:600;
    transition:.35s ease;
    box-shadow:0 12px 30px rgba(215,191,157,.25);
}

.footer-col.contact .footer-phone:hover{
    background:#f0ddc1;
    transform:translateY(-4px);
    box-shadow:0 18px 40px rgba(215,191,157,.35);
}
.hero{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:80px;
    padding:0 8%;
}

.hero-copy{
    flex:1;
    text-align:right;
}

.hero-content{
    flex:1;
}


/* ============================================================
   RESPONSIVE — must stay last so these win the cascade.
   ============================================================ */

@media (max-width:1200px){

    .hero{
        padding:70px 6%;
        gap:50px;
    }

    .hero-copy h1{
        font-size:54px;
    }

    .hero-copy p{
        font-size:21px;
    }

    .hero-logo{
        width:330px;
    }

}

/* MOBILE */

@media (max-width:900px){

    .hero{
        flex-direction:column-reverse;
        text-align:center;
        padding:80px 25px;
        gap:0;
    }

    .hero-copy{
        flex:none;
        text-align:center;
        margin-bottom:0;
    }

    .hero-copy h1{
        font-size:42px;
    }

    .hero-copy p{
        font-size:18px;
    }

    .hero-btn{
        width:100%;
        max-width:300px;
    }

    .hero-content{
        flex:none;
    }

    .hero-logo{
        width:240px;
        margin-bottom:40px;
    }

    .hero-desc{
        font-size:20px;
        padding:0 20px;
    }

    .collection-text h1{
        font-size:50px;
    }

    .luxury-gallery{
        grid-template-columns:1fr;
        gap:30px;
        padding:60px 6% 80px;
    }

    /* Every grid child must collapse to one column. A leftover
       "span 4" here creates implicit columns and pushes the page
       wider than the screen. */
    .luxury-gallery > *{
        grid-column:span 1;
    }

    /* The .video-piece rules are two-class selectors, so they outrank the
       catch-all above and need their span reset explicitly. */
    .video-piece.large,
    .video-piece.tall-video,
    .video-piece.medium-video{
        grid-column:span 1;
    }

    .tall,
    .small,
    .wide,
    .medium,
    .slim,
    .square,
    .video-piece.large,
    .video-piece.tall-video,
    .video-piece.medium-video,
    .full-width-image{
        height:520px;
        margin-top:0;
    }

    .quote-block,
    .quote-wide{
        min-height:220px;
    }

    .quote-block h2{
        font-size:30px;
    }

    .side-quote{
        min-height:auto;
        padding:20px 10px;
    }

    .side-quote h2{
        font-size:32px;
    }

    .side-quote p{
        font-size:17px;
    }

    .dar-footer{
        grid-template-columns:1fr;
        padding:90px 25px;
        gap:40px;
    }

    .footer-col{
        min-height:auto;
    }

    .footer-col.contact,
    .footer-col.social{
        border:0;
    }

    .footer-brand img{
        width:300px;
    }

    .footer-line span{
        width:90px;
    }

    .footer-phone{
        font-size:18px;
    }

}