:root {
    --primary: #0a2e29; /* Deep Emerald Green */
    --primary-light: #164a42;
    --secondary: #d4af37; /* Metallic Gold */
    --accent: #f0d78c;
    --dark: #0f1413; /* Near black with a hint of green */
    --light: #fdfaf5; /* Creamy white */
    --white: #ffffff;
    --text-main: #2c3332;
    --text-muted: #5c6664;
    --glass: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-soft: 0 10px 40px rgba(0,0,0,0.08);
    --shadow-gold: 0 10px 40px rgba(212, 175, 55, 0.15);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
    line-height: 1.7;
    background-color: var(--light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

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

.container.narrow {
    max-width: 800px;
}

/* Navbar */
#navbar {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1300px;
    z-index: 1000;
    transition: var(--transition);
}

#navbar .container {
    background: rgba(10, 46, 41, 0.15); /* Much more translucent */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px; /* Slightly less rounded */
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

#navbar.scrolled .container {
    background: rgba(10, 46, 41, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 0.8rem 2rem;
    border-color: rgba(255, 255, 255, 0.1);
}

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

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.italy-flag-mini {
    display: flex;
    width: 24px;
    height: 14px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.italy-flag-mini div { flex: 1; }
.italy-flag-mini .green { background: #008C45; }
.italy-flag-mini .white { background: #F4F5F0; }
.italy-flag-mini .red { background: #CD212A; }

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

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9); /* Slightly off-white for better blend */
    font-size: 0.75rem; /* Match reference size */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    position: relative;
    font-family: 'Montserrat', sans-serif;
}

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

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

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

.btn-reservar {
    background: transparent;
    color: var(--white) !important;
    padding: 0.7rem 1.8rem !important;
    border-radius: 8px !important;
    border: 1.5px solid rgba(212, 175, 55, 0.6) !important;
    font-weight: 500 !important;
    font-size: 0.75rem !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
}

.btn-reservar:hover {
    background: var(--secondary) !important;
    color: var(--dark) !important;
    transform: none;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.btn-reservar::after { display: none !important; }

/* Mobile Menu Button - Hidden on desktop */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero outer section — fills surrounding space with brand emerald */
.hero-section {
    background: linear-gradient(to bottom, var(--primary) 50%, var(--white) 50%);
    /* Since the section height is determined by the slider, a 50% split would be the middle of the section, 
       but we need it to be the middle of the SLIDER. 
       The slider has 6rem padding above it and -0.7rem margin-top. 
       We'll use a fixed calc for precision. */
    background: linear-gradient(
        to bottom, 
        var(--primary) 0%, 
        var(--primary) calc(6rem - 0.7rem + 39vh), 
        var(--white) calc(6rem - 0.7rem + 39vh), 
        var(--white) 100%
    );
    padding: 6rem 0 0;
    width: 100%;
}

/* Hero Wrapper - contains slider */
.hero-wrapper {
    display: flex;
    align-items: stretch;
    width: 98%;
    max-width: 1600px;
    margin: 0 auto;
    margin-top: -0.7rem; /* Moved up another 0.2cm from -0.2rem */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

/* Italian Flag Sidebars - removed */

/* Hero Slider */
.hero-slider {
    flex: 1;
    height: 78vh;
    position: relative;
    overflow: hidden;
    background: var(--dark);
}

.slider-container {
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.85) 0%,
        rgba(10, 10, 10, 0.3) 40%,
        rgba(10, 10, 10, 0.0) 70%
    );
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-text {
    position: relative;
    z-index: 5;
    width: 100%;
    padding: 4rem 5rem;
    background: transparent;
    display: flex;
    align-items: flex-end;
}

.slide::after {
    display: none !important;
}

.slide-image.slide-dessert {
    background-position: center 30%;
}

.hero-content {
    width: 100%;
    max-width: 700px;
    padding: 0;
    position: relative;
    z-index: 10;
    text-align: left;
    transform: translateY(30px);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease;
    opacity: 0;
    margin: 0;
}

.slide.active .hero-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--white);
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.92;
    max-width: 500px;
    margin-left: 0;  /* Left-aligned */
    margin-right: 0;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-content .subtitle {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

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

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 4rem;
    right: 4rem;
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.slider-controls button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.slider-controls button:hover {
    background: var(--secondary);
    color: var(--dark);
    border-color: var(--secondary);
}

/* Slider Progress Bar */
.slider-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.slider-progress-bar {
    height: 100%;
    width: 0%;
    background: #CD212A; /* Official Italian Flag Red */
    transition: width linear;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

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

/* Primera sección tras el hero: menos padding superior (el 8rem dejaba una franja crema vacía ancha) */
.hero-section + .section {
    padding-top: 3rem;
}

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

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

.subtitle {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.subtitle.gold {
    color: var(--secondary);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

/* Animated History Collage */
.collage {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.5rem;
    height: 500px;
    perspective: 1200px;
}

.collage:hover .collage-item {
    filter: blur(2px) grayscale(30%);
    opacity: 0.8;
}

.collage-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center center;
    animation: float 6s ease-in-out infinite alternate;
}

/* Organic floating timings */
.item-main { grid-column: 1 / 2; grid-row: 1 / 3; animation-delay: 0s; }
.item-top { grid-column: 2 / 3; grid-row: 1 / 2; animation-delay: -2s; }
.item-bottom { grid-column: 2 / 3; grid-row: 2 / 3; animation-delay: -4s; }

.collage .collage-item:hover {
    filter: none;
    opacity: 1;
    transform: scale(1.25) translateZ(50px);
    z-index: 20;
    position: relative;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
    animation-play-state: paused;
}

@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-12px); }
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
}

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

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
    transform: translateY(-3px);
}

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

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--dark);
}

