/* ============================================================
    VARIABLES
   ============================================================ */
:root {
    --red: #dc4553;
    --red-dark: #b8323f;
    --red-light: #e8707c;
    --orange: #f5941e;
    --gold: #f2c230;
    --maroon: #431217;
    --maroon-dark: #2c0c0f;
    --faded:#fdf8f27d;
  --cream: #fdf8f2;        /* page background — warm, not stark white */
  --warm-gray: #f0e8dd;    /* placeholder boxes — beige, not cold gray */
    --warm-gray-border: #ddd0bd;

    --text-dark: #2b2320;
    --white: #ffffff;

    --font-script: 'Pacifico', cursive;
    --font-script-light: 'Dancing Script', cursive;
    --font-serif: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;

    --shadow-soft: 0 8px 24px rgba(67, 18, 23, 0.10);
    --shadow-lift: 0 14px 32px rgba(67, 18, 23, 0.18);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    padding-top: 4em;
}

a {
    text-decoration: none;
}

button {
    font-family: inherit;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   HEADER
   ============================================================ */
.topbar {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    position:fixed;
    top:0;
    width: 100%;
    z-index: 1000; /* forces it above any other positioned element, no matter DOM order */
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid var(--gold);
}

.nav-links {
    display: flex;
    gap: 2.5em;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.03em; /* slightly opened up — reads more "menu-like" */
    opacity: 0.9;
    transition: opacity 0.2s ease;
}
.nav-home-link {
    display: none;
}

.nav-links a:hover {
    opacity: 1;
}

.hamburger,
.home-btn,
.cart-btn {
    background: none;
    border: none;
    font-size: 1.3em;
    color: var(--white);
    cursor: pointer;
    position: relative;
    display: inline-block;
}
#cartCount {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: var(--white);
    color: var(--red);
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 50%;
    padding: 0.1em 0.45em;
    min-width: 1em;
    text-align: center;
}
.hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 4px;
}



/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 13px 30px;
    border-radius: 30px;
    cursor: pointer;
    border: 2px solid var(--red);
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

/* gradient fill instead of flat red — same color identity, more depth */
.btn-filled {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--white);
}

.btn-filled:hover {
    background: linear-gradient(135deg, var(--red-light) 0%, var(--red) 100%);
}

.btn-outline {
    background: var(--white);
    color: var(--red);
}

.btn-outline:hover {
    background: #fff2f2;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: linear-gradient(180deg, var(--maroon) 0%, var(--maroon-dark) 100%);
    color: var(--white);
    padding: 44px 0;
    margin-top: 20px;
    border-top: 3px solid var(--gold);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-col h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--gold);
}

.footer-col p {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.7;
}
.footer-col a {
    color: var(--white);
    opacity: 0.9;
    line-height: 1.7;
    font-size: 0.85rem;
}

.footer-col a:hover {
    opacity: 1;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
    .hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .home-btn{
        display: none;
    }

    .nav-home-link {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--red-dark);
        flex-direction: column;
        align-items: center;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }

    .nav-links.open {
        max-height: 260px;
    }

    .nav-links a {
        padding: 14px 0;
        width: 100%;
        text-align: center;
    }
}