:root {
    /* Color Palette */
    --color-bg-primary: #FAF9F6;
    /* Vanilla Cream */
    --color-text-primary: #3D3D3D;
    /* Emotion Dark */
    --color-accent-primary: #E63E6D;
    /* Kandy Pink */
    --color-accent-secondary: #D4AF37;
    /* Soft Gold */
    --color-white: #FFFFFF;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lato', sans-serif;
    --font-accent: 'Pacifico', cursive;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Shapes */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(230, 62, 109, 0.3);
}

.btn-primary {
    background-color: var(--color-accent-primary);
    color: var(--color-white);
    border: 2px solid var(--color-accent-primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-text-primary);
    border-color: var(--color-text-primary);
}

.btn-outline {
    border: 2px solid var(--color-accent-primary);
    color: var(--color-accent-primary);
    background: transparent;
}

.btn-lg {
    font-size: 1.2rem;
    padding: 16px 48px;
}

.btn-sm {
    font-size: 0.9rem;
    padding: 8px 24px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.8);
    backdrop-filter: blur(10px);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Footer */
.main-footer {
    background-color: var(--color-white);
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo-img {
    height: 60px;
    /* Adjust based on logo aspect ratio */
    width: auto;
    display: block;
}

.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

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

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

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

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

.mobile-menu ul {
    list-style: none;
    text-align: center;
}

.mobile-menu li {
    margin: var(--spacing-md) 0;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--color-text-primary);
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

/* Toggle Animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

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

/* Hero */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #222;
    /* Fallback */
    color: var(--color-white);
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Darker overlay for better text contrast */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 var(--spacing-sm);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-sub {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.smile-divider-bottom {
    position: absolute;
    bottom: -1px;
    /* Fix gap */
    left: 0;
    width: 100%;
    z-index: 4;
    line-height: 0;
}

/* Sections */
.section-padding {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text-primary);
    position: relative;
    display: inline-block;
}

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

.text-light {
    color: var(--color-white);
}

.bg-cream {
    background-color: #F5F4F0;
    /* Slightly darker cream for contrast */
}

.bg-dark {
    background-color: var(--color-text-primary);
}

/* Value Proposition */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.card {
    background: var(--color-white);
    padding: var(--spacing-lg) var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card h3 {
    color: var(--color-accent-primary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}

.card-icon {
    margin-bottom: var(--spacing-sm);
    display: inline-flex;
    padding: 12px;
    background: rgba(230, 62, 109, 0.05);
    border-radius: 50%;
}

.card p {
    color: var(--color-text-primary);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Gallery */
.gallery-filters {
    margin-bottom: var(--spacing-md);
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--color-text-primary);
    color: var(--color-text-primary);
    padding: 8px 24px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.gallery-grid {
    column-count: 3;
    column-gap: var(--spacing-md);
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: var(--spacing-md);
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    /* Allow clicks to pass through to the item */
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

@media (max-width: 768px) {
    .gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        column-count: 1;
    }
}

/* Menu */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.menu-item {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.menu-content {
    padding: var(--spacing-md);
    text-align: center;
}

.menu-content h4 {
    color: var(--color-accent-primary);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
}

.menu-content p {
    font-size: 0.95rem;
    color: var(--color-text-primary);
}

/* Social Proof */
.scroller-container {
    overflow: hidden;
    /* Hide scrollbar for auto scroll */
    padding-bottom: var(--spacing-md);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.scroller-track {
    display: flex;
    gap: var(--spacing-md);
    width: max-content;
    padding: 0 var(--spacing-sm);
    animation: scroll 40s linear infinite;
}

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

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - var(--spacing-md)/2));
    }
}

.testimonial-card {
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    width: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    flex-shrink: 0;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-header h5 {
    margin: 0;
    font-size: 1rem;
    color: var(--color-text-primary);
}

.testimonial-header small {
    color: #888;
    font-size: 0.8rem;
}

.testimonial-text {
    font-size: 0.95rem;
    font-style: italic;
    color: #555;
    margin-bottom: var(--spacing-sm);
}

.testimonial-rating {
    color: var(--color-accent-secondary);
    font-size: 1.2rem;
}

/* Instagram */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xs);
}

.insta-item {
    position: relative;
    display: block;
    overflow: hidden;
    padding-bottom: 100%;
    /* Square aspect ratio */
}

.insta-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.insta-item:hover .insta-overlay {
    opacity: 1;
}

/* Configurator Wizard */
.wizard-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wizard-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-bottom: var(--spacing-lg);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--color-accent-primary);
    transition: width 0.3s ease;
}

.wizard-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.wizard-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wizard-step h3 {
    color: var(--color-accent-secondary);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent-primary);
}

/* Radio Cards */
.guests-selector,
.delivery-options,
.flavor-grid,
.style-grid {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.flavor-grid,
.style-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.radio-card,
.flavor-card,
.style-card {
    cursor: pointer;
    position: relative;
    flex: 1;
}

.radio-card input,
.flavor-card input,
.style-card input {
    position: absolute;
    opacity: 0;
}

.radio-card span,
.flavor-content,
.style-card span {
    display: block;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.flavor-content {
    text-align: left;
}

.flavor-content h4 {
    margin-bottom: 4px;
    font-size: 1rem;
}

.flavor-content p {
    font-size: 0.8rem;
    opacity: 0.8;
}

.radio-card input:checked+span,
.flavor-card input:checked+.flavor-content,
.style-card input:checked+span {
    background: var(--color-accent-primary);
    border-color: var(--color-accent-primary);
    color: var(--color-white);
}

.wizard-actions {
    display: flex;
    justify-content: space-between;
    margin-top: var(--spacing-lg);
}

.disclaimer {
    margin-top: var(--spacing-sm);
    opacity: 0.7;
    text-align: center;
}



.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

/* Mobile Bottom Bar */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-white);
    padding: var(--spacing-sm);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    /* Hidden on desktop */
}

.mobile-bottom-bar .btn {
    color: var(--color-white) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-bottom-bar {
        display: block;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-padding {
        padding: var(--spacing-lg) 0;
    }
}

/* Menu Modal Styles */
.menu-modal-content {
    max-width: 500px !important;
    background: white;
    padding: 3rem !important;
    border-radius: var(--radius-lg);
}

.menu-modal-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 1.5rem auto;
    border: 4px solid var(--color-primary);
}

.ingredient-highlight {
    background: var(--color-bg);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

.highlight-label {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-light);
}

.highlight-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.quote-phrase {
    font-family: 'Pacifico', cursive;
    font-size: 1.3rem;
    color: var(--color-secondary);
    margin-bottom: 2rem;
}

/* Instagram Button Style */
.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white !important;
    border: none;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 39, 67, 0.4);
}

.btn-instagram::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    background: white;
    border-radius: 29px;
    /* Match button radius */
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-instagram:hover::before {
    opacity: 0;
    /* Show full gradient on hover */
}

.btn-instagram span {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.btn-instagram:hover span {
    -webkit-text-fill-color: white;
}