/* Menu Cards (Reveal Style) */
.menu-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 2rem;
}

.menu-grid > .card {
    flex: 1 1 320px;
    max-width: 360px;
}

.card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05); /* Soft border for dark mode */
}

.card-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    z-index: 1;
}

.card-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(10,46,41,0.95) 0%, rgba(10,46,41,0.4) 50%, transparent 100%);
    z-index: 2;
    opacity: 0.8;
    transition: opacity 0.4s ease;
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 2rem 2rem;
    z-index: 3;
    transform: translateY(65px); /* hide paragraph initially */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--white);
}

.card h3 {
    margin-bottom: 0.5rem;
    color: var(--white);
    font-size: 1.6rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.card p {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0;
    margin-bottom: 1.5rem;
    transition: opacity 0.4s ease;
    color: rgba(255,255,255,0.8);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1rem;
}

.category-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
    font-weight: 600;
}

.price {
    font-weight: 700;
    color: var(--white);
    font-size: 1.3rem;
    font-family: 'Playfair Display', serif;
}

/* Hover Reveal Effects */
.card:hover .card-img {
    transform: scale(1.08);
}
.card:hover .card-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(10,46,41,0.98) 0%, rgba(10,46,41,0.8) 60%, rgba(10,46,41,0.4) 100%);
}
.card:hover .card-content {
    transform: translateY(0);
}
.card:hover p {
    opacity: 1;
}

/* Hide for filtering */
.menu-item.hide {
    display: none;
}

/* Form */
.reservation-form {
    background: var(--white);
    padding: 4rem;
    border-radius: 12px;
    margin-top: 4rem;
    border: 1px solid rgba(10, 46, 41, 0.05);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
}

.form-group input, .form-group select {
    padding: 1.2rem;
    border: 1px solid #e0e6e5;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background: #fcfdfd;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.btn-block {
    width: 100%;
    margin-top: 1rem;
    font-size: 1rem;
    padding: 1.2rem;
}

/* Testimonials Section */
#testimonios {
    position: relative;
    overflow: hidden; /* Evita que los adornos sobresalgan de la sección */
}

.decor-element {
    position: absolute;
    width: 350px;
    height: 350px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.12; /* Muy sutil */
    pointer-events: none;
    z-index: 0;
    transition: transform 0.5s ease;
    filter: sepia(0.2) brightness(1.2); /* Tono artístico */
}

.decor-left {
    bottom: -80px;
    left: -100px;
    transform: rotate(-15deg);
}

