/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600&display=swap');

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

:root {
    --primary-brown: #7a4a26;
    --dark-brown: #4a2a16;
    --light-brown: #c49b72;
    --cream: #fffaf1;
    --gold: #d49b62;
    --gold-light: #e8b276;
    --warm-orange: #e0844f;
    --warm-red: #d45f4f;
    --white: #FFFFFF;
    --text-dark: #2C1810;
    --text-light: #6B5B47;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fdfcf8;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><text y="20" font-size="20">🍫</text></svg>') 12 12, auto;
}

a, button, input, textarea {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><text y="20" font-size="20">🍫</text></svg>') 12 12, pointer;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Inter', serif;
    letter-spacing: 0.3px;
}

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

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px; /* Add spacing between the logo image and text */
}

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

.logo-image {
    width: 100px; /* Increase the size of the logo */
    height: 100px;
    border: none; /* Remove the border */
    object-fit: cover;
}

/* Premium styling for "Waffle Meltz" */
.logo {
    font-family: 'Playfair Display', serif; /* Premium serif font */
    font-size: 3rem; /* Increase font size */
    font-weight: 700; /* Bold text */
    background: linear-gradient(135deg, #D4AF37, #E67E22); /* Gold gradient */
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* Text gradient effect */
    text-transform: uppercase; /* Uppercase for a bold look */
    letter-spacing: 2px; /* Add spacing between letters */
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-brown);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(139, 105, 20, 0.1), rgba(92, 74, 26, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-top: 70px;
    position: relative;
    padding: 4rem 0;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    z-index: 1;
    animation: fadeInUp 1s ease;
    text-align: left;
    color: var(--text-dark);
}

.hero-image {
    z-index: 1;
    animation: fadeInRight 1s ease;
}

.hero-image img {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(139, 105, 20, 0.4);
    object-fit: cover;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Buttons */
.btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.2px;
}

.btn-primary {
    background: linear-gradient(135deg, #5a311b 0%, #3a1d10 100%);
    color: #fcefe5;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(58, 29, 16, 0.35), inset 0 -4px 0 rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(58, 29, 16, 0.6);
    position: relative;
}

.btn-primary::after {
    content: '';
    position: absolute;
    left: 12px;
    top: 10px;
    width: 70%;
    height: 18%;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.25), transparent 60%);
    border-radius: 999px;
    pointer-events: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3a1d10 0%, #5a311b 100%);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(58, 29, 16, 0.45), inset 0 -4px 0 rgba(0, 0, 0, 0.25);
}

/* Menu Section */
.menu {
    padding: 5rem 0;
    background: linear-gradient(180deg, #FFEFD5 0%, #eac29a 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-style: italic;
}

/* Category Buttons with Beautiful Melting Chocolate Effect */
.category-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.category-btn {
    position: relative;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #8B4513 0%, #654321 50%, #4A2511 100%);
    color: #FFF8DC;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
    box-shadow: 
        0 8px 25px rgba(75, 37, 17, 0.5),
        0 4px 10px rgba(0, 0, 0, 0.3),
        inset 0 -4px 8px rgba(0, 0, 0, 0.4),
        inset 0 2px 2px rgba(255, 248, 220, 0.3);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.3) 0%, 
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%);
    border-radius: 50px 50px 0 0;
    pointer-events: none;
}

.category-btn::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 18px solid #4A2511;
    filter: blur(1px);
    opacity: 0;
    transition: all 0.4s ease;
}

.category-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 12px 35px rgba(139, 69, 19, 0.6),
        0 6px 15px rgba(0, 0, 0, 0.4),
        inset 0 -4px 8px rgba(0, 0, 0, 0.4),
        inset 0 2px 2px rgba(255, 248, 220, 0.4);
    background: linear-gradient(135deg, #A0522D 0%, #8B4513 50%, #654321 100%);
}

.category-btn:hover::after {
    opacity: 1;
    bottom: -15px;
    border-top: 20px solid #654321;
}

.category-btn.active {
    background: linear-gradient(135deg, #D2691E 0%, #CD853F 50%, #DEB887 100%);
    color: #4A2511;
    box-shadow: 
        0 12px 40px rgba(210, 105, 30, 0.7),
        0 0 30px rgba(222, 184, 135, 0.5),
        inset 0 -4px 8px rgba(0, 0, 0, 0.3),
        inset 0 3px 3px rgba(255, 255, 255, 0.5);
    transform: translateY(-3px) scale(1.08);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 
            0 12px 40px rgba(210, 105, 30, 0.7),
            0 0 30px rgba(222, 184, 135, 0.5),
            inset 0 -4px 8px rgba(0, 0, 0, 0.3),
            inset 0 3px 3px rgba(255, 255, 255, 0.5);
    }
    50% {
        box-shadow: 
            0 12px 40px rgba(210, 105, 30, 0.9),
            0 0 40px rgba(222, 184, 135, 0.8),
            inset 0 -4px 8px rgba(0, 0, 0, 0.3),
            inset 0 3px 3px rgba(255, 255, 255, 0.5);
    }
}

.category-btn.active::after {
    opacity: 1;
    bottom: -15px;
    border-top: 20px solid #CD853F;
}

/* Menu Items Grid */
.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-item-card {
    background: linear-gradient(145deg, #ffffff 0%, #fffef8 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 3px solid transparent;
}

.menu-item-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(139, 69, 19, 0.35);
    border-color: #D2691E;
}

.menu-item-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.menu-item-card:hover .menu-item-image {
    transform: scale(1.1);
}

.menu-item-info {
    padding: 1.5rem;
}

.menu-item-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-brown);
    margin-bottom: 0.8rem;
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
}

.menu-item-price {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.menu-item-price::before {
    content: 'Rs.';
    font-size: 1.1rem;
    opacity: 0.9;
    -webkit-text-fill-color: #8B4513;
}

.order-cta {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}

.order-now-btn {
    position: relative;
    padding: 1rem 2.6rem;
    background: linear-gradient(135deg, #5a311b 0%, #2d160c 100%);
    color: #fdf7f2;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(45, 22, 12, 0.4), inset 0 -6px 0 rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(45, 22, 12, 0.6);
}

.order-now-btn::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 60%;
    height: 160%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), transparent 50%);
    transform: rotate(8deg);
    opacity: 0.8;
}

.order-now-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transform: translateX(-120%);
    animation: chocolateShine 2.6s linear infinite;
}

.order-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(45, 22, 12, 0.5), inset 0 -6px 0 rgba(0, 0, 0, 0.25);
}

.order-now-btn:active {
    transform: translateY(0);
    box-shadow: 0 10px 20px rgba(45, 22, 12, 0.35), inset 0 -4px 0 rgba(0, 0, 0, 0.25);
}

@keyframes chocolateShine {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(120%); }
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: var(--white);
}

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

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-brown);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
    color: var(--text-dark);
}

.feature-icon {
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: bold;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(180deg, #FFEFD5 0%, var(--cream) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-brown);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item h3 {
    color: var(--primary-brown);
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-dark);
    line-height: 1.8;
}

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

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

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--gold);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 10px var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

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

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

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

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .category-buttons {
        gap: 0.8rem;
    }

    .category-btn {
        padding: 0.7rem 1.3rem;
        font-size: 0.9rem;
    }

    .menu-items-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer .container {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    .logo-image {
        width: 40px;
        height: 40px;
    }

    .category-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .menu-item-name {
        font-size: 1.1rem;
    }

    .menu-item-price {
        font-size: 1.2rem;
    }
}