/* ===================================
   THE ICEBOX FROZEN TREATS
   Modern Vibrant Design System
   =================================== */

:root {
    --emerald-900: #064e3b;
    --emerald-700: #047857;
    --emerald-500: #10b981;
    --emerald-400: #34d399;
    --cream-50: #fafaf9;
    --cream-100: #f5f5f4;
    --cream-200: #e7e5e4;
    --cream-300: #d6d3d1;
    --text-dark: #1c1917;
    --text-muted: #57534e;
    --white: #ffffff;
    
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Background Pattern */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.4;
    background-image: radial-gradient(circle at 25% 25%, var(--emerald-500) 1px, transparent 1px),
                      radial-gradient(circle at 75% 75%, var(--emerald-200) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
.eyebrow {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--emerald-700);
    margin-bottom: 1rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--emerald-700);
    background: var(--emerald-100, rgba(16, 185, 129, 0.1));
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--emerald-700);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--emerald-900);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--cream-200);
}

.btn-secondary:hover {
    border-color: var(--emerald-500);
    color: var(--emerald-700);
}

.btn-full {
    width: 100%;
}

/* Logo */
.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo .dot {
    color: var(--emerald-500);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 249, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--cream-200);
    padding: 1rem 0;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

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

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream-50);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s ease;
}

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

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--emerald-700);
}

.close-menu-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

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

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.hero-title .text-emerald {
    color: var(--emerald-700);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

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

.hero-img {
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    display: block;
}

.hero-img.main {
    width: 100%;
    height: auto;
    max-width: 600px;
}

.hero-img.accent {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 8px solid var(--cream-50);
}

.floating-badge {
    position: absolute;
    bottom: 4rem;
    left: -2rem;
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.badge-text {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-dark);
}

/* Geometric Shapes */
.geo-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--emerald-500);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--emerald-400);
    bottom: 10%;
    left: 5%;
}

/* Sections */
.section {
    padding: 6rem 0;
}

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

/* Menu Section */
.menu-section {
    background: var(--white);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

.menu-card {
    background: var(--cream-50);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.menu-card--large {
    grid-column: span 7;
}

.menu-card--accent {
    grid-column: span 5;
    background: var(--emerald-700);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
}

.menu-card--accent .accent-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--emerald-300, #6ee7b7);
    margin-bottom: 1rem;
}

.menu-card--accent .section-title {
    color: var(--white);
    font-size: 2rem;
}

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

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

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

.menu-card-content {
    padding: 2rem;
}

.menu-card-content h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.menu-card-content p {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* Philosophy Section */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.philosophy-body {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--emerald-100, rgba(16, 185, 129, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    flex-shrink: 0;
}

.feature-list li span:last-child {
    font-weight: 600;
    color: var(--text-dark);
}

/* Image Stack */
.image-stack {
    position: relative;
    height: 600px;
}

.image-stack img {
    position: absolute;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

.primary-img {
    width: 80%;
    height: 80%;
    object-fit: cover;
    top: 0;
    left: 0;
}

.secondary-img {
    width: 50%;
    height: 50%;
    object-fit: cover;
    bottom: 0;
    right: 0;
    border: 8px solid var(--cream-50);
}

/* Location Section */
.location-section {
    background: var(--white);
}

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.detail-item {
    display: flex;
    gap: 1.5rem;
}

.detail-icon {
    width: 56px;
    height: 56px;
    background: var(--emerald-700);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.detail-item strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.detail-item p,
.detail-item a {
    color: var(--text-muted);
    text-decoration: none;
    line-height: 1.6;
}

.detail-item a:hover {
    color: var(--emerald-700);
}

/* Map Placeholder */
.location-map {
    height: 400px;
    background: var(--cream-200);
    border-radius: 24px;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cream-200) 0%, var(--cream-300) 100%);
}

.map-content {
    text-align: center;
    color: var(--text-muted);
}

.map-content svg {
    margin-bottom: 1rem;
    color: var(--emerald-700);
}

.map-content p {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-text p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--cream-200);
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--cream-50);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--emerald-100, rgba(16, 185, 129, 0.1));
    border-radius: 12px;
    color: var(--emerald-700);
    font-weight: 600;
    margin-top: 1rem;
}

.form-success svg {
    flex-shrink: 0;
}

/* Footer */
.footer {
    background: var(--emerald-900);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--cream-300);
    margin-top: 1rem;
}

.footer-links h4,
.footer-hours h4 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links ul,
.footer-hours ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--cream-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    color: var(--cream-300);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--cream-300);
    font-size: 0.875rem;
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid,
    .philosophy-grid,
    .location-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .menu-card--large,
    .menu-card--accent {
        grid-column: span 12;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-img.accent {
        display: none;
    }
    
    .image-stack {
        height: 400px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}
