/* Quintalosfresnos Design System - Professional Edition */
:root {
    /* Palette - Refined for Luxury */
    --color-cream: #FDFBF7;
    --color-cream-dark: #E6E0D0;
    --color-gold: #C5A028;
    /* Metallic Gold */
    --color-gold-light: #F0D885;
    --color-black: #111111;
    --color-grey: #666666;
    --color-terracotta: #A04028;
    --color-white: #FFFFFF;
    --color-overlay: rgba(0, 0, 0, 0.4);
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    /* Spacing - Increased for elegance */
    --spacing-sm: 0.75rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 3rem;
    --spacing-xl: 6rem;
    /* Transitions */
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Removed overflow-x: hidden from here as it breaks sticky elements and hides useful overflows */
}

html,
body {
    overflow-x: hidden;
    /* This is the correct place to prevent page-level horizontal scroll */
    width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-cream);
    color: var(--color-black);
    line-height: 1.8;
    /* Increased line height */
    font-size: 17px;
    /* Slightly larger base font */
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-black);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-padding {
    padding: var(--spacing-xl) 0;
    /* espacio arriba y abajo de cada sección */
}


.btn {
    display: inline-block;
    padding: 16px 32px;
    background-color: var(--color-gold);
    color: #111111;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid var(--color-gold);
    cursor: pointer;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition-fast);
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    z-index: -2;
}

.btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--color-black);
    transition: var(--transition-fast);
    z-index: -1;
}

.btn:hover {
    color: var(--color-gold);
    background-color: var(--color-black);
    border-color: var(--color-black);
}

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

.text-gold {
    color: var(--color-gold);
}

.text-terracotta {
    color: var(--color-terracotta);
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    position: relative;
    z-index: 100;
    /* Ensure header stays on top */
}

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

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

.logo img {
    height: 50px;
    /* Reduced size */
    width: auto;
    object-fit: contain;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-gold);
    transition: var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

/* Mobile Menu Button - Premium Animation */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--color-black);
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.mobile-menu-btn span:nth-child(1) {
    top: 0px;
}

.mobile-menu-btn span:nth-child(2) {
    top: 10px;
}

.mobile-menu-btn span:nth-child(3) {
    top: 20px;
}

.mobile-menu-btn.active span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
    background: var(--color-gold);
    /* Gold when active/close */
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.mobile-menu-btn.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
    background: var(--color-gold);
}

/* Footer */
footer {
    background-color: var(--color-black);
    color: var(--color-cream);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
}

.footer-col h4 {
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4rem;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}

.hero {
    background-image: url('../assets/quinta.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;

    height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    position: relative;
    overflow: hidden;
    color: var(--color-black);
}

.hero-text-block {
    position: relative;
    z-index: 1;

    /* Fondo blanco más sólido */
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.95);

    /* Más ancho y menos alto */
    padding: 0.8rem 3.5rem;
    border-radius: 0;

    max-width: 50%;
    /* se extiende de forma elegante en horizontal */
    margin: 0 auto;
}



/* separación elegante del botón */
.hero-btn {
    margin-top: 10rem;
    /* baja el botón respecto al bloque de texto */
    position: relative;
    z-index: 2;
    align-self: center;
    /* aseguras que quede centrado en el flex column */
}



.hero h1 {
    font-size: 3rem;
    color: var(--color-black);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-black);
}


/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--color-white);
    padding: 3rem 2rem;
    border: none;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

/* Miniaturas de servicios en página de inicio */
.service-thumb {
    margin-top: 1.5rem;
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .service-thumb {
    transform: scale(1.08);
}

/* Golden Shine Effect */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(197, 160, 40, 0.4) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    z-index: 2;
    pointer-events: none;
    transition: none;
}

.service-card:hover::after {
    left: 200%;
    transition: left 0.7s ease-in-out;
}

.service-card::before {
    content: '';
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

/* Elegant Search Input */
.search-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    /* Left padding for icon */
    border: 2px solid #eee;
    border-radius: 50px;
    /* Modern pill shape */
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    background-color: #fff;
}

.search-input:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 4px rgba(197, 160, 40, 0.15);
    /* Soft gold glow */
}

.search-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-gold);
    /* Gold icon */
    font-size: 1.2rem;
    pointer-events: none;
    /* Let clicks pass through to input */
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    background: transparent;
    border: 1px solid #ddd;
    padding: 10px 25px;
    cursor: pointer;
    font-family: var(--font-body);
    transition: var(--transition-fast);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--color-gold);
    color: var(--color-white);
    border-color: var(--color-gold);
    box-shadow: var(--shadow-sm);
}

