@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&family=Playfair+Display:wght@400;700&display=swap');
:root{
    --white: #f5f0f0;
    --off-white: #e9e9e9;
    --onyx: #101010;
    --rich-mahogany: #260101;
    --dark-garnet: #591202;
    --rust-brown: #A62F03;
    --autumn-leaf:#F26716;
}


body{
    background-color: var(--white);
    color: var(--onyx);
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}

h1, h2, h3, h4, h5, h6{
    font-family: 'Playfair Display', serif;
    margin: 0;
}
/* Header Styles */
.main-header {
    background: transparent;
    box-shadow: 0 2px 12px rgba(51,51,51,0.08);
    padding-top: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    padding: 0 clamp(12px, 3vw, 32px);
    height: 100px;
    column-gap: clamp(10px, 2vw, 28px);
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
    padding: 0;
    margin: 0;
}

.logo-img {
    width: 70px;
    height: 70px;
    width: auto;
    border-radius: 8px;
    margin-left: -50px;
}

.main-nav {
    display: flex;
    justify-content: center;
    min-width: 0;
    margin-left: -110px;
    margin-top: -35px;
}

.header-actions{
    display: flex;
    align-items: center;
    gap: 12px;
    justify-self: end;
}

.menu-toggle{
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.menu-icon{
    width: 22px;
    height: 2px;
    background: var(--onyx);
    position: relative;
    display: block;
    transition: background 0.18s ease;
}

.menu-icon::before,
.menu-icon::after{
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: var(--onyx);
    transition: transform 0.18s ease, top 0.18s ease;
}

.menu-icon::before{ top: -7px; }
.menu-icon::after{ top: 7px; }

.main-header.menu-open .menu-icon{
    background: transparent;
}

.main-header.menu-open .menu-icon::before{
    top: 0;
    transform: rotate(45deg);
}

.main-header.menu-open .menu-icon::after{
    top: 0;
    transform: rotate(-45deg);
}

.nav-list {
    display: flex;
    gap: clamp(12px, 2.2vw, 36px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li a {
    color: var(--white) !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-width: 70px;
    height: 70px;
}

/* Header actions (e.g., Login) should match the main nav-link styling */
.header-actions .nav-link{
    color: var(--white) !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    /* reduced vertical padding and shorter height for the login-style link */
    padding: -6px 16px;
    border-radius: 4px;
    /* slower, smoother transition including transform for the vertical motion */
    transition: background 0.36s cubic-bezier(0.22,1,0.36,1), color 0.36s ease, transform 0.36s cubic-bezier(0.22,1,0.36,1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-width: 70px;
    height: 44px;
}

/* Login link: hover -> button-like style. Animate upward (bottom→top) with a slower ease. */
.header-actions .nav-link:hover,
.header-actions .nav-link:focus {
    background: var(--autumn-leaf);
    color: var(--white) !important;
    border-radius: 6px;
    transform: translateY(-8px);
}

.header-actions .nav-link:active {
    transform: translateY(-4px);
}

/* Keep cart (and any explicitly marked .cart-link) at the original size/padding so only the
   login-style nav-link is visually reduced. */
.header-actions .cart-link {
    height: 70px;
    min-width: 70px;
    padding: 8px 16px;
}

.fire-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fire-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-link .nav-text {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    z-index: 1;
    padding: 0;
    margin: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.nav-label {
    display: block;
    font-size: 20px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    transition: opacity 0.2s;
    position: relative;
    top: 24px;
}
.arc-text {
    display: none;
    position: relative;
    top: 24px;
}
.nav-link:hover .nav-label,
.nav-link:focus .nav-label,
.nav-link.active .nav-label {
    display: none;
}
.nav-link:hover .arc-text,
.nav-link:focus .arc-text,
.nav-link.active .arc-text {
    display: block;
}

/* Always show fire gif and move text for .active nav-link (current page) */
.nav-link.active .fire-icon {
    opacity: 1;
}
.nav-link:hover .fire-icon,
.nav-link:focus .fire-icon,
.nav-link.active .fire-icon {
    opacity: 1;
}



.cart-link {
    display: flex;
    align-items: center;
    margin-left: 0;
    text-decoration: none;
    position: relative;
}

@media (max-width: 1000px) {
    .menu-toggle{
        display: inline-flex;
    }

    .main-nav{
        display: none;
        grid-column: 1 / -1;
        justify-content: flex-start;
        width: 100%;
        background: var(--white);
        padding: 10px 0 14px 0;
        border-top: 1px solid rgba(51,51,51,0.08);
    }

    .main-header.menu-open .main-nav{
        display: flex;
    }

    .nav-list{
        flex-direction: column;
        gap: 8px;
        width: 100%;
        align-items: stretch;
    }

    .nav-list li a{
        height: auto;
        min-width: 0;
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        padding: 12px 12px;
    }

    .fire-icon{
        display: none;
    }

    .nav-link .nav-text{
        position: static;
        left: auto;
        top: auto;
        transform: none;
    }

    .nav-link:hover .nav-text,
    .nav-link:focus .nav-text,
    .nav-link.active .nav-text{
        top: auto;
        transform: none;
    }
}

.cart-img {
    height: 36px;
    width: 36px;
    filter: invert(100%);
    transition: filter 0.2s, transform 0.2s;
    /* margin-top: 40px; */
}

@media (max-width: 700px) {
    .header-container {
        height: auto;
        padding: 10px 12px;
    }
    .logo-img {
        height: 40px;
    }
    .cart-img {
        height: 28px;
        width: 28px;
    }
}

/* Footer Styles */
.main-footer {
    background: var(--onyx) !important;
    color: var(--white);
    padding: 0 0 0 0;
    font-size: 16px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 16px 32px 16px;
}

.footer-col {
    flex: 1 1 200px;
    min-width: 200px;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.footer-col h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--yellow);
    margin-bottom: 10px;
    font-weight: 700;
}

.footer-col p, .footer-col a, .footer-col li {
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    margin: 0;
    line-height: 1.6;
}

.footer-col a {
    color: var(--orange-yellow);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-col a:hover {
    color: var(--yellow);
    text-decoration: underline;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-links li a:hover, 
.footer-bottom p a:hover, 
.footer-socials p a:hover {
    text-decoration: none;
    color: var(--autumn-leaf);
}

.footer-socials .social-icons {
    display: flex;
    gap: 24px;
    justify-content: center;
}
.footer-socials .social-icons a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--white);
    gap: 6px;
    transition: color 0.2s;
}
.footer-socials .social-bg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    margin-bottom: 2px;
}
.footer-socials .social-bg img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(213,39,31,0.10));
    transition: filter 0.2s;
}
.footer-socials .social-label {
    font-size: 13px;
    color: var(--orange-yellow);
    font-family: 'Montserrat', sans-serif;
    margin-top: 2px;
    letter-spacing: 0.2px;
    transition: color 0.2s;
}
.footer-socials .social-icons a:hover .social-bg,
.footer-socials .social-icons a:focus .social-bg {
    background: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 100%);
    box-shadow: 0 4px 16px var(--orange-yellow);
    transform: translateY(-3px) scale(1.08);
}
.footer-socials .social-icons a:hover .social-label,
.footer-socials .social-icons a:focus .social-label {
    color: var(--yellow);
}

.footer-divider {
    border-top: 1px solid rgba(255,255,255,0.18);
    margin: 0 auto;
    max-width: 1200px;
}

.footer-bottom {
    text-align: center;
    padding: 18px 8px 18px 8px;
    font-size: 15px;
    color: var(--orange-yellow);
}
.footer-bottom a {
    color: var(--yellow);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-bottom a:hover {
    color: var(--orange);
    text-decoration: underline;
}

@media (max-width: 900px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .footer-col {
        max-width: 100%;
    }
}

/* Cart icon bounce animation (applies when .icon-bounce is added) */
.icon-bounce {
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.icon-bounce:hover {
    transform: translateY(-12px);
    color: #00d084;
}

.icon-bounce:active {
    transform: translateY(-4px);
}