/* =========================================================
   Grand Golden Poultry Farm — Premium Home
   Photos first · text overlay · black + gold
   ========================================================= */

body.home-landing {
    --gg-black: #001a14;
    --gg-ink: #003B2E;
    --gg-gold: #FFD700;
    --gg-gold-soft: #ffe9a8;
    --gg-gold-deep: #b8860b;
    --gg-cream: #FFF7E6;
    --gg-display: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
    --gg-body: 'Manrope', 'Outfit', system-ui, sans-serif;
    --gg-btn: 'Plus Jakarta Sans', 'Manrope', system-ui, sans-serif;
    --gg-urdu: 'Noto Nastaliq Urdu', 'Noto Naskh Arabic', serif;
    --gg-nav-h: 74px;
    background:
        radial-gradient(900px 480px at 50% -8%, rgba(255, 215, 0, 0.14), transparent 55%),
        linear-gradient(180deg, #001a14 0%, #003B2E 42%, #00120e 100%);
    color: var(--gg-cream);
    font-family: var(--gg-body);
}

body.home-landing > .page-bg {
    display: block;
    background:
        radial-gradient(900px 480px at 50% -8%, rgba(255, 215, 0, 0.14), transparent 55%),
        radial-gradient(ellipse 70% 50% at 10% 90%, rgba(11, 107, 58, 0.22), transparent 60%),
        linear-gradient(180deg, #001a14 0%, #003B2E 42%, #00120e 100%);
}

/* ---------- Nav ---------- */
.gg-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 26, 20, 0.9);
    border-bottom: 1px solid rgba(255, 215, 0, 0.22);
    backdrop-filter: blur(18px) saturate(1.1);
    -webkit-backdrop-filter: blur(18px) saturate(1.1);
}

.gg-nav-bar {
    width: min(1120px, calc(100% - 28px));
    margin: 0 auto;
    min-height: var(--gg-nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: calc(8px + env(safe-area-inset-top, 0px)) 0 8px;
    position: relative;
}

.gg-nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
}

.gg-nav-logo-wrap {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(145deg, #ffe9a8, #f0b429, #b8860b);
    box-shadow: 0 0 20px rgba(240, 180, 41, 0.35);
    flex-shrink: 0;
}

.gg-nav-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    background: #000;
    display: block;
}

.gg-nav-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.gg-nav-brand-top {
    font-family: var(--gg-display);
    font-size: clamp(0.92rem, 2.2vw, 1.12rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    background: linear-gradient(115deg, #fff8e7, #f0b429 55%, #b8860b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.gg-nav-brand-sub {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(255, 233, 168, 0.62);
}

.gg-nav-brand-sub span {
    width: 16px;
    height: 1px;
    background: rgba(240, 180, 41, 0.45);
}

.gg-nav-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1.5px solid rgba(240, 180, 41, 0.45);
    background: rgba(240, 180, 41, 0.08);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.gg-nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #f0b429;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.gg-nav.is-open .gg-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.gg-nav.is-open .gg-nav-toggle span:nth-child(2) { opacity: 0; }
.gg-nav.is-open .gg-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.gg-nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    width: min(260px, calc(100vw - 28px));
    padding: 10px;
    border-radius: 16px;
    border: 1px solid rgba(240, 180, 41, 0.25);
    background: rgba(10, 9, 7, 0.98);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
    flex-direction: column;
    gap: 4px;
    z-index: 40;
}

.gg-nav.is-open .gg-nav-menu { display: flex; }

.gg-nav-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    color: rgba(255, 248, 231, 0.88);
    font-size: 0.92rem;
    font-weight: 650;
    text-decoration: none;
}

.gg-nav-link.is-active,
.gg-nav-link:hover {
    color: #1a1208;
    background: linear-gradient(135deg, #fff1c9, #f0b429);
}

@media (min-width: 900px) {
    .gg-nav-toggle { display: none; }
    .gg-nav-menu {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        width: auto;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        gap: 6px;
    }
    .gg-nav-link {
        min-height: 40px;
        padding: 0 14px;
        border-radius: 999px;
        font-size: 0.84rem;
    }
}

/* ---------- Hero (photo + text ON image) ---------- */
.gg-home {
    overflow: hidden;
}

.gg-hero {
    position: relative;
    min-height: calc(100dvh - var(--gg-nav-h));
    min-height: max(580px, calc(100dvh - var(--gg-nav-h)));
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    isolation: isolate;
    padding: 22px 20px 36px;
}

.gg-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.gg-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    transform: scale(1.04);
    animation: ggKen 22s ease-in-out infinite alternate;
}

@keyframes ggKen {
    from { transform: scale(1.04) translate3d(0, 0, 0); }
    to { transform: scale(1.1) translate3d(-1%, -1%, 0); }
}

.gg-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 6, 5, 0.78) 0%, rgba(7, 6, 5, 0.42) 28%, rgba(7, 6, 5, 0.28) 52%, rgba(7, 6, 5, 0.82) 100%);
}