/* Service Items (Specific to Servicios page) */
.service-item {
    background-color: var(--color-white);
    border: none;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border-radius: 4px;
}

.service-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.service-img {
    height: 250px;
    width: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition-smooth);
}

.service-item:hover .service-img {
    transform: scale(1.05);
}

.service-info {
    padding: 2rem;
}

.service-info h3 {
    color: var(--color-terracotta);
    font-size: 1.5rem;
}

/* Reservation Steps */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    counter-reset: step-counter;
}

.step-card {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--color-white);
    border-radius: 0;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition-smooth);
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--color-gold);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 2rem;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Menu & Extras */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 5rem;
}

.menu-category h3 {
    border-bottom: 2px solid var(--color-gold);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    display: inline-block;
}

.menu-list li {
    margin-bottom: 2rem;
    border-bottom: 1px dotted #ddd;
    padding-bottom: 1rem;
}

.menu-list li:last-child {
    border-bottom: none;
}

.item-name {
    display: block;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.item-desc {
    font-size: 1rem;
    color: var(--color-grey);
}

.extras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.extra-item {
    padding: 2rem;
    border: 1px solid #eee;
    background: var(--color-white);
    transition: var(--transition-fast);
}

.extra-item:hover {
    border-color: var(--color-gold);
    box-shadow: var(--shadow-md);
}

.extra-item h4 {
    color: var(--color-terracotta);
    margin-bottom: 1rem;
}

/* Packages */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: start;
}

.package-card {
    background-color: var(--color-white);
    border: none;
    padding: 3rem;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.package-card.featured {
    border: 2px solid var(--color-gold);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.package-card.featured:hover {
    transform: scale(1.08);
}

.package-header h3 {
    color: var(--color-black);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.package-header .price {
    color: var(--color-gold);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 2.5rem;
    font-family: var(--font-heading);
}

.package-features {
    margin-bottom: 2.5rem;
    text-align: left;
}

.package-features li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.package-features li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--color-gold);
    transform: rotate(45deg);
    position: absolute;
    left: 4px;
    top: 10px;
}

/* Responsive Design - Premium Mobile Experience */
@media (max-width: 768px) {

    /* Navigation - Full Screen Overlay */
    nav {
        padding: 1rem 0;
    }

    .logo img {
        height: 40px;
        /* Specific logo size for mobile */
    }

    .nav-links {
        position: fixed;
        display: flex;
        /* Always flex, but hidden by opacity/visibility */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #FFFFFF;
        /* Solid white for better visibility */
        /* removed backdrop-filter to ensure solid background */
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
        padding-top: 0;
        box-shadow: none;
        z-index: 1000;
        gap: 2rem;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        display: flex;
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.3s ease 0.1s;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Stagger animation for menu items */
    .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav-links.active li:nth-child(5) {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(6) {
        transition-delay: 0.35s;
    }

    .nav-links.active li:nth-child(7) {
        transition-delay: 0.4s;
    }

    .nav-links a {
        font-size: 1.2rem;
        /* Compact menu text */
        font-family: var(--font-heading);
        color: var(--color-black);
    }

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

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

    /* Hero Section - Optimized for Mobile */
    .hero {
        padding: 0 1rem;
        justify-content: center;
        /* height: 100vh;  Keep full height */
    }

    /* Global Mobile Headings Override */
    h1 {
        font-size: 1.8rem;
        /* Drastically reduced from 4rem */
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

    .hero h1 {
        font-size: 1.5rem;
        /* Social, compact headline */
        line-height: 1.1;
        margin-bottom: 0.5rem;
    }

    .hero p {
        font-size: 0.95rem;
        /* Standard readable mobile text */
        margin-bottom: 1rem;
        line-height: 1.4;
    }

    .hero-text-block {
        padding: 1rem 1rem;
        /* Tighter padding */
        border-radius: 6px;
        margin: 0;
        max-width: 100%;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.5);
    }

    .hero-btn {
        margin-top: 1.5rem;
        width: 100%;
        padding: 0.8rem;
        /* Compact button */
        font-size: 0.9rem;
    }

    /* General Typography & Spacing - "Feed" Density */
    .section-padding {
        padding: 2rem 1rem;
        /* Significantly tighter sections */
    }

    h2 {
        font-size: 1.35rem;
        /* Feed-header size */
        margin-bottom: 1rem;
    }

    /* Services/Cards */
    .services-grid,
    .menu-grid,
    .packages-grid {
        gap: 1rem;
        /* Tight gap like a feed */
    }

    .service-card,
    .menu-card,
    .package-card {
        padding: 1rem;
        /* Minimal padding */
        border-radius: 8px;
        /* Softer social-app corners */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        /* Flatter shadow */
    }

    .service-img {
        height: 180px;
        /* Shorter images */
    }

    .service-thumb {
        height: 160px;
        /* Smaller thumbs on home */
    }

    .service-info {
        padding: 1rem;
        /* Tighter info block */
    }

    .service-info h3,
    .service-card h3,
    .menu-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .service-card p,
    .menu-card p {
        font-size: 0.9rem;
    }

    /* Buttons in cards */
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    /* Steps */
    .steps-container {
        gap: 2rem;
    }

    .step-card {
        padding: 2rem 1.5rem;
    }

    /* Footer */
    .footer-content {
        gap: 2.5rem;
        text-align: center;
    }

    .footer-col h4 {
        margin-bottom: 1rem;
    }
}



/* Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.fade-in-section.visible {
    opacity: 1;
    transform: none;
}

/* Glassmorphism Utilities */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-terracotta);
}

/* Menu Section Styles */
.menu-section {
    padding: 4rem 0;
    background-color: var(--color-white);
}

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

.menu-header h2 {
    color: var(--color-gold);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Tabs */
.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2rem;
    border: 2px solid var(--color-gold);
    background: transparent;
    color: var(--color-text-dark);
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

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

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

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

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

/* Menu Grid */
.menu-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Menu Card */
.menu-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--color-gold);
}

