/* ============================================
   GD FASHION — Elegant black + gold on cream
   ============================================ */

:root {
    --cream: #fbf3ee;
    --cream-2: #f4e6dc;
    --ink: #141b2d;
    --ink-soft: #2a3247;
    --muted: #6c6a75;
    --gold: #b8912e;
    --gold-soft: #d4ae4a;
    --blush: #c9927e;
    --blush-soft: #e0b6a5;
    --line: #eadccf;
    --white: #ffffff;
    --shadow: 0 10px 40px rgba(20, 27, 45, 0.08);
    --shadow-lg: 0 20px 60px rgba(20, 27, 45, 0.14);
    --radius: 6px;
    --container: 1200px;
    --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-ar: 'Noto Naskh Arabic', 'Amiri', 'Traditional Arabic', serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--cream);
    color: var(--ink);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
}

button, a { -webkit-tap-highlight-color: transparent; }
a { min-height: 24px; }

body[dir="rtl"] { font-family: var(--font-ar); }

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

a { color: var(--ink); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--gold); }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; color: var(--ink); line-height: 1.2; }
body[dir="rtl"] h1, body[dir="rtl"] h2, body[dir="rtl"] h3, body[dir="rtl"] h4 { font-family: var(--font-ar); font-weight: 600; }

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.3px; }
h3 { font-size: 1.4rem; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
    font-weight: 600;
}

.section-title { text-align: center; margin-bottom: 12px; }
.section-lead { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 50px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(248, 244, 236, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo img { width: 48px; height: 48px; object-fit: contain; }
.logo-text {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    letter-spacing: 2px;
    font-weight: 600;
}
.logo-text small {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--muted);
    font-weight: 400;
    text-transform: uppercase;
    margin-top: -2px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 34px;
    align-items: center;
}
.nav-list a {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    font-weight: 500;
    position: relative;
    padding: 6px 0;
}
.nav-list a.active { color: var(--gold); }
.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width 0.25s ease;
}
.nav-list a:hover::after, .nav-list a.active::after { width: 100%; }

.lang-toggle {
    background: transparent;
    border: 1px solid var(--ink);
    color: var(--ink);
    padding: 8px 14px;
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: var(--radius);
    font-weight: 600;
    transition: all 0.2s ease;
    font-family: var(--font-sans);
}
.lang-toggle:hover { background: var(--ink); color: var(--cream); }

.menu-btn {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    width: 34px;
    height: 34px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}
.menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--ink);
    transition: 0.25s;
}
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    padding: 40px 0 70px;
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(184, 137, 43, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
}
.hero-copy p.lead { font-size: 1.15rem; color: var(--muted); margin: 22px 0 32px; max-width: 520px; }
.hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 500;
}
.hero-meta span[aria-hidden="true"] {
    color: var(--gold);
    opacity: 0.5;
}

.hero-image {
    position: relative;
    aspect-ratio: 5 / 6;
    max-height: 620px;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(184, 137, 43, 0.3);
    margin: 14px;
    border-radius: 4px;
    pointer-events: none;
}

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-alt { background: var(--white); }

/* ---------- About preview ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-grid img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-grid p { color: var(--ink-soft); margin-bottom: 16px; }

/* ---------- Products ---------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.product-card {
    background: var(--cream);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--line);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.product-icon {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cream-2), var(--white));
    font-size: 3.5rem;
    color: var(--blush);
    border-bottom: 1px solid var(--line);
}

.product-media {
    height: 260px;
    overflow: hidden;
    background: var(--cream-2);
    border-bottom: 1px solid var(--line);
    position: relative;
}
.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.product-card:hover .product-media img { transform: scale(1.05); }
.product-body { padding: 28px 24px; }
.product-body h3 { margin-bottom: 10px; }
.product-body p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Info list (contact/about details) ---------- */
.info-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.info-item {
    background: var(--white);
    padding: 26px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold);
}
body[dir="rtl"] .info-item { border-left: 1px solid var(--line); border-right: 3px solid var(--gold); }
.info-item .label {
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 8px;
}
.info-item .value { font-size: 1.05rem; color: var(--ink); font-weight: 500; word-break: break-word; }

