/* ═══════════════════════════════════════
   BROTHERS' GARMENTS — Main Stylesheet
   Palette: Forest Green · Warm Cream · Gold
═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800;900&family=Inter:wght@300;400;500;600&family=Cormorant+Garamond:ital,wght@1,400;1,600&display=swap');

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

:root {
    --green-deep:  #1a2e1a;
    --green-mid:   #2d4a2d;
    --green-light: #3d6b3d;
    --gold:        #c9a84c;
    --gold-light:  #e8c97a;
    --cream:       #f5f0e8;
    --cream-dark:  #ede5d6;
    --white:       #fdfaf5;
    --text-dark:   #1a1a1a;
    --text-mid:    #4a4a4a;
    --text-light:  #7a7a7a;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.6;
}

/* ── NAVBAR ── */
.navbar {
    background: var(--green-deep);
    position: sticky;
    top: 0;
    z-index: 200;
    border-bottom: 2px solid var(--gold);
    transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.35); }

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.logo-main {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: 0.04em;
}
.logo-sub {
    font-size: 0.62rem;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-link {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    letter-spacing: 0.04em;
    transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .nav-link.active {
    color: var(--gold);
    background: rgba(201,168,76,0.1);
}
.nav-cta {
    background: var(--gold);
    color: var(--green-deep) !important;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    margin-left: 8px;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.hamburger span {
    display: block; width: 26px; height: 2px;
    background: var(--gold); border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
    background: var(--green-deep);
    min-height: 92vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 60%, rgba(201,168,76,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 60px 80px 80px;
    position: relative;
    z-index: 2;
}
.hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.hero-eyebrow::before {
    content: '';
    display: block;
    width: 36px;
    height: 1px;
    background: var(--gold);
}
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.08;
    margin-bottom: 10px;
}
.hero h1 em {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--gold);
    font-size: 1.15em;
}
.hero-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    max-width: 400px;
    margin: 18px 0 38px;
    line-height: 1.75;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-gold {
    background: var(--gold);
    color: var(--green-deep);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: background 0.2s, transform 0.15s;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline {
    border: 1.5px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.hero-img {
    position: relative;
    overflow: hidden;
}
.hero-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.75) saturate(0.9);
    display: block;
}
.hero-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--green-deep) 0%, transparent 30%);
}

/* ── MAIN WRAPPER ── */
main { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
section { margin-bottom: 80px; scroll-margin-top: 90px; }

/* ── SECTION HEADER ── */
.sec-header { text-align: center; margin-bottom: 50px; }
.sec-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green-mid);
    border: 1px solid var(--green-mid);
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 14px;
}
.sec-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--green-deep);
    line-height: 1.15;
}
.sec-header p { color: var(--text-light); font-size: 1rem; margin-top: 10px; }

/* ── ABOUT SECTION ── */
.about-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--green-deep);
    border-radius: 24px;
    overflow: hidden;
    padding: 60px;
    position: relative;
}
.about-wrap::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(201,168,76,0.07);
    pointer-events: none;
}
.about-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.about-tag::before { content:''; display:block; width:30px; height:1px; background:var(--gold); }
.about-wrap h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}
.about-wrap p {
    color: rgba(255,255,255,0.65);
    font-size: 0.97rem;
    line-height: 1.85;
    margin-bottom: 16px;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 30px;
}
.about-stat {
    border-top: 2px solid var(--gold);
    padding-top: 14px;
}
.about-stat strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}
.about-stat span {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 4px;
    display: block;
}
.about-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    height: 380px;
}
.about-img-grid img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 10px;
    filter: brightness(0.8) saturate(0.85);
}
.about-img-grid img:first-child {
    grid-row: span 2;
    border-radius: 12px;
}

/* ── COLLECTIONS GRID ── */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.coll-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(26,46,26,0.07);
    border: 1px solid var(--cream-dark);
    transition: transform 0.28s, box-shadow 0.28s;
    display: flex;
    flex-direction: column;
}
.coll-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(26,46,26,0.13);
}
.coll-img-wrap { position: relative; overflow: hidden; }
.coll-img-wrap img {
    width: 100%; height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}
.coll-card:hover .coll-img-wrap img { transform: scale(1.06); }
.coll-badge {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--gold);
    color: var(--green-deep);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 50px;
}
.coll-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.coll-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--green-deep);
    margin-bottom: 8px;
}
.coll-body p {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 20px;
}
.coll-btn {
    display: inline-block;
    background: var(--green-deep);
    color: var(--gold);
    text-decoration: none;
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 11px 22px;
    border-radius: 50px;
    align-self: flex-start;
    transition: background 0.2s, color 0.2s;
}
.coll-btn:hover { background: var(--green-light); }