.menu-card h3 {
    color: var(--color-terracotta);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

/* List Items */
.menu-items-list {
    list-style: none;
    padding: 0;
}

/* --- Immersive Package Themes --- */

/* Base Hero Header */
.package-hero-header {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.package-hero-header .hero-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    width: 100%;
    padding: 1.5rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.package-hero-header .package-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin: 0;
    line-height: 1;
    color: #fff;
    /* Override standard gold/black if needed */
}

.package-hero-header .package-tag {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
    margin-top: 5px;
    font-weight: 300;
}

/* Theme: Wedding / Elegant */
.theme-wedding {
    border: 1px solid var(--color-gold);
}

.theme-wedding .package-title {
    font-family: 'Playfair Display', serif;
}

.theme-wedding .hero-overlay {
    background: linear-gradient(to top, rgba(197, 160, 40, 0.9), transparent);
    /* Gold tint */
}


/* Theme: Kids / Fun */
.theme-kids {
    border: 1px solid var(--color-gold);
}

.theme-kids .package-title {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    letter-spacing: 1px;
}

.theme-kids .hero-overlay {
    background: linear-gradient(to top, rgba(255, 107, 107, 0.9), transparent);
    /* Coral/Pink tint */
}




/* Theme: Corporate / Sleek */
.theme-corporate {
    border: 1px solid #333;
}

.theme-corporate .package-hero-header {
    height: 150px;
    /* Slightly shorter */
}

.theme-corporate .hero-overlay {
    background: linear-gradient(to top, #1a1a1a, transparent);
    /* Dark elegant */
}

.theme-corporate .package-title {
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
}


/* Theme: Social / Warm */
.theme-social {
    border: 1px solid var(--color-terracotta);
}

.theme-social .hero-overlay {
    background: linear-gradient(to top, rgba(160, 64, 40, 0.9), transparent);
    /* Terracotta tint */
}

.theme-social h4 {
    color: var(--color-terracotta);
}


/* Event Type Grid Animation & Styles */
.event-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 15px;
    margin-bottom: 2rem;
}


.event-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 120px;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--color-gold-light);
}

.event-card.selected {
    border: 2px solid var(--color-gold);
    background: #fffcf5;
    /* Cream light */
    box-shadow: 0 4px 12px rgba(197, 160, 40, 0.2);
    transform: scale(1.05);
}

.event-card .icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.event-card:hover .icon {
    transform: scale(1.2);
}

.event-card.selected .icon {
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.event-card .label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
    line-height: 1.2;
}

.event-card.selected .label {
    color: var(--color-terracotta);
}