.gg-hero-gold {
    position: absolute;
    inset: 12% 15% auto;
    height: 36%;
    background: radial-gradient(ellipse at center, rgba(240, 180, 41, 0.2), transparent 70%);
    filter: blur(24px);
    pointer-events: none;
    animation: ggGlow 5s ease-in-out infinite;
}

@keyframes ggGlow {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}

/* Tight upper panel: text + 3D buttons + trust */
.gg-hero-panel {
    position: relative;
    z-index: 2;
    width: min(760px, 100%);
    margin: 0 auto;
    text-align: center;
    animation: ggRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes ggRise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.gg-hero-kicker {
    margin: 0 0 8px;
    font-family: var(--gg-btn);
    font-size: clamp(0.62rem, 1.7vw, 0.74rem);
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #f0b429;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.gg-hero-title {
    margin: 0 0 8px;
    font-family: var(--gg-display);
    font-size: clamp(2rem, 6vw, 3.2rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0.02em;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.gg-hero-title span {
    display: block;
    background: linear-gradient(115deg, #fff8e7 0%, #ffe9a8 28%, #f0b429 58%, #d4a017 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
}

.gg-hero-urdu {
    margin: 0 0 6px;
    font-family: var(--gg-urdu);
    font-size: clamp(1.05rem, 3vw, 1.4rem);
    font-weight: 600;
    line-height: 1.9;
    color: #ffe9a8;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
}

.gg-hero-lead {
    margin: 0 auto 4px;
    max-width: 40ch;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    line-height: 1.4;
    color: rgba(255, 248, 231, 0.9);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.gg-hero-urdu-soft {
    margin: 0 auto 16px;
    max-width: 28ch;
    font-family: var(--gg-urdu);
    font-size: clamp(0.9rem, 2.2vw, 1.08rem);
    font-weight: 500;
    line-height: 1.95;
    color: rgba(255, 233, 168, 0.88);
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.5);
}

/* 3D buttons with logo */
.gg-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    width: 100%;
    margin-bottom: 18px;
}

.gg-btn3d {
    --depth: 6px;
    position: relative;
    display: inline-flex;
    text-decoration: none;
    border: 0;
    border-radius: 18px;
    padding: 0;
    background: transparent;
    transform: translateY(0);
    transition: transform 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}

.gg-btn3d::before {
    content: '';
    position: absolute;
    inset: var(--depth) 0 calc(var(--depth) * -1);
    border-radius: inherit;
    z-index: 0;
}

.gg-btn3d-face {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    min-width: 200px;
    padding: 10px 20px 10px 12px;
    border-radius: inherit;
    border: 1px solid transparent;
    font-family: var(--gg-btn);
    transition: transform 0.18s ease, filter 0.18s ease;
}

.gg-btn3d-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: contain;
    background: #000;
    padding: 2px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.28);
}

.gg-btn3d-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    line-height: 1.15;
    text-align: left;
}

