/* ===== GLOBAL STYLES — Golden Yolk Farms ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --orange:     #F97316;
    --orange-dark:#C2590F;
    --gold:       #FBBF24;
    --gold-light: #FEF3C7;
    --dark:       #1C1004;
    --grey:       #6B7280;
    --white:      #FFFFFF;
    --bg:         #FFF8EE;
    --shadow:     0 6px 28px rgba(249,115,22,0.18);
    --shadow-soft:0 2px 16px rgba(28,16,4,0.08);
    --radius:     14px;
    --font:       'Inter', 'Segoe UI', system-ui, sans-serif;
    --font-display:'Playfair Display', Georgia, serif;
}

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

html { scroll-behavior: smooth; }

html { background: var(--dark); }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); }

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); }

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

h1, h2, h3 { font-weight: 900; line-height: 1.15; letter-spacing: -0.02em; }

/* ===== NAV ===== */
.nav {
    background: var(--dark);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--gold);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav__logo-icon { font-size: 1.8rem; }

.nav__logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--white);
    padding: 2px;
}

/* ===== POPUP ===== */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 200;
}
.popup-overlay.show { display: block; }

.popup-box {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    width: 90%;
    max-width: 440px;
    z-index: 201;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transition: transform 0.25s ease, opacity 0.25s ease;
    opacity: 0;
}
.popup-box.show {
    display: block;
    transform: translate(-50%, -50%);
    opacity: 1;
}

.popup-icon { font-size: 3rem; margin-bottom: 0.75rem; }

.popup-box h2 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.popup-box p { color: var(--grey); line-height: 1.6; font-size: 0.95rem; }
.popup-box p strong { color: var(--orange); }

.popup-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.75rem;
    flex-wrap: wrap;
}
.popup-actions .btn { flex: 1; min-width: 130px; justify-content: center; }

.nav__links {
    display: flex;
    gap: 0.25rem;
    list-style: none;
}

.nav__links a {
    color: #D1D5DB;
    padding: 0.45rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.nav__links a:hover,
.nav__links a.active {
    background: var(--orange);
    color: var(--white);
}

.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #0F0700;
    color: #9CA3AF;
    margin-top: auto;
    font-size: 0.875rem;
    box-shadow: inset 0 3px 0 var(--orange);
}

.site-footer__body {
    padding: 4rem 0 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1.1fr;
    gap: 2.5rem;
    align-items: start;
}

/* Brand column */
.footer-brand__logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer-brand__logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 10px;
    background: rgba(255,255,255,0.09);
    padding: 3px;
    flex-shrink: 0;
}

.footer-brand__name {
    color: var(--gold);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.footer-brand__tagline {
    font-size: 0.87rem;
    color: #6B7280;
    line-height: 1.65;
    margin-bottom: 1.4rem;
    max-width: 260px;
}

.footer-brand__actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 220px;
}

.footer-cta-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.18s, transform 0.18s;
}

.footer-cta-btn:hover { opacity: 0.88; transform: translateX(2px); }

.footer-cta-btn--wa   { background: #25D366; color: #fff; }
.footer-cta-btn--call { background: rgba(255,255,255,0.07); color: #D1D5DB; border: 1px solid rgba(255,255,255,0.12); }
.footer-cta-btn--call:hover { color: var(--gold); }

/* Column headings */
.footer-col__heading {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: 1.1rem;
}

/* Link list */
.footer-col__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-col__list li a {
    color: #9CA3AF;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.18s;
}

.footer-col__list li a:hover { color: var(--gold); }

/* Contact list */
.footer-col__list--contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.footer-contact-icon { font-size: 0.9rem; flex-shrink: 0; }

.footer-col__list--contact li a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.18s;
}
.footer-col__list--contact li a:hover { color: var(--gold); }

/* Hours list */
.footer-col__list--hours li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #9CA3AF;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    gap: 0.5rem;
}

.footer-col__list--hours li:last-child { border-bottom: none; }
.footer-col__list--hours li strong { color: #D1D5DB; font-weight: 500; white-space: nowrap; }
.footer-hours--closed strong { color: #6B7280 !important; }

/* Bottom bar */
.site-footer__bottom {
    padding: 1.4rem 0;
}

.site-footer__bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.footer-proudly-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
}

.footer-copyright {
    font-size: 0.8rem;
    color: #4B5563;
    text-align: center;
}

/* Footer responsive */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .footer-brand { grid-column: 1 / -1; }
    .footer-brand__tagline { max-width: 100%; }
    .footer-brand__actions { flex-direction: row; max-width: none; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
    .footer-brand__actions { flex-direction: column; max-width: 100%; }
    .site-footer__body { padding: 2.5rem 0 2rem; }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 700;
    cursor: url('/static/egg-cursor.svg') 12 12, pointer;
    border: none;
    transition: transform 0.18s cubic-bezier(0.34,1.56,0.64,1),
                box-shadow 0.2s ease,
                background 0.2s ease;
    letter-spacing: 0.01em;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow);
}
.btn:active { transform: translateY(0) scale(0.98); }

.btn--primary { background: var(--orange); color: var(--white); }
.btn--primary:hover {
    background: var(--orange-dark);
    color: var(--white);
    box-shadow: 0 6px 28px rgba(249,115,22,0.55);
}

.btn--gold { background: var(--gold); color: var(--dark); }
.btn--gold:hover {
    background: #F59E0B;
    box-shadow: 0 6px 28px rgba(251,191,36,0.55);
}

.btn--whatsapp { background: #25D366; color: var(--white); }
.btn--whatsapp:hover {
    background: #1DA851;
    color: var(--white);
    box-shadow: 0 6px 24px rgba(37,211,102,0.45);
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--orange);
    color: var(--orange);
}
.btn--outline:hover {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 6px 24px rgba(249,115,22,0.4);
}

/* ===== EGG CURSOR ===== */
a, button, [role="button"], .egg-card, .pricing__card, select, input[type="checkbox"] {
    cursor: url('/static/egg-cursor.svg') 12 12, pointer;
}

/* ===== CARD ===== */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(28,16,4,0.06), 0 8px 32px rgba(249,115,22,0.10);
    padding: 1.5rem;
}

/* ===== FORM ELEMENTS ===== */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font);
    background: var(--white);
    color: var(--dark);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
}

.form-group textarea { resize: vertical; min-height: 100px; }

/* ===== BADGE ===== */
.badge {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge--orange { background: #FED7AA; color: #9A3412; }
.badge--gold   { background: #FEF3C7; color: #92400E; }
.badge--green  { background: #D1FAE5; color: #065F46; }
.badge--red    { background: #FEE2E2; color: #991B1B; }

/* ===== UTILITIES ===== */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.gap-1 { gap: 0.5rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

@media (max-width: 600px) {
    .container { padding: 0 1rem; }
    .section    { padding: 3.5rem 0; }
}

/* ===== RESPONSIVE NAV ===== */
@media (max-width: 760px) {
    .nav__hamburger { display: flex; }
    .nav__logo-text { display: none; }

    .nav__links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 1rem;
        gap: 0.25rem;
        transform: translateY(-110%);
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.3s ease, visibility 0.3s;
        z-index: 99;
        box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    }

    .nav__links.open {
        transform: translateY(0);
        visibility: visible;
        pointer-events: auto;
    }
    .nav__links a { display: block; padding: 0.75rem 1rem; font-size: 1rem; }
}

@media (min-width: 761px) {
    .nav__logo-text { display: inline; }
}