/* ---------- Contact / Map ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.contact-details { display: flex; flex-direction: column; gap: 22px; }
.contact-row {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.contact-row .icon {
    width: 44px; height: 44px;
    flex-shrink: 0;
    background: var(--cream-2);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
}
.contact-row .label {
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 4px;
}
.contact-row .value { color: var(--ink); font-size: 1rem; font-weight: 500; word-break: break-word; }

.map-wrap {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Hours ---------- */
.hours-card {
    background: var(--ink);
    color: var(--cream);
    padding: 40px;
    border-radius: var(--radius);
    max-width: 620px;
    margin: 50px auto 0;
    text-align: center;
}
.hours-card h3 { color: var(--gold-soft); margin-bottom: 20px; }
.hours-card ul { list-style: none; }
.hours-card li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}
.hours-card li:last-child { border-bottom: 0; }
.hours-card li span:last-child { color: var(--gold-soft); }

/* ---------- Legal pages ---------- */
.legal-page {
    padding: 80px 0;
    max-width: 860px;
    margin: 0 auto;
}
.legal-page h1 { margin-bottom: 12px; }
.legal-page .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 40px; }
.legal-page h2 { font-size: 1.5rem; margin: 36px 0 14px; color: var(--ink); }
.legal-page h3 { font-size: 1.15rem; margin: 24px 0 10px; }
.legal-page p, .legal-page li { color: var(--ink-soft); margin-bottom: 12px; }
.legal-page ul { padding-left: 22px; margin-bottom: 16px; }
body[dir="rtl"] .legal-page ul { padding-left: 0; padding-right: 22px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    padding: 80px 0 60px;
    background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%);
    text-align: center;
    border-bottom: 1px solid var(--line);
}
.page-hero p { color: var(--muted); max-width: 620px; margin: 16px auto 0; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink);
    color: #c7c1b1;
    padding: 70px 0 26px;
    margin-top: 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}
.site-footer h4 {
    color: var(--gold-soft);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 600;
}
.footer-brand .logo-text { color: var(--cream); }
.footer-brand .logo-text small { color: #8a8272; }
.footer-brand p { margin-top: 18px; font-size: 0.92rem; line-height: 1.7; color: #a8a191; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; font-size: 0.92rem; }
.site-footer ul a { color: #c7c1b1; }
.site-footer ul a:hover { color: var(--gold-soft); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
    width: 38px; height: 38px;
    border: 1px solid #3a3a3a;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #c7c1b1;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0;
    transition: all 0.2s;
}
.footer-social a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.footer-bottom {
    border-top: 1px solid #2a2a2a;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.82rem;
    color: #8a8272;
}

/* ---------- RTL adjustments ---------- */
body[dir="rtl"] .nav-list { flex-direction: row-reverse; }
body[dir="rtl"] .hero-inner { direction: rtl; }
body[dir="rtl"] .footer-bottom { flex-direction: row-reverse; }

/* ---------- Founder tagline ---------- */
.founder-tagline {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--gold);
    line-height: 1.4;
    margin: 6px 0 26px;
    padding-left: 18px;
    border-left: 2px solid var(--gold);
}
body[dir="rtl"] .founder-tagline {
    padding-left: 0;
    padding-right: 18px;
    border-left: 0;
    border-right: 2px solid var(--gold);
}

/* ---------- Featured / Gallery ---------- */
.featured {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 50px;
}

.gallery-tile {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--white);
}

.gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-tile:hover img { transform: scale(1.04); }

.gallery-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(20, 27, 45, 0.55) 100%);
    pointer-events: none;
}

.gallery-tile .caption {
    position: absolute;
    bottom: 24px; left: 24px; right: 24px;
    z-index: 2;
    color: #fff;
}