.decor-right {
    top: -50px;
    right: -80px;
    transform: rotate(25deg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
    position: relative;
    z-index: 5; /* Por encima de los adornos */
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3.5rem 2.8rem 2.8rem;
    border-radius: 12px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(5px);
}

.testimonial-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--secondary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.quote-icon {
    position: absolute;
    top: 1rem;
    left: 2.2rem;
    font-size: 5rem;
    color: var(--secondary);
    opacity: 0.15;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.testimonial-card p {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.author-name {
    display: block;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.author-source {
    display: block;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    margin-top: 0.5rem;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 8rem 0 3rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

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

.footer-info .logo {
    margin-bottom: 2rem;
    display: inline-block;
}

.footer-info p {
    opacity: 0.7;
    max-width: 350px;
    font-size: 0.95rem;
}

.footer h4 {
    color: var(--secondary);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1rem;
}

.footer p {
    margin-bottom: 1rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.8rem;
    opacity: 0.4;
    letter-spacing: 1px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--dark);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

/* Decorative Background Elements */
#historia {
    position: relative;
    overflow: hidden;
}
#historia::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -100px;
    width: 700px;
    height: 700px;
    background-image: url('assets/deco_draw.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.15; /* un poco más visible */
    mix-blend-mode: multiply;
    /* Tint the sketch slightly gold */
    filter: sepia(1) saturate(4) hue-rotate(-10deg) brightness(0.85);
    z-index: 0;
    pointer-events: none;
    transform: rotate(20deg);
}
#historia::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(253, 250, 245, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

#menu {
    position: relative;
    overflow: hidden;
}
#menu::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background-image: url('assets/deco_draw.png'), url('assets/deco_draw_2.png');
    background-size: 700px, 650px;
    background-position: -150px 30%, calc(100% + 150px) 70%;
    background-repeat: no-repeat;
    opacity: 0.3; /* Substantially increased to ensure visibility */
    /* Invert to white, then tint gold */
    filter: invert(1) sepia(0.5) hue-rotate(5deg) saturate(2);
    mix-blend-mode: screen;
    z-index: 1; /* Bring closer */
    pointer-events: none;
}

#reservas {
    position: relative;
    overflow: hidden;
}
#reservas::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -180px;
    width: 700px;
    height: 700px;
    background-image: url('assets/deco_draw_2.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.12; /* un poco más visible */
    mix-blend-mode: multiply;
    /* Tint the sketch slightly emerald green */
    filter: sepia(1) saturate(3) hue-rotate(100deg) brightness(0.9);
    z-index: 0;
    pointer-events: none;
    transform: rotate(5deg);
}
#menu::after {
    content: "";
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(10, 46, 41, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.footer {
    position: relative;
    overflow: hidden;
}
/* We use a wrapper around the sketch so we can use ::before and ::after for different things */
.footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 80% 80%, rgba(20, 80, 70, 0.2) 0%, rgba(15, 20, 19, 0) 60%);
    z-index: 0;
    pointer-events: none;
}
.footer::after {
    content: "";
    position: absolute;
    top: -50px;
    right: 10%;
    width: 400px;
    height: 400px;
    background-image: url('assets/deco_draw.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.08; /* un poco más */
    filter: invert(1) sepia(0.5) hue-rotate(90deg) saturate(2); /* slight emerald tint */
    mix-blend-mode: screen;
    z-index: 0;
    pointer-events: none;
    transform: rotate(15deg);
}

#historia .container, #menu .container, #reservas .container, .footer .container, .footer-bottom {
    position: relative;
    z-index: 2;
}

/* Custom Features / Novedades Section (Image Cards) */
.image-cards-grid {
    display: grid;
    /* 2 columns on desktop as specifically requested */
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.image-card {
    position: relative;
    display: block;
    height: 380px;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.image-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.image-card-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    z-index: 1;
}

.image-card:hover .image-card-bg {
    transform: scale(1.08);
}

.image-card-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Dark gradient overlay mimicking the photo */
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0) 100%);
    z-index: 2;
    transition: background 0.4s ease;
}

.image-card:hover .image-card-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
}

.image-card-title {
    position: absolute;
    bottom: 30px;
    left: 20px;
    right: 20px;
    z-index: 3;
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    transition: bottom 0.4s ease;
}

.image-card:hover .image-card-title {
    bottom: 35px;
}

.image-card-line {
    position: absolute;
    bottom: 18px;
    left: 20px;
    /* Spans width minus side paddings */
    width: calc(100% - 40px);
    height: 1px;
    background: rgba(255, 255, 255, 0.25);
    z-index: 3;
    transition: background 0.4s ease, bottom 0.4s ease;
}

.image-card:hover .image-card-line {
    background: var(--secondary);
    bottom: 23px;
}

