/* 
    Snack Attack - Farmington Hills
    Theme: Vibrant Modern | Emerald Green + Cream
*/

:root {
    /* Palette */
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --cream-50: #f9fafb;
    --cream-100: #f3f4f6;
    --cream-200: #e5e7eb;
    --white: #ffffff;
    --text-dark: #111827;
    --text-light: #4b5563;
    
    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    
    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--cream-50);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Geometric Background Shapes */
.bg-shape {
    position: fixed;
    z-index: -1;
    pointer-events: none;
}

.shape-1 {
    top: -10%;
    right: -5%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(249, 250, 251, 0) 70%);
    border-radius: 50%;
}

.shape-2 {
    bottom: 10%;
    left: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(6, 79, 59, 0.05) 0%, rgba(249, 250, 251, 0) 70%);
    border-radius: 50%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(249, 250, 251, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--cream-200);
    z-index: 1000;
    display: flex;
    align-items: center;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--emerald-800);
}

.logo-icon {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--emerald-600);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
    background-color: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--emerald-800);
    border: 2px solid var(--emerald-800);
}

.btn-secondary:hover {
    background-color: var(--emerald-800);
    color: var(--white);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--cream-200);
    color: var(--emerald-800);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    background-color: var(--cream-50);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    max-width: 540px;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--emerald-900);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* Hero Visuals */
.hero-visual {
    position: relative;
    height: 500px;
}

.visual-card {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    background: var(--white);
}

.visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.visual-card:hover img {
    transform: scale(1.05);
}

.card-1 {
    width: 300px;
    height: 400px;
    top: 0;
    left: 20px;
    z-index: 1;
}

.card-2 {
    width: 220px;
    height: 220px;
    top: 80px;
    right: 0;
    z-index: 2;
    border: 4px solid var(--white);
}

.card-3 {
    width: 140px;
    height: 140px;
    bottom: 20px;
    right: 60px;
    z-index: 3;
    border: 4px solid var(--white);
    border-radius: 50%;
}

/* Sections General */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--emerald-900);
    margin-top: 12px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(6, 79, 59, 0.15);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-stats {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    gap: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--emerald-600);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--emerald-900);
    margin-bottom: 24px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.feature-list {
    margin-top: 30px;
    display: grid;
    gap: 16px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-dark);
}

.feature-list svg {
    color: var(--emerald-600);
}

/* Menu Section */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.menu-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-10px);
}

.menu-img {
    height: 240px;
    overflow: hidden;
}

.menu-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.menu-card h3 {
    font-size: 1.5rem;
    color: var(--emerald-900);
    padding: 24px 24px 8px;
}

.menu-card p {
    padding: 0 24px 24px;
    color: var(--text-light);
}

/* Groceries Section */
.groceries {
    background-color: var(--emerald-900);
    color: var(--white);
}

.grocery-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.grocery-content .badge {
    background-color: rgba(255,255,255,0.2);
    color: var(--white);
}

.grocery-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.grocery-content p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.grocery-content .feature-list li {
    color: var(--white);
}

.grocery-content .feature-list svg {
    color: var(--emerald-400);
}

.grocery-content .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.grocery-content .btn-secondary:hover {
    background-color: var(--white);
    color: var(--emerald-900);
}

.grocery-visual img {
    border-radius: 20px;
    width: 100%;
    height: 600px;
    object-fit: cover;
}

/* Contact Section */
.contact {
    background-color: var(--cream-100);
}

.contact-wrapper {
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.contact-info {
    padding: 60px;
    background: var(--emerald-800);
    color: var(--white);
}

.contact-info .badge {
    background-color: rgba(255,255,255,0.2);
    color: var(--white);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.contact-info > p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.icon-box {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.info-item p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.info-item a {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.map-container {
    min-height: 400px;
}

/* Footer */
.footer {
    background-color: var(--emerald-900);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.copyright {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* Mobile Menu */
.mobile-menu-btn, .close-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--emerald-800);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--cream-50);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-grid, .about-grid, .grocery-split, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding-top: 120px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        height: 400px;
        margin-top: 40px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .about-stats {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 20px;
        justify-content: center;
    }
    
    .contact-info {
        padding: 40px;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .visual-card {
        display: none;
    }
    
    .visual-card.card-1 {
        display: block;
        width: 100%;
        height: 300px;
        position: relative;
        margin: 0 auto;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
}