.gg-btn3d-text strong {
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.gg-btn3d-text small {
    font-family: var(--gg-urdu);
    font-size: 0.78rem;
    font-weight: 500;
    opacity: 0.85;
    line-height: 1.6;
}

.gg-btn3d-gold::before {
    background: linear-gradient(180deg, #8a6508, #5c4204);
    box-shadow: 0 10px 24px rgba(184, 134, 11, 0.45);
}

.gg-btn3d-gold .gg-btn3d-face {
    color: #1a1208;
    background: linear-gradient(180deg, #fff6d2 0%, #f0b429 42%, #d4a017 100%);
    border-color: rgba(255, 248, 231, 0.55);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        inset 0 -2px 0 rgba(139, 90, 0, 0.25);
}

.gg-btn3d-dark::before {
    background: linear-gradient(180deg, #1a1408, #050403);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.gg-btn3d-dark .gg-btn3d-face {
    color: #fff8e7;
    background: linear-gradient(180deg, #2a2214 0%, #12100a 55%, #0a0907 100%);
    border-color: rgba(240, 180, 41, 0.45);
    box-shadow:
        inset 0 1px 0 rgba(255, 233, 168, 0.18),
        inset 0 -2px 0 rgba(0, 0, 0, 0.35);
}

.gg-btn3d:hover {
    transform: translateY(-2px);
}

.gg-btn3d:hover .gg-btn3d-face {
    filter: brightness(1.05);
}

.gg-btn3d:active {
    transform: translateY(3px);
}

.gg-btn3d:active .gg-btn3d-face {
    transform: translateY(var(--depth));
}

/* Trust bar — 2x2 premium dark cards + realistic icons */
.gg-trust {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 4px 0 0;
    width: 100%;
    padding: 4px 0 8px;
}

.gg-trust-glow {
    position: absolute;
    left: -8%;
    right: -8%;
    bottom: -30%;
    height: 70%;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 15% 80%, rgba(240, 180, 41, 0.22), transparent 45%),
        radial-gradient(ellipse at 85% 85%, rgba(255, 233, 168, 0.16), transparent 42%);
    filter: blur(2px);
    z-index: 0;
}

.gg-trust-card {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    min-height: 158px;
    padding: 20px 14px 18px;
    border-radius: 18px;
    background: linear-gradient(165deg, #141210 0%, #0a0908 55%, #070605 100%);
    border: 1px solid rgba(240, 180, 41, 0.28);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 233, 168, 0.06);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.gg-trust-card:hover {
    transform: translateY(-3px);
    border-color: rgba(240, 180, 41, 0.5);
    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.4),
        0 0 22px rgba(240, 180, 41, 0.1),
        inset 0 1px 0 rgba(255, 233, 168, 0.1);
}

.gg-trust-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 4px;
    background: radial-gradient(circle, rgba(240, 180, 41, 0.35) 0%, rgba(240, 180, 41, 0.08) 55%, transparent 72%);
    box-shadow: 0 0 28px rgba(240, 180, 41, 0.28);
}

.gg-trust-icon img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    background: #000;
    box-shadow:
        0 0 0 2px rgba(240, 180, 41, 0.55),
        0 8px 18px rgba(0, 0, 0, 0.4);
}

.gg-trust-card h3 {
    margin: 0;
    font-family: var(--gg-btn);
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.01em;
}

.gg-trust-card p {
    margin: 0;
    max-width: 22ch;
    font-family: var(--gg-btn);
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 640px) {
    .gg-hero {
        padding: 16px 14px 28px;
    }

    .gg-hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .gg-btn3d,
    .gg-btn3d-face {
        width: 100%;
    }

    .gg-btn3d-face {
        justify-content: flex-start;
        min-width: 0;
    }

    .gg-trust {
        gap: 10px;
    }

    .gg-trust-card {
        min-height: 148px;
        padding: 16px 12px 14px;
    }

    .gg-trust-icon {
        width: 64px;
        height: 64px;
    }

    .gg-trust-icon img {
        width: 52px;
        height: 52px;
    }
}

/* ---------- Photo tiles with text ON image ---------- */
.gg-tiles {
    width: min(1120px, calc(100% - 28px));
    margin: -36px auto 0;
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding-bottom: 18px;
}

.gg-tile {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 240px;
    isolation: isolate;
    border: 1px solid rgba(240, 180, 41, 0.22);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.gg-tile:hover {
    transform: translateY(-4px);
    border-color: rgba(240, 180, 41, 0.45);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42), 0 0 28px rgba(240, 180, 41, 0.12);
}

.gg-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.gg-tile:hover img {
    transform: scale(1.06);
}

.gg-tile-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 6, 5, 0.05) 20%, rgba(7, 6, 5, 0.78) 100%);
    z-index: 1;
}

.gg-tile-copy {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 18px;
}

.gg-tile-copy h2 {
    margin: 0 0 6px;
    font-family: var(--gg-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffe9a8;
    letter-spacing: 0.02em;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.55);
}

.gg-tile-copy p {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.45;
    color: rgba(255, 248, 231, 0.82);
    max-width: 28ch;
}

/* ---------- Nature strip ---------- */
.gg-strip {
    position: relative;
    width: min(1120px, calc(100% - 28px));
    margin: 8px auto 36px;
    border-radius: 20px;
    overflow: hidden;
    min-height: 140px;
    border: 1px solid rgba(240, 180, 41, 0.18);
}

.gg-strip img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gg-strip-copy {
    position: relative;
    z-index: 1;
    min-height: 140px;
    display: grid;
    place-items: center;
    padding: 24px;
    background: linear-gradient(90deg, rgba(7, 6, 5, 0.72), rgba(7, 6, 5, 0.35) 50%, rgba(7, 6, 5, 0.72));
}

.gg-strip-copy p {
    margin: 0;
    font-family: var(--gg-display);
    font-size: clamp(0.95rem, 2.5vw, 1.25rem);
    letter-spacing: 0.08em;
    text-align: center;
    color: #ffe9a8;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

/* ---------- Footer ---------- */
.gg-footer {
    border-top: 1px solid rgba(255, 215, 0, 0.22);
    background: linear-gradient(180deg, #003B2E 0%, #001a14 100%);
    padding: 28px 20px calc(22px + env(safe-area-inset-bottom, 0px));
}

.gg-footer-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.gg-footer-crown {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(145deg, #ffe9a8, #f0b429, #b8860b);
    display: grid;
    place-items: center;
    box-shadow: 0 0 22px rgba(240, 180, 41, 0.28);
}

.gg-footer-crown img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    background: #000;
}

.gg-footer-crown svg { display: none; }

.gg-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
}

.gg-footer-links a {
    color: rgba(255, 248, 231, 0.7);
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
}

.gg-footer-links a.is-active,
.gg-footer-links a:hover {
    color: #f0b429;
}

.gg-footer-note,
.gg-footer-copy {
    margin: 0;
    font-size: 0.78rem;
    color: rgba(255, 248, 231, 0.5);
}

.gg-heart { color: #f87171; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
    .gg-nav-brand-sub {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gg-hero-bg img,
    .gg-hero-gold,
    .gg-hero-mark,
    .gg-hero-logo-ring,
    .gg-tile img {
        animation: none !important;
        transition: none !important;
    }
}