.gallery-tile .caption h3 {
    color: #fff;
    font-size: 1.35rem;
    margin-bottom: 4px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.gallery-tile .caption p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.gallery-tile { aspect-ratio: 4 / 5; }
.gallery-tile.wide { aspect-ratio: 4 / 5; }
.gallery-tile.tall { aspect-ratio: 4 / 5; }
.gallery-tile.square { aspect-ratio: 1 / 1; }

.gallery-right { display: contents; }

/* ---------- Signature grid (products page) ---------- */
.signature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.signature-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    box-shadow: var(--shadow);
    background: var(--white);
}
.signature-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.signature-card:hover img { transform: scale(1.05); }
.signature-card::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(20, 27, 45, 0.6) 100%);
}
.signature-card .caption {
    position: absolute;
    bottom: 20px; left: 22px; right: 22px;
    color: #fff;
    z-index: 2;
}
.signature-card .caption h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.signature-card .caption p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .menu-btn { display: flex; }
    .header-inner { padding: 12px 0; }
    .nav-list {
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--cream);
        border-bottom: 1px solid var(--line);
        padding: 20px 24px 24px;
        gap: 8px;
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: 0.25s;
        box-shadow: 0 20px 30px rgba(20, 27, 45, 0.08);
    }
    .nav-list.open { transform: translateY(0); opacity: 1; pointer-events: all; }
    .nav-list li { border-bottom: 1px solid var(--line); }
    .nav-list li:last-child { border-bottom: 0; padding-top: 10px; }
    .nav-list a {
        display: block;
        padding: 14px 4px;
        font-size: 1rem;
    }
    .nav-list a::after { display: none; }
    .lang-toggle { width: 100%; padding: 14px; font-size: 0.85rem; }

    .hero { padding: 50px 0 60px; }
    .hero-inner { grid-template-columns: 1fr; gap: 32px; }
    .hero-image { aspect-ratio: 3 / 4; max-height: 520px; }
    .hero-copy p.lead { font-size: 1.05rem; margin: 18px 0 24px; }

    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .product-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .info-list { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 40px; }
    section { padding: 55px 0; }

    .gallery-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
    .gallery-tile.tall { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 5; }
    .gallery-tile.wide { aspect-ratio: 4 / 3; }
    .gallery-tile .caption h3 { font-size: 1.15rem; }
    .signature-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .featured { padding: 55px 0; }

    .map-wrap { aspect-ratio: 4 / 3; }
    .hours-card { padding: 30px 24px; margin-top: 30px; }

    .legal-page { padding: 50px 0; }
    .legal-page h2 { font-size: 1.3rem; margin: 28px 0 10px; }

    .page-hero { padding: 55px 0 44px; }
    .section-lead { margin-bottom: 36px; }

    .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; font-size: 0.8rem; }
    body[dir="rtl"] .footer-bottom { align-items: flex-end; text-align: right; }
}

@media (max-width: 560px) {
    .product-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .container { padding: 0 18px; }
    .hero-meta { gap: 10px; font-size: 0.7rem; letter-spacing: 1.5px; margin-top: 32px; padding-top: 20px; }
    .logo-text { font-size: 1.05rem; letter-spacing: 1.5px; }
    .logo-text small { font-size: 0.6rem; }
    .logo img { width: 38px; height: 38px; }
    .logo { gap: 10px; }
    .signature-grid { grid-template-columns: 1fr; }
    .hero-image { max-height: 460px; aspect-ratio: 3 / 4; }
    .hero-copy .eyebrow { font-size: 0.72rem; letter-spacing: 2.5px; }
    .contact-row { padding: 18px; gap: 14px; }
    .contact-row .icon { width: 40px; height: 40px; font-size: 1.1rem; }
    .info-item { padding: 22px 20px; }
    .hours-card h3 { font-size: 1.2rem; }
    .hours-card li { font-size: 0.88rem; }
    .gallery-tile .caption { bottom: 18px; left: 18px; right: 18px; }
    .gallery-tile .caption h3 { font-size: 1.05rem; }
    .gallery-tile .caption p { font-size: 0.75rem; }
    .signature-card .caption h3 { font-size: 1.05rem; }
    .page-hero p { font-size: 0.95rem; }
    .section-lead { font-size: 0.98rem; padding: 0 6px; }
    .legal-page p, .legal-page li { font-size: 0.95rem; }
    .footer-social { justify-content: flex-start; }
    body[dir="rtl"] .footer-social { justify-content: flex-end; }
}

@media (max-width: 380px) {
    .logo-text small { display: none; }
    .hero-meta { font-size: 0.65rem; letter-spacing: 1.2px; }
    h1 { font-size: 2rem; }
    .container { padding: 0 16px; }
}

@media (max-width: 900px) {
    .product-media { height: 220px; }
}
@media (max-width: 560px) {
    .product-media { height: 260px; }
}

@media (hover: none) {
    .product-card:hover, .signature-card:hover img, .gallery-tile:hover img, .product-card:hover .product-media img { transform: none; }
}