@keyframes popIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive adjustment for very small screens */
@media (max-width: 480px) {
    .event-type-grid {
        grid-template-columns: repeat(3, 1fr);
        /* Force 3 cols on mobile */
        gap: 10px;
    }

    .event-card {
        min-height: 100px;
        padding: 10px 5px;
    }

    .event-card .icon {
        font-size: 2rem;
    }

    .event-card .label {
        font-size: 0.75rem;
    }
}



.menu-items-list li {
    padding: 0.8rem 0;
    border-bottom: 1px dashed #eee;
    font-family: 'Lato', sans-serif;
    color: var(--color-text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-items-list li:last-child {
    border-bottom: none;
}

.menu-items-list li:before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--color-gold);
    margin-right: 0.8rem;
    transform: rotate(45deg);
}

/* Special Items (like Chicken/Pork with descriptions) */
.special-item {
    margin-bottom: 1.5rem;
}

.special-item h4 {
    color: var(--color-text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.special-item p {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-bottom: 0;
}

/* Sauce Grid */
.sauce-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.sauce-item {
    background-color: var(--color-cream-light);
    padding: 1rem;
    text-align: center;
    border-radius: 4px;
    transition: transform 0.2s;
    border: 1px solid #eee;
}

.sauce-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-color: var(--color-gold);
}

/* Responsive */
@media (max-width: 768px) {
    .menu-tabs {
        flex-direction: column;
        align-items: stretch;
    }

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

/* Color Swatch & Hover Preview */
.color-swatch-card {
    position: relative;
    /* Anchor for absolute child */
    transition: transform 0.2s ease;
}

.color-swatch-card:hover {
    transform: translateY(-2px);
}

.color-swatch-card.selected {
    border-color: var(--color-gold) !important;
    background-color: #fffcf5;
}

.hover-preview-container {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 110%;
    /* Above the card */
    left: 50%;
    margin-left: -60px;
    /* Center visual adjustment */
    transform: translateY(10px);
    /* Initial offset state */
    width: 150px;
    height: 150px;
    background: #fff;
    border: 2px solid var(--color-gold);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    overflow: hidden;
    padding: 2px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
}

/* Show on hover */
.color-swatch-card:hover .hover-preview-container {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Inflatable Card Zoom Effect */
.inflatable-card img {
    transition: transform 0.4s ease;
}

.inflatable-card:hover img {
    transform: scale(1.5);
}

/* --- Modern Form Styles (Step 3) --- */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-black);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    font-family: 'Lato', sans-serif;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fdfdfd;
    background-clip: padding-box;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s;
    font-family: 'Lato', sans-serif;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: var(--color-gold);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(197, 160, 40, 0.15);
}

.form-control::placeholder {
    color: #aaa;
    font-size: 0.9rem;
}

textarea.form-control {
    min-height: 100px;
}

/* Mobile Optimization for Reservation Wizard */
@media (max-width: 768px) {

    /* Wizard Container */
    .wizard-content {
        padding: 1.5rem 1rem;
        min-height: auto;
        /* Remove fixed height */
    }

    /* Fix Page Header Overflow */
    .page-header {
        width: 100% !important;
        max-width: 100vw !important;
        overflow: hidden !important;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .page-header h1 {
        font-size: 1.6rem !important;
        /* Ensure it's small enough */
        width: 100%;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* Wizard Progress - Compact Mobile View */
    .wizard-progress {
        margin-bottom: 2rem;
        gap: 0;
        justify-content: space-between;
        align-items: flex-start !important;
        /* Force top alignment */
    }

    .progress-step {
        flex: 1;
        width: auto;
        min-width: 60px;
        /* Ensure space for labels */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    .step-label {
        font-size: 0.6rem !important;
        /* Extremely small per request */
        text-align: center;
        display: block;
        letter-spacing: 0px;
        white-space: normal;
        line-height: 1.1;
    }

    /* Wizard Typography - Aggressive Reduction for Mobile */
    .wizard-step h2 {
        font-size: 1.1rem;
        /* Reduced to prevent scrolling */
        margin-bottom: 0.5rem;
        word-wrap: break-word;
        /* Ensure wrapping */
        overflow-wrap: break-word;
        white-space: normal;
        /* Force wrap */
        overflow: visible;
        /* Disable scrollbars if any */
    }

    .wizard-step p {
        font-size: 0.9rem;
        /* Smaller text */
        line-height: 1.4;
    }

    .step-header {
        margin-bottom: 1.5rem;
    }

    .form-group label {
        font-size: 0.85rem;
        /* Compact label */
    }

    .form-control {
        padding: 8px 12px;
        /* Compact input */
        font-size: 0.9rem;
    }

    .step-badge {
        flex-shrink: 0;
        /* Prevent squashing */
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }

    /* Removed duplicate .step-label rule */



    .progress-line {
        margin: 0 2px;
        margin-top: 15px !important;
        /* Perfect center of 30px badge */
        align-self: flex-start !important;
        border-top: 2px solid #e0e0e0 !important;
        height: 0 !important;
        background: none !important;
        flex: 1;
        /* Ensure it stretches */
        display: block;
    }

    /* Calendar Responsiveness */
    .calendar-wrapper {
        width: 100%;
        overflow: hidden;
        /* Contain calendar */
    }

    /* Resize WhatsApp Button */
    .btn-whatsapp {
        font-size: 0.9rem !important;
        padding: 0.8rem 1.5rem !important;
        width: 100%;
        justify-content: center;
    }

    /* Resize Employment Email Button */
    .contact-card .btn {
        font-size: 0.55rem !important;
        /* Aggressively smaller text */
        padding: 0.8rem 0.5rem !important;
        word-break: break-all;
        /* Ensure long email wraps if needed */
        width: 100%;
        display: inline-block;
    }

    .calendar-frame-container {
        max-width: 100%;
        border-radius: 8px;
    }

    /* Force Flatpickr to fit */
    .flatpickr-calendar {
        width: 100% !important;
        /* Force width */
        max-width: 320px;
        /* Limit max width to avoid overflow on small screens if not scaled */
        margin: 0 auto;
        transform: scale(0.9);
        /* Slight scale down for very narrow screens (original is ~310px) */
        transform-origin: center top;
        box-shadow: none !important;
        /* Simpler look on mobile */
    }

    .flatpickr-rContainer {
        width: 100% !important;
    }

    .flatpickr-days {
        width: 100% !important;
    }

    .dayContainer {
        width: 100% !important;
        min-width: unset !important;
        max-width: unset !important;
    }

    /* Event Type Grid - 2 cols on mobile for better visibility */
    .event-type-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }

    /* Index Services Grid Correction */
    .services-grid {
        grid-template-columns: 1fr !important;
        /* Single column */
        justify-items: center;
        /* Center items */
        gap: 2rem;
        padding: 0 1rem;
        /* Ensure padding matching container */
    }

    .services-grid .service-card {
        width: 100%;
        max-width: 350px;
        /* Limit width for aesthetics */
        margin: 0 auto;
        /* Center the card itself */
    }

    /* Adicionales Extras Image Fix */
    .extras-grid {
        grid-template-columns: 1fr !important;
    }

    /* Target the inner div with background image if inline style fails or for uniformity */
    .extra-item>div {
        width: 100% !important;
        min-height: 200px !important;
        /* Force height */
        display: block !important;
    }

    .event-card {
        min-height: 100px;
        padding: 1rem 0.5rem;
    }

    .event-card .icon {
        font-size: 2rem;
    }

    .event-card .icon img {
        width: 40px;
        height: 40px;
    }

    /* Summary Card */
    .summary-card {
        padding: 1rem;
        font-size: 0.75rem !important;
        /* Smaller base text */
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        /* Contain inner floaters */
        box-sizing: border-box;
    }

    .summary-card h3 {
        font-size: 1rem !important;
        /* Smaller title */
        margin-bottom: 0.8rem;
    }

    .summary-rows {
        width: 100%;
        display: block;
    }

    .summary-line {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        width: 100% !important;
        margin-bottom: 0.5rem;
        flex-wrap: wrap !important;
        /* Force wrapping */
        gap: 5px !important;
    }

    .summary-line span:first-child {
        flex: 1 1 auto !important;
        /* Allow growing and shrinking */
        min-width: 0 !important;
        /* Allow shrinking below content size */
        text-align: left;
        padding-right: 5px;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }

    .summary-line span:last-child {
        flex: 0 0 auto !important;
        /* Fixed width for price */
        white-space: nowrap !important;
        font-weight: bold;
    }

    .total-row {
        font-size: 0.9rem !important;
        /* Smaller total */
        margin-top: 5px;
        padding-top: 5px;
    }

    /* Payment Grid */
    .payment-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Action Buttons */
    .wizard-actions {
        flex-direction: column-reverse;
        /* Stack buttons, Back below Next */
        gap: 1rem;
    }

    .wizard-actions .btn {
        width: 100%;
    }
}