/* ── REVIEWS ── */
.reviews-bg {
    background: var(--green-deep);
    border-radius: 24px;
    padding: 60px 50px;
}
.reviews-bg .sec-tag { color: var(--gold); border-color: var(--gold); }
.reviews-bg .sec-header h2 { color: var(--white); }
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.rev-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 16px;
    padding: 26px;
    transition: border-color 0.25s, transform 0.25s;
}
.rev-card:hover { border-color: rgba(201,168,76,0.5); transform: translateY(-4px); }
.rev-stars { color: var(--gold); font-size: 0.95rem; letter-spacing: 3px; margin-bottom: 12px; }
.rev-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    font-style: italic;
    line-height: 1.75;
    margin-bottom: 18px;
}
.rev-footer { display: flex; align-items: center; gap: 12px; }
.rev-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--green-light));
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.85rem; color: var(--green-deep);
    flex-shrink: 0;
}
.rev-name { font-size: 0.88rem; font-weight: 700; color: var(--white); }
.rev-loc { font-size: 0.75rem; color: rgba(255,255,255,0.38); }

/* ── CONTACT ── */
.contact-wrap {
    background: var(--white);
    border-radius: 20px;
    padding: 50px;
    border: 1px solid var(--cream-dark);
    box-shadow: 0 4px 20px rgba(26,46,26,0.06);
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 28px;
    margin-bottom: 36px;
}
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.c-icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: var(--cream);
    border: 1px solid var(--cream-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
}
.c-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-mid);
    margin-bottom: 3px;
}
.c-val { font-size: 0.95rem; color: var(--text-dark); }
.c-val a { color: var(--green-mid); text-decoration: none; }
.c-val a:hover { color: var(--gold); }
.contact-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.wa-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: #25D366; color: #fff;
    padding: 13px 28px; border-radius: 50px;
    text-decoration: none; font-weight: 700; font-size: 0.92rem;
    box-shadow: 0 4px 14px rgba(37,211,102,0.3);
    transition: background 0.2s, transform 0.15s;
}
.wa-btn:hover { background: #1ebe5a; transform: translateY(-2px); }
.ig-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045);
    color: #fff; padding: 13px 28px; border-radius: 50px;
    text-decoration: none; font-weight: 700; font-size: 0.92rem;
    box-shadow: 0 4px 14px rgba(253,29,29,0.25);
    transition: opacity 0.2s, transform 0.15s;
}
.ig-btn:hover { opacity: 0.9; transform: translateY(-2px); }

/* ── FOOTER ── */
footer {
    background: var(--green-deep);
    border-top: 2px solid var(--gold);
    text-align: center;
    padding: 30px 20px;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}
footer span { color: var(--gold); }

/* ── FLOATING WA ── */
.wa-float {
    position: fixed; bottom: 28px; right: 24px;
    width: 56px; height: 56px;
    background: #25D366; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; text-decoration: none; z-index: 300;
    box-shadow: 0 4px 20px rgba(37,211,102,0.5);
    animation: wapulse 2.5s infinite;
    transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.12); animation: none; }
@keyframes wapulse {
    0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
    50%      { box-shadow: 0 4px 34px rgba(37,211,102,0.85), 0 0 0 10px rgba(37,211,102,0.08); }
}

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ── MOBILE BOTTOM NAV ── */
.bottom-nav {
    display: none;
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--green-deep);
    border-top: 1px solid rgba(201,168,76,0.3);
    z-index: 400;
    padding: 8px 0 env(safe-area-inset-bottom,8px);
}
.bottom-nav-inner { display: flex; justify-content: space-around; }
.bn-item {
    display: flex; flex-direction: column; align-items: center;
    gap: 3px; text-decoration: none;
    color: rgba(255,255,255,0.4);
    font-size: 0.58rem; font-weight: 600;
    letter-spacing: 0.05em; text-transform: uppercase;
    padding: 4px 8px; min-width: 52px;
    transition: color 0.2s;
}
.bn-icon { font-size: 1.25rem; line-height: 1; }
.bn-item.active, .bn-item:hover { color: var(--gold); }
.bn-item.wa-mob { color: #25D366; }

/* ── PAGE LOADER ── */
#page-loader {
    position: fixed; inset: 0;
    background: var(--green-deep);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    z-index: 9999;
    transition: opacity 0.55s ease, visibility 0.55s ease;
}
#page-loader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem; font-weight: 900;
    color: var(--white); margin-bottom: 30px;
    letter-spacing: 0.04em;
}
.loader-logo span { color: var(--gold); }
.loader-track { width: 180px; height: 2px; background: rgba(255,255,255,0.1); border-radius: 99px; overflow: hidden; }
.loader-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); animation: loadfill 1s ease forwards; }
@keyframes loadfill { from{width:0} to{width:100%} }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-img { height: 320px; }
    .hero-img::after { background: linear-gradient(to bottom, var(--green-deep) 0%, transparent 40%); }
    .hero-text { padding: 60px 28px 50px; order: 2; }
    .hero-img { order: 1; }
    .collections-grid { grid-template-columns: repeat(2,1fr); }
    .about-wrap { grid-template-columns: 1fr; padding: 40px 28px; gap: 36px; }
    .about-img-grid { height: 240px; }
}

