:root {
    --primary: #F25C54;
    /* Tina's Red */
    --primary-rgb: 242, 92, 84;
    --secondary: #FFD166;
    /* Sun Yellow */
    --accent: #1F8A8D;
    /* Logo Teal */
    --dark: #3D2B1F;
    /* Chocolate Brown */
    --light: #FFF5E1;
    /* Warm Cream */
    --wave-blue: #8ECAE6;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Nunito', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--accent);
    color: var(--dark);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Grainy Texture */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0.05;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: none;
    /* Changed from uppercase to match logo's playful feel */
    letter-spacing: 0;
    color: var(--dark);
}

/* Helper Classes */
.text-gradient {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--dark) !important;
    opacity: 0.8;
}

.bg-diagonal {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background: var(--light);
}

.bg-accent-light {
    background: rgba(31, 138, 141, 0.1);
}


.bg-diagonal::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--accent);
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    z-index: 1;
}

.bg-diagonal::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--light);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    z-index: 1;
}

/* About Image Formatting */
.about-img-container {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 20px 20px 0px var(--secondary);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 8px solid white;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.about-img-container:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 15px 15px 0px var(--primary);
}

.about-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}


/* Navbar */
.navbar {
    background: var(--accent) !important;
    border-bottom: none;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(31, 138, 141, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--light) !important;
}

.navbar-brand span {
    color: var(--primary) !important;
    background: var(--light);
    padding: 2px 10px;
    border-radius: 12px;
    margin-left: 5px;
}

.nav-link {
    color: var(--light) !important;
    font-weight: 600;
    text-transform: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--secondary) !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    padding-top: 80px;
}


.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(31, 138, 141, 0.7) 0%, rgba(31, 138, 141, 0.2) 100%);
    z-index: 2;
}




.hero-logo {
    max-width: 400px;
    border-radius: 50%;
    border: 8px solid var(--primary);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    animation: rollIn 2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    opacity: 0;
    position: relative;
    z-index: 5;
}

@keyframes rollIn {
    from {
        opacity: 0;
        transform: translateX(150%) rotate(360deg);
    }

    to {
        opacity: 1;
        transform: translateX(0) rotate(0deg);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
}


.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--light);
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.5);
}

.hero .lead {
    color: #fff !important;
    font-weight: 600;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.4);
    opacity: 1;
}



.hero-title .text-gradient {
    background: linear-gradient(45deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    text-shadow: none;
    filter: drop-shadow(0 0 10px rgba(255, 209, 102, 0.3));
}


/* Menu Section Styles */
#menu {
    background-color: var(--dark) !important;
}

#menu h2 {
    color: var(--light) !important;
}

#menu .text-secondary {
    color: var(--light) !important;
    opacity: 0.7;
}

.menu-category-title {
    color: var(--secondary) !important;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.menu-category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}


.intro-container {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Category Columns */
.menu-list-container {
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.menu-list-container:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.menu-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item h4 {
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}


/* Buttons */

/* Buttons */
.btn-primary {
    background: var(--primary);
    border: 3px solid var(--dark);
    color: var(--light) !important;
    padding: 15px 35px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 5px 5px 0px var(--dark);
    transition: all 0.2s;
}

.btn-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px var(--dark);
    background: var(--primary);
}

.btn-outline-light {
    border: 3px solid var(--light);
    color: var(--light);
    padding: 15px 35px;
    border-radius: 20px;
    font-weight: 700;
}

.btn-outline-light:hover {
    background: var(--light);
    color: var(--accent);
}

/* Footer */
footer {
    background: var(--dark);
    padding: 80px 0 30px;
    color: var(--light) !important;
}

footer .navbar-brand {
    color: var(--light) !important;
}

footer .text-secondary {
    color: var(--light) !important;
    opacity: 0.7;
}

footer .footer-link {
    color: var(--light) !important;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

footer .footer-link:hover {
    color: var(--secondary) !important;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-anim {
    animation: float 4s ease-in-out infinite;
}

/* Responsive */
/* Tablet Styles */
@media (max-width: 992px) {
    /* Navbar adjustments */
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .nav-link {
        margin-left: 15px;
    }
    
    /* Hero section */
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-logo {
        max-width: 300px;
    }
    
    /* About section */
    .about-img {
        height: 400px;
    }
    
    /* Menu section */
    .menu-category-title {
        font-size: 2rem;
    }
    
    /* Contact section */
    .snack-card {
        margin-top: 30px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Navbar adjustments */
    .navbar {
        padding: 15px 0;
    }
    
    /* Fix hero section padding for mobile */
    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
        min-height: auto;
        height: auto;
    }
    
    /* Adjust hero content positioning */
    .hero-content {
        padding-top: 20px;
    }
    
    /* Add spacing to welcome text */
    .hero h5 {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .navbar-brand span {
        padding: 1px 8px;
        margin-left: 3px;
    }
    
    .nav-link {
        margin: 10px 0;
        padding: 10px 15px !important;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.05);
    }
    
    /* Hero section */
    .hero {
        min-height: 100vh;
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero .lead {
        font-size: 1rem;
    }
    
    .hero-logo {
        max-width: 250px;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    
    /* Hero buttons */
    .hero .d-flex {
        flex-direction: row;
        gap: 15px !important;
        justify-content: center;
        margin-top: 15px;
    }
    
    .hero .btn {
        width: 140px;
        text-align: center;
        padding: 10px 20px;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1.4;
    }
    
    .hero .btn-outline-light {
        border-width: 2px;
        font-weight: 600;
        white-space: nowrap;
    }
    
    /* About section */
    .bg-diagonal {
        padding: 60px 0;
    }
    
    .about-img-container {
        border-radius: 30px;
        box-shadow: 15px 15px 0px var(--secondary);
    }
    
    .about-img {
        height: 300px;
    }
    
    /* Menu section */
    #menu {
        padding: 60px 0;
    }
    
    .menu-category-title {
        font-size: 1.8rem;
    }
    
    .menu-list-container {
        padding: 20px;
        border-radius: 20px;
    }
    
    .menu-item h4 {
        font-size: 1.2rem;
    }
    
    /* Contact section */
    .contact-info {
        margin-bottom: 30px;
    }
    
    .contact-info .d-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info .btn {
        margin-bottom: 15px;
    }
    
    /* Buttons */
    .btn-primary, .btn-outline-light {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    /* Footer */
    footer {
        padding: 50px 0 20px;
    }
    
    /* Snack card adjustments */
    .snack-card {
        margin-top: 30px;
        transform: none !important;
    }
    
    .snack-card:nth-child(even) {
        transform: none;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    /* Hero section */
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-logo {
        max-width: 200px;
    }
    
    /* About section */
    .about-img {
        height: 250px;
    }
    
    /* Menu section */
    .menu-category-title {
        font-size: 1.5rem;
    }
    
    .menu-item h4 {
        font-size: 1.1rem;
    }
    
    /* Buttons */
    .btn-primary, .btn-outline-light {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    /* Navbar brand */
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-brand span {
        padding: 1px 6px;
    }
}