@media (max-width: 768px) {
    .image-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility */
.shadow-lg { box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.shadow-xl { box-shadow: 0 30px 60px rgba(0,0,0,0.15); }
.shadow-2xl { box-shadow: 0 40px 100px rgba(0,0,0,0.3); }
.rounded { border-radius: 8px; }
.img-fluid { max-width: 100%; height: auto; }

/* Section Reservas (Glassmorphism) */
.reservation-card-glass {
    background: rgba(10, 46, 41, 0.6); /* Use a darker base to ensure high contrast */
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 5rem;
    border-radius: 20px;
    color: var(--white);
}

.reservation-form.modern-form {
    background: transparent; /* Fix: Override the default white background */
    padding: 0;
    border: none;
    box-shadow: none;
}

.glass-group label {
    color: var(--secondary) !important; /* Gold labels for visibility and elegance */
    font-weight: 600;
}

.glass-group input, .glass-group select {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: var(--white) !important;
    padding: 1.2rem;
}

.glass-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Contact Grid */
.contact-grid {
    gap: 6rem !important;
}

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

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

.detail-item .icon {
    font-size: 1.5rem;
    background: var(--primary);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
}

.detail-item h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.card-simple {
    background: var(--white);
    padding: 4rem;
    border-radius: 12px;
}

.bg-light {
    background: var(--light);
}

.contact-form textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #e0e6e5;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background: #fcfdfd;
}

.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(10, 46, 41, 0.1);
}

@media (max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr; gap: 4rem !important; }
    .reservation-card-glass { padding: 3rem 1.5rem; }
    
    /* Responsive Slider for Tablet */
    .hero-wrapper { width: 100%; border-radius: 0; margin-top: 0; }
    .hero-slider { height: auto; min-height: 100vh; }
    .slide { flex-direction: column; }
    .slide-image {
        flex: none;
        width: 100%;
        height: 45vh; /* Gives it vertical space */
        order: 1;
        background-size: contain;
    }
    .slide-text {
        flex: 1 1 auto;
        width: 100%;
        order: 2;
        padding: 3rem 2rem;
        min-height: 40vh;
    }
}

/* Animations */
.fade-in { animation: fadeIn 1s ease-out forwards; }
.fade-in-delay { animation: fadeIn 1s ease-out 0.5s forwards; opacity: 0; }
.fade-in-delay-more { animation: fadeIn 1s ease-out 1s forwards; opacity: 0; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero h1 { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: min(85%, 350px);
        height: 100vh;
        background: var(--primary);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        padding: 4rem 2rem;
        transition: var(--transition);
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    
    .nav-links.active { right: 0; }
    
    .nav-links a { font-size: 1rem; }

    .mobile-menu-btn { display: flex; }
    
    /* Hamburger Animation */
    .mobile-menu-btn.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .section { padding: 4rem 0; }
    .hero-section + .section {
        padding-top: 2rem;
    }
    .form-row { grid-template-columns: 1fr; }
    
    .hero-section {
        background: var(--white);
        padding-top: 4rem; /* Reduced padding on mobile */
    }
    .hero-slider { height: auto; min-height: 85vh; }
    .slide { flex-direction: column; }
    .slide-text { 
        flex: 1 1 auto; 
        order: 2; 
        width: 100%; 
        padding: 2rem 1.5rem;
        background: #111111;
        min-height: 40%;
    }
    .slide-image { 
        flex: none; 
        order: 1; 
        width: 100%;
        height: 40vh;
        background-size: contain;
    }
    .hero-content h1 { font-size: 2.2rem; }
    .slider-controls { bottom: 1.5rem; right: 1rem; scale: 0.8; }
    
    .logo-img { height: 50px; }
    
    .nav-links li {
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.4s ease forwards;
    }
    
    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* Staggered link animation */
    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.5s; }
    .nav-links.active li:nth-child(6) { transition-delay: 0.6s; }

    .collage {
        height: auto;
        min-height: 500px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 250px 250px;
        gap: 1rem;
        perspective: none;
    }
    .collage-item { animation: none; }
    .item-main { grid-column: 1 / 3; grid-row: 1 / 2; }
    .item-top { grid-column: 1 / 2; grid-row: 2 / 3; }
    .item-bottom { grid-column: 2 / 3; grid-row: 2 / 3; }
}