@media (max-width: 700px) {
    .hamburger { display: flex; }
    .nav-links {
        display: none; flex-direction: column; align-items: flex-start;
        position: absolute; top: 72px; left: 0; right: 0;
        background: var(--green-deep); padding: 14px 24px 20px;
        border-bottom: 2px solid var(--gold);
        gap: 4px;
    }
    .nav-links.open { display: flex; }
    .nav-link, .nav-cta { width: 100%; padding: 12px 16px; border-radius: 8px; margin-left: 0; }
    .collections-grid { grid-template-columns: 1fr; }
    .reviews-bg { padding: 36px 20px; }
    .contact-wrap { padding: 28px 20px; }
    .bottom-nav { display: block; }
    body { padding-bottom: 72px; }
    .wa-float { display: none; }
}

/* ── IMAGE MODAL ── */
.img-modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.8);
    display: flex; align-items: center; justify-content: center;
    z-index: 1200; padding: 20px; visibility: hidden; opacity: 0;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.img-modal-overlay.open { visibility: visible; opacity: 1; }
.img-modal {
    position: relative; max-width: 1200px; width: 100%; max-height: 95vh;
    display: flex; align-items: center; justify-content: center;
}
.img-modal-content {
    position: relative; background: transparent; border-radius: 8px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.img-modal-content img {
    max-width: 100%; max-height: 85vh; display: block;
    transform: rotate(0deg); transition: transform 0.12s ease;
}

.img-rotate-wrap {
    will-change: transform;
    transition: transform 0.2s ease;
}

.img-modal { perspective: none; }
.img-modal-close {
    position: absolute; top: 12px; right: 12px; width: 40px; height: 40px;
    background: rgba(0,0,0,0.6); color: #fff; border-radius: 50%; display:flex; align-items:center; justify-content:center;
    font-size: 18px; cursor: pointer; z-index: 5; border: 1px solid rgba(255,255,255,0.08);
}
.img-modal-controls {
    position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 12px; z-index: 5;
}
.img-modal-controls button {
    background: rgba(255,255,255,0.06); color: #fff; border: 1px solid rgba(255,255,255,0.08);
    padding: 10px 14px; border-radius: 8px; cursor: pointer; font-weight:700;
}
.img-modal-caption {
    position: absolute; top: 18px; left: 18px; color: #fff; font-weight:600; font-size: 0.95rem; z-index:5;
}
.img-modal-help { font-size: 0.8rem; opacity: 0.9; }

/* Modal actions: price, size selector, order button */
.img-modal-actions {
    position: absolute; bottom: 72px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 12px; align-items: center; z-index: 5; flex-wrap: wrap;
}
.img-modal-price { color: #fff; background: rgba(0,0,0,0.28); padding: 8px 12px; border-radius: 8px; font-weight:700; }
.img-size-group { display: flex; gap: 8px; }
.img-size-btn {
    background: rgba(255,255,255,0.06); color: #fff; border: 1px solid rgba(255,255,255,0.08);
    padding: 8px 10px; border-radius: 6px; cursor: pointer; font-weight:700; font-size:0.9rem;
}
.img-size-btn.active { background: var(--gold); color: var(--green-deep); border-color: rgba(0,0,0,0.06); }
.img-order-btn {
    background: #25D366; color: #fff; border: none; padding: 10px 14px; border-radius: 8px; cursor: pointer; font-weight:800;
    box-shadow: 0 6px 18px rgba(37,211,102,0.18);
}


