/* 
    Dip N Dine - Mobile First Design System
    Colors: Aqua Blue, Warm Brown, Cream
    Typography: Outfit (Headings), Inter (Body)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700&display=swap');

:root {
    --aqua-primary: #15919B; /* Vibrant Pool Blue */
    --aqua-light: #E0F7F9;
    --brown-primary: #5D4037; /* Warm Food Brown */
    --brown-light: #D7CCC8;
    --cream: #FFFAF0; /* Warm Background */
    --text-dark: #2C1B18;
    --text-light: #555;
    --white: #ffffff;
    --accent: #FF9F1C; /* Fun Orange Accent */
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--brown-primary);
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.section-padding {
    padding: 100px 0;
}

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

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--aqua-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(21, 145, 155, 0.3);
}

.btn-primary:hover {
    background-color: var(--brown-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(93, 64, 55, 0.3);
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: var(--shadow);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: var(--white);
}

nav.scrolled .logo {
    color: var(--aqua-primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
}

nav.scrolled .nav-links a {
    color: var(--text-dark);
}

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

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

nav.scrolled .menu-toggle {
    color: var(--aqua-primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('assets/hero-bg.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--white);
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    animation: fadeInUp 1.2s ease;
}

/* Sections Common */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--aqua-primary);
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--aqua-primary);
}

.service-card i {
    font-size: 3rem;
    color: var(--aqua-primary);
    margin-bottom: 20px;
}

/* Menu Section */
.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    padding: 10px 0;
}

.tab-btn {
    padding: 10px 25px;
    border-radius: 30px;
    border: 2px solid var(--brown-light);
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
    background: var(--brown-primary);
    color: var(--white);
    border-color: var(--brown-primary);
}

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

.menu-item {
    background: var(--white);
    padding: 25px 30px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.menu-item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.menu-info h4 {
    margin-bottom: 5px;
}

.price {
    font-weight: 700;
    color: var(--aqua-primary);
    font-size: 1.1rem;
}

/* Gallery Section - Infinite Horizontal Scroll */
.gallery-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
    background: var(--aqua-light);
}

.gallery-track {
    display: flex;
    width: calc(300px * 16); /* 300px width * 16 items */
    animation: scroll 40s linear infinite;
    gap: 20px;
    padding: 0 10px;
}

.gallery-item {
    flex: 0 0 300px;
    height: 350px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.gallery-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 8 - 20px * 8)); /* Move by 8 items + gaps */
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact Section */
.contact-container {
    display: flex;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1100px;
}

.info-item {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.info-item:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--aqua-primary);
}

.info-item i {
    color: var(--aqua-primary);
    background: var(--aqua-light);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.info-item h4 {
    color: var(--brown-primary);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.info-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Responsive adjustment for contact */
@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
}



/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Footer */
footer {
    background-color: var(--brown-primary);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

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

/* Mobile Responsive */
@media (max-width: 991px) {
    .about-grid, .contact-container {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none; /* Hide for mobile toggle later */
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
}
