/* Root Variables */
:root {
    --primary-green: #7CB342;
    --dark-green: #5A8030;
    --primary-orange: #FF6B35;
    --light-orange: #FFA366;
    --tan: #F5DEB3;
    --brown: #5D4037;
    --dark-brown: #3E2723;
    --black: #1A1A1A;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--light-gray);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka', cursive;
    color: var(--dark-brown);
}

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

/* Animated Smoke Background */
.smoke-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.smoke {
    position: absolute;
    bottom: -100px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(150,150,150,0.1) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    animation: smokeRise 15s infinite;
}

.smoke1 { left: 10%; animation-delay: 0s; }
.smoke2 { left: 50%; animation-delay: 5s; }
.smoke3 { left: 80%; animation-delay: 10s; }

@keyframes smokeRise {
    0% {
        opacity: 0;
        transform: translateY(0) scale(1);
    }
    10% {
        opacity: 0.4;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(3);
    }
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    height: 60px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--dark-brown);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-orange);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-orange);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-brown);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 0;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    padding: 100px 0;
}

.hero-content {
    text-align: center;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.accent {
    color: var(--primary-orange);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.cta-button {
    background-color: var(--primary-orange);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}

.cta-button:hover {
    background-color: var(--light-orange);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,107,53,0.4);
}

/* Animated Frog Chef */
.frog-chef-container {
    position: absolute;
    right: -25px;
    bottom: -200px;
    width: 300px;
    height: 300px;
}

.frog-chef {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bounce {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background-color: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.feature-card:nth-child(1) {
    background-image: url('1D29F451-A84C-42A7-A066-C312CA9CACA6.jpeg');
    background-size: cover;
    background-position: center;
}

.feature-card:nth-child(2) {
    background-image: url('640F21E6-6C0C-4B86-B494-F1003A5627A4.jpeg');
    background-size: cover;
    background-position: center;
}

.feature-card:nth-child(3) {
    background-image: url('B16D3149-EF56-40F4-9074-71D4BAD00E21.jpeg');
    background-size: cover;
    background-position: center;
}

.feature-content {
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-content h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.feature-content p {
    color: var(--white);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}


/* Menu Section */
.menu-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-brown);
    margin-bottom: 3rem;
}

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

/* Flip Cards */
.flip-card {
    background-color: transparent;
    width: 100%;
    height: 250px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.flip-card-front {
    background-color: var(--primary-green);
    color: var(--white);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.menu-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 20px;
    border-radius: 15px;
}

.menu-overlay h3 {
    color: var(--white);
    font-size: 1.8rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.9), -1px -1px 2px rgba(0,0,0,0.5);
    margin: 0;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    border-radius: 25px;
}

.flip-card-back {
    background-color: var(--primary-orange);
    color: var(--white);
    transform: rotateY(180deg);
}

.menu-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 1rem;
}

/* Chef Section */
.chef-section {
    padding: 80px 0;
    background-color: var(--white);
}

.chef-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.chef-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.chef-image img {
    width: 100%;
    height: auto;
    display: block;
}

.chef-info h3 {
    color: var(--primary-orange);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.chef-info p {
    color: var(--brown);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.chef-info blockquote {
    font-style: italic;
    color: var(--dark-green);
    padding: 1.5rem;
    background-color: var(--light-gray);
    border-left: 4px solid var(--primary-orange);
    margin-top: 2rem;
}

/* Weather Widget */
.weather-widget {
    padding: 40px 0;
    background-color: var(--tan);
}

.weather-card {
    text-align: center;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.weather-icon {
    font-size: 4rem;
    margin: 1rem 0;
}

/* Shop Section */
.shop-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--brown);
    margin-bottom: 3rem;
}

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

.product-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.product-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--brown);
}

/* Product Carousel */
.product-carousel {
    position: relative;
    width: 100%;
    height: 250px;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 10px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-image.active {
    opacity: 1;
}

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--primary-orange);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Timer Section */
.timer-section {
    padding: 60px 0;
    background-color: var(--white);
    text-align: center;
}

.timer-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.timer-btn {
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.timer-btn:hover {
    background-color: var(--dark-green);
    transform: scale(1.05);
}

.timer-display {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-orange);
    font-family: 'Fredoka', cursive;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: var(--tan);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.stars {
    color: var(--primary-orange);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: block;
    margin-top: 1rem;
    color: var(--brown);
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-info h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: var(--brown);
}

.contact-cta {
    text-align: center;
}

/* Footer */
.footer {
    background-color: var(--dark-brown);
    color: var(--white);
    text-align: center;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    max-width: 300px;
    height: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .frog-chef-container {
        position: static;
        width: 200px;
        height: 200px;
        margin: 2rem auto 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .timer-controls {
        flex-wrap: wrap;
    }
    
    .chef-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .chef-image {
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}