/* Global Styles */
:root {
    --primary-gold: #FFD700;
    /* Pure vivid Gold */
    --primary-gold-dark: #FF8C00;
    /* Dark Orange for deep contrast */
    --secondary-black: #050505;
    /* Deepest black */
    --bg-cream: #FFFDF5;
    /* Warmer, cleaner cream */
    --text-dark: #111;
    --text-light: #fff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: var(--secondary-black);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    /* Stronger shadow */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: var(--font-heading);
    color: var(--primary-gold);
    font-size: 2.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    /* Glow effect */
    background: linear-gradient(45deg, #FFD700, #FFF, #FF8C00);
    /* High contrast gradient */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo span {
    font-size: 1.2rem;
    color: #FFF;
    -webkit-text-fill-color: #FFF;
    text-align: right;
    margin-top: 5px;
    letter-spacing: 4px;
    font-style: italic;
    text-transform: capitalize;
    display: block;
    font-weight: 400;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav a:hover {
    color: var(--primary-gold);
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.btn-login {
    border: 2px solid var(--primary-gold);
    /* Thicker border */
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    color: var(--primary-gold) !important;
    font-weight: 700;
}

.btn-login:hover {
    background-color: var(--primary-gold);
    color: var(--secondary-black) !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    /* Glow on hover */
}

.mobile-menu-btn {
    display: none;
    color: var(--primary-gold);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6)), #111;
    /* Darker overlay */
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
}

.hero-content h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-content h2 span {
    color: var(--primary-gold);
    font-style: italic;
    background: linear-gradient(to right, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.3));
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #f0f0f0;
}

.btn-cta {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-gold), #FFC000);
    color: var(--secondary-black);
    padding: 1rem 2.8rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    border: none;
}

.btn-cta:hover {
    background: linear-gradient(45deg, #FFC000, var(--primary-gold));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

/* Menu Section */
.menu-section {
    padding: 5rem 0;
}

.section-title {
    font-family: var(--font-heading);
    color: var(--secondary-black);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-style: italic;
    font-family: var(--font-heading);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.menu-category {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* More substantial shadow */
    border-top: 5px solid var(--primary-gold);
    transition: transform 0.3s ease;
}

.menu-category:hover {
    transform: translateY(-5px);
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: #fff;
    border: 2px solid #f0f0f0;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    color: #666;
    font-size: 0.9rem;
}

.filter-btn:hover {
    border-color: var(--primary-gold);
    color: var(--secondary-black);
}

.filter-btn.active {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--secondary-black);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.4s ease forwards;
}

.menu-category h3 {
    font-family: var(--font-heading);
    color: var(--secondary-black);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.menu-category h3 i {
    color: var(--primary-gold);
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.flavors {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 1.5rem;
    font-style: italic;
    font-weight: 500;
}

.menu-items li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 0.2rem;
}

.menu-items li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.item-name {
    font-weight: 600;
    color: var(--secondary-black);
}

.item-price {
    font-weight: 800;
    color: #B8860B;
    /* Dark Goldenrod for readability but still gold-ish */
    white-space: nowrap;
    margin-left: 1rem;
}

.submenu h4 {
    font-size: 1rem;
    color: #444;
    margin: 1rem 0 0.5rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 700;
}

/* Info Section */
.info-section {
    background-color: var(--secondary-black);
    color: var(--text-light);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-gold), #FF8C00, var(--primary-gold));
}

.section-title.light {
    color: var(--primary-gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
    text-align: center;
}

.info-card i {
    font-size: 2.5rem;
    background: linear-gradient(45deg, var(--primary-gold), #FFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.info-card h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.info-card p {
    color: #e0e0e0;
    margin-bottom: 0.5rem;
}

.legal-footer {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 2rem;
    color: #888;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--secondary-black);
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }

    .nav.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }
}

/* Cart Styles */
.btn-add-cart {
    background: var(--primary-gold);
    color: var(--secondary-black);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-add-cart:hover {
    transform: scale(1.1);
    background: #FFC000;
}

.item-price-wrapper {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.floating-cart {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--secondary-black);
    color: var(--primary-gold);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    z-index: 1001;
    border: 2px solid var(--primary-gold);
    transition: 0.3s;
    text-decoration: none !important;
}

.floating-cart:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.cart-count {
    background: var(--primary-gold);
    color: var(--secondary-black);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Registration Form Toggle */
.reg-form {
    display: none;
}

.reg-form.active {
    display: block;
}

.auth-toggle-link {
    cursor: pointer;
    color: var(--primary-gold);
    font-weight: 600;
    text-decoration: underline;
}

/* Logo Image Styles */
.logo {
    display: flex;
    flex-direction: row;
    /* Changed to row to align icon and text horizontally */
    align-items: center;
    gap: 15px;
    /* Space between logo and text */
}

.logo-img {
    height: 60px;
    /* Adjust size as needed */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Ensure header container handles the logo properly */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Update text alignment inside logo block if necessary */
.logo h1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Align text to left next to logo */
    line-height: 1;
    margin: 0;
}

/* SVG Logo Styles */
.logo-svg {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.hero-logo-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.hero-logo-svg {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.6));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 768px) {
    .hero-logo-svg {
        max-width: 150px;
    }
}