/* Reset básico - Optimized */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Screen reader only - SEO and accessibility */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Splash Loading Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--cream) !important;
    background-color: var(--cream) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
}

.splash-content {
    text-align: center;
    z-index: 10;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.splash-logo {
  /*  animation: logoFloat 3s ease-in-out infinite; */
}

.logo-animation {
    width: 150px;
    height: 150px;
  /*  animation: logoPulse 2s ease-in-out infinite;
    filter: none !important;
    -webkit-filter: none !important;
    image-rendering: auto;
    -webkit-image-rendering: auto;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;*/
}

.splash-video {
    width: 100%;
    max-width: 600px;
    height: 337px; /* Altura fija para mantener el aspect ratio del video */
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: var(--cream);
}

.video-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 1;
    background-color: transparent;
    transition: opacity 0.5s ease;
    border-radius: 12px;
}

.video-loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(142, 58, 43, 0.3);
    border-top: 3px solid var(--terracotta);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

.video-loading p {
    color: var(--terracotta);
    font-size: 14px;
    margin: 0;
    font-family: var(--font-body);
}


.splash-video-element {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 12px;
    filter: none;
    object-fit: contain;
}


/* Animaciones del splash */
@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive para splash */
@media (max-width: 768px) {
    .splash-screen {
        background: var(--cream) !important;
        background-color: var(--cream) !important;
    }
    
    .logo-animation {
        width: 120px;
        height: 120px;
    }
    
    .splash-video {
        max-width: 300px;
        height: 169px; /* Mantener aspect ratio en móvil */
        margin: 0 20px;
        background: var(--cream) !important;
    }
    
    .splash-content {
        gap: 1.5rem;
    }
    
    .splash-video-element {
        filter: none !important;
        /* Forzar reproducción en móvil */
        -webkit-playsinline: true;
        playsinline: true;
        /* Asegurar que el video se muestre */
        object-fit: contain;
        width: 100% !important;
        height: 100% !important;
    }
    
    .video-spinner {
        width: 30px;
        height: 30px;
    }
    
    .video-loading p {
        font-size: 12px;
    }
}

/* Performance optimizations */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Prevenir scroll durante splash */
body.splash-loading {
    overflow: hidden;
    height: 100vh;
}

/* Ocultar TODO el contenido durante splash */
body.splash-loading *:not(.splash-screen):not(.splash-screen *) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Asegurar que el splash esté siempre visible */
.splash-screen {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 99999 !important;
    background-color: var(--cream) !important;
}

/* Optimize images */
img {
    max-width: 100%;
    height: auto;
}

/* Optimize transitions - disable by default, enable on hover */
* {
    transition: none;
}

*:hover {
    transition: all 0.3s ease;
}

/* Optimize rendering performance */
.hero-slider,
.gallery-images img,
.contact-main-image {
    transform: translateZ(0); /* Force hardware acceleration */
    backface-visibility: hidden;
}

/* Optimize scroll performance */
.map-section,
.contact-section {
    contain: layout style paint;
}


/* Fuentes personalizadas */
@font-face {
    font-family: 'Averia Libre';
    src: url('fonts/AveriaLibre-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Optimize font loading */
}

@font-face {
    font-family: 'IM Fell DW';
    src: url('fonts/IMFePIrm28P.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IM Fell DW';
    src: url('fonts/IMFePIit28P.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

/* Variables CSS */
:root {
    --font-body: 'Averia Libre', sans-serif;
    --font-heading: 'IM Fell DW', serif;
    --terracotta: #a33200;
    --cream: #ffe8c5; 
    --text-dark: #2C1B0F;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: normal;
    font-style: italic;
}

/* Main Container */
.main-container {
    background-image: url('images/bg-section-gallery.png');
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
    background-color: var(--cream);
    padding: 0;
    min-height: 100vh;
}

/* Responsive para Main Container */
@media (max-width: 768px) {
    .main-container {
        background-size: contain;
        background-position: top center;
        padding: 0;
        min-height: auto;
    }
}

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

/* Header */
.header {
    background-color: var(--cream);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Scroll offset para anchor links */
html {
    scroll-behavior: smooth;
}

/* Offset para compensar header fijo */
section[id] {
    scroll-margin-top: 80px;
}

/* Offset específico para secciones principales */
#reservacion,
#ubicacion {
    scroll-margin-top: 90px;
}

.header .page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex-shrink: 0;
}

.logo-img {
    height: 76px;
    width: auto;
}

.page-nav {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--terracotta);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-dark);
}

/* Menu links with ESP | ENG */
.menu-links {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.menu-link {
    color: var(--terracotta);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.menu-link:hover {
    color: var(--text-dark);
}

.menu-separator {
    color: var(--terracotta);
    margin: 0 2px;
}

/* Hamburger menu (oculto en desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    position: relative;
    z-index: 1002;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--terracotta);
    margin: 3px 0;
    transition: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
    /* Asegurar full-width en móvil */
    section {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Contenedores de secciones full-width */
    .welcome-container,
    .gallery-container,
    .map-container,
    .contact-container {
        max-width: 100% !important;
        padding: 0 20px !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Prevenir que OpenTable u otros scripts cambien el ancho */
    body, html {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .main-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .header .page-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 20px !important;
        margin: 0 auto !important;
        max-width: 1200px !important;
    }
    
    .page-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--cream);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        gap: 30px;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    
    .nav-active {
        left: 0;
    }
    
    .nav-link {
        font-size: 20px;
        padding: 10px 20px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background-color: var(--terracotta);
        color: var(--cream);
    }
    
    .hamburger {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1002 !important;
        width: 30px !important;
        height: 30px !important;
    }
    
    /* Proteger contra scripts externos */
    .hamburger[style*="display: none"] {
        display: flex !important;
    }
    
    .hamburger[style*="visibility: hidden"] {
        visibility: visible !important;
    }
    
    .hamburger[style*="opacity: 0"] {
        opacity: 1 !important;
    }
    
    .hamburger-active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger-active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .logo-img {
        height: 50px;
    }
}

/* Hero Slider */
.hero-slider {
    margin-top: 90px; /* Espacio para el header fijo */
    position: relative;
    height: 600px;
    min-height: 600px;
    overflow: hidden;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}

.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: white;
    transform: scale(1.2);
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Welcome Section */
.welcome-section {
    position: relative;
    min-height: 100vh;
    background-image: url('images/bg-section-welcome.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    overflow: hidden;
}

.welcome-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.welcome-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    min-height: 80vh;
}

/* Columna izquierda */
.welcome-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Columna derecha */
.welcome-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-top: 70px;
}

.welcome-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: normal;
    line-height: 1.3;
    color: #ffe6bb;
    margin: 0;
    font-style: italic;
    text-align: center;
    margin-bottom: 40px;
}

.welcome-description {
    font-family: var(--font-body);
    font-size: 1.1rem; 
    line-height: 1.8;
    color: #993921;
}

.welcome-description p {
    margin-bottom: 20px;
}

.welcome-img-1,
.welcome-img-2 {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.welcome-img-1:hover,
.welcome-img-2:hover {
    transform: translateY(-5px)!important;
}

/* Responsive para Welcome Section */
@media (max-width: 768px) {

    .welcome-section {
        min-height: auto;
        padding: 40px 0;
    }
    
    .welcome-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* En móvil, columna derecha primero */
    .welcome-right {
        order: -1;
        padding-top: 0;
    }
    
   
    /* Columna izquierda después */
    .welcome-left {
        order: 1;
    }
    
    .welcome-left,
    .welcome-right {
        gap: 20px;
    }
    
    .welcome-title {
        font-size: 1.9rem;
    }
    
    .welcome-description {
        font-size: 1rem;
    }
    
    .welcome-img-1,
    .welcome-img-2 {
        max-height: 300px;
        object-fit: cover;
    }
}

/* Reservation Section */
.reservation-section {
    display: flex;
    margin-top: 20px;
    justify-content: center;
    align-items: center;
    background-color: transparent !important;
    border-radius: 12px;
    margin: 0px auto;
    max-width: 1200px;
}
.ot-standard .ot-title {
    color: #993921 !important;
}

/* OpenTable Logo */
.opentable-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

.opentable-logo-img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}
.opentable-logo-img:hover {
    transform: scale(1.1);
}

/* Animación base para elementos con clase animate-in */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.animate-in.animate-active {
    opacity: 1;
    transform: translateY(0);
    will-change: auto; /* Remove will-change after animation */
}

/* Animación especial para imágenes de galería */
.gallery-images .animate-in {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    will-change: opacity, transform;
}

.gallery-images .animate-in.animate-active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Animación especial para el slider */
.hero-slider.animate-in {
    opacity: 1;
    transform: translateY(20px);
    transition: all 1s ease-out !important;
}

.hero-slider.animate-in.animate-active {
    opacity: 1;
    transform: translateY(0);
}

/* OpenTable Widget Customization */
.reservation-section .ot-widget-container {
    background-color: var(--cream) !important;
    border-radius: 8px !important;
    padding: 20px !important;
}
.reservation-section .ot-dtp-picker.ot-standard {
    background-color: transparent !important;
}

.reservation-section .ot-widget-container .ot-widget-form {
    background-color: transparent !important;
}

.reservation-section .ot-widget-container .ot-widget-button {
    background-color: var(--terracotta) !important;
    color: var(--cream) !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 12px 24px !important;
    font-family: 'Averia Libre', sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
}

.reservation-section .ot-widget-container .ot-widget-button:hover {
    background-color: var(--text-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
}

.reservation-section .ot-widget-container .ot-widget-input {
    border: 2px solid #e0e0e0 !important;
    border-radius: 6px !important;
    padding: 10px 12px !important;
    font-family: 'Averia Libre', sans-serif !important;
    font-size: 16px !important;
    transition: border-color 0.3s ease !important;
}

.reservation-section .ot-widget-container .ot-widget-input:focus {
    border-color: var(--terracotta) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(142, 58, 43, 0.1) !important;
}

/* Estilos más específicos para forzar la fuente Averia Libre */
.reservation-section * {
    font-family: 'Averia Libre', sans-serif !important;
}

.reservation-section input,
.reservation-section select,
.reservation-section button,
.reservation-section textarea,
.reservation-section label,
.reservation-section span,
.reservation-section div,
.reservation-section p {
    font-family: 'Averia Libre', sans-serif !important;
}

/* Selectores específicos para elementos de OpenTable */
.reservation-section [class*="ot-"] {
    font-family: 'Averia Libre', sans-serif !important;
}

.reservation-section [class*="ot-"] input,
.reservation-section [class*="ot-"] select,
.reservation-section [class*="ot-"] button,
.reservation-section [class*="ot-"] label,
.reservation-section [class*="ot-"] span {
    font-family: 'Averia Libre', sans-serif !important;
}

/* Forzar en todos los elementos dentro del widget */
.reservation-section iframe * {
    font-family: 'Averia Libre', sans-serif !important;
}

/* Forzar responsive en OpenTable Widget */
@media (max-width: 768px) {
    .reservation-section .ot-widget-container,
    .reservation-section .ot-widget-container *,
    .reservation-section [class*="ot-"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Solución simple para z-index de OpenTable */
.reservation-section {
    position: relative;
    z-index: 1;
}

.reservation-section .ot-widget-container {
    position: relative;
    z-index: 9999;
}

.reservation-section .ot-widget-container * {
    z-index: 9999 !important;
}

/* Fix simple para date picker - solo z-index */
.reservation-section .ot-dtp-picker {
    z-index: 10000 !important;
}

/* Responsive para OpenTable Widget */
@media (max-width: 768px) {
    .reservation-section .ot-widget-container table,
    .reservation-section .ot-widget-container tr,
    .reservation-section .ot-widget-container td {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .reservation-section .ot-widget-container td {
        padding: 5px 0 !important;
    }
    
}

/* Responsive para slider */
@media (max-width: 768px) {
    .hero-slider {
        height: 400px;
        min-height: 400px;
    }
    
    .slider-indicators {
        bottom: 20px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    
    /* Responsive para OpenTable Widget */
    .reservation-section {
        padding: 10px !important;
        margin: 0px !important;
    }
    
    .reservation-section .ot-widget-container {
        padding: 10px !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    
    /* Forzar layout vertical en móvil */
    .reservation-section .ot-widget-container .ot-widget-form {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }
    
    .reservation-section .ot-widget-container .ot-widget-form > * {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Inputs y selects */
    .reservation-section .ot-widget-container input,
    .reservation-section .ot-widget-container select,
    .reservation-section .ot-widget-container .ot-widget-input,
    .reservation-section .ot-widget-container .ot-widget-select {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 10px !important;
        font-size: 16px !important;
        margin: 5px 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Botón */
    .reservation-section .ot-widget-container button,
    .reservation-section .ot-widget-container .ot-widget-button {
        width: 100% !important;
        padding: 15px 10px !important;
        font-size: 16px !important;
        margin: 10px 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Título */
    .reservation-section .ot-widget-container h2,
    .reservation-section .ot-widget-container .ot-widget-title {
        font-size: 18px !important;
        margin: 10px 0 !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    /* Logo OpenTable responsive */
    .opentable-logo {
        margin-bottom: 0px;
        padding: 5px 0;
    }
    
    .opentable-logo-img {
        height: 40px;
    }
    
}

/* Gallery Section */
.gallery-section {
    padding: 0;
    margin-top: 80px;
    text-align: center;
    background-color: transparent;
}

.gallery-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: normal;
    color: var(--terracotta);
    margin-bottom: 60px;
}

.gallery-images {
    columns: 3;
    column-gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-images img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    margin-bottom: 20px;
    display: block;
    break-inside: avoid;
}

.gallery-images img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Responsive para Gallery */
@media (max-width: 768px) {
    .gallery-section {
        padding: 60px 0;
    }
    
    .gallery-title {
        font-size: 1.9rem;
        margin-bottom: 40px;
    }
    
    .gallery-images {
        columns: 2;
        column-gap: 15px;
        padding: 0 15px;
    }
    
    .gallery-images img {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .gallery-images {
        columns: 1;
        column-gap: 10px;
    }
    
    .gallery-images img {
        margin-bottom: 10px;
    }
}

/* Contact Section Styles */
.contact-section {
    padding: 30px 0;
    background-image: url('images/bg-section-contact.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

@media (max-width: 768px) {
    .contact-section {
        background-image: none;
    }
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

.contact-content {
    display: flex;
    align-items: center;
    gap: 100px;
    min-height: 500px;
}

.contact-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.contact-main-image {
    max-width: 100%;
    min-width: 530px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-main-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.contact-info {
    flex: 1;
    text-align: left;
    color: var(--terracotta);
}

.contact-title, .contact-subtitle, .contact-call {
   font-style: italic;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 2.1875rem; /* 35px */
    margin-bottom: 0;
}

.contact-subtitle {
    font-family: var(--font-heading);
    font-size: 2.1875rem; /* 35px */
    margin-bottom:60px;
}

.contact-call {
    font-family: var(--font-heading);
    font-size: 2.1875rem; /* 35px */
    margin-bottom: 40px;
}

.social-icons {
    display: flex;
    justify-content: left;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--terracotta);
    color: var(--cream);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.social-link:hover {
    background-color: var(--text-dark);
    transform: scale(1.05);
}

.social-icon {
    width: 24px;
    height: 24px;
    fill: var(--cream);
    display: block;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Contact Section Responsive */
@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
        background-attachment: scroll;
    }
    .contact-main-image{
        min-width: 100%;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .contact-title, .contact-subtitle, .contact-call {
        font-size: 1.9rem;
        text-align: center;
     }
     
     .contact-subtitle{
        margin-bottom: 20px;
     }
    
    .social-icons {
        gap: 15px;
        justify-content: center;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
    }
    
    .social-icon {
        width: 20px;
        height: 20px;
        fill: var(--cream);
        display: block;
        margin: 0;
        padding: 0;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

/* Footer Styles */
.footer {
    background-color: #a33100;
    padding: 40px 0 0 0;
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    min-height: 80px;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo-img {
    height: 60px;
    width: auto;
}

.footer-copyright {
    flex-shrink: 0;
}

.footer-copyright p {
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
}

.footer-line {
    height: 2px;
    background-color: var(--text-dark);
    width: 100%;
    margin-top: 20px;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-logo-img {
        height: 50px;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--terracotta);
}

#lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.lightbox-btn {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 6px 10px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.lightbox-btn:hover {
    background-color: var(--terracotta);
    transform: scale(1.1);
}

.lightbox-btn:first-child {
    margin-left: 20px;
}

.lightbox-btn:last-child {
    margin-right: 20px;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background-color: var(--cream);
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Desktop: Full width map within container */
@media (min-width: 768px) {
    .map-container {
        max-width: 1200px;
        padding: 0 20px;
    }
    
    .map-title {
        padding: 0;
        max-width: none;
        margin: 0 auto 40px auto;
    }
}

.map-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: normal;
    color: var(--terracotta);
    margin-bottom: 40px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.map-layout {
    display: flex;
    gap: 0;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-info-panel {
    width: 35%;
    background-color: white;
    padding: 0;
    position: relative;
    z-index: 2;
}

.map-wrapper {
    width: 100%;
    position: relative;
}

/* Desktop: Floating panel over full-width map within container */
@media (min-width: 768px) {
    .map-layout {
        display: block;
        position: relative;
        background: none;
        box-shadow: none;
        border-radius: 0;
        overflow: visible;
        width: 100%;
    }
    
    .map-info-panel {
        position: absolute;
        top: 20px;
        left: 20px;
        width: 350px;
        height: auto;
        background-color: white;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        z-index: 10;
        overflow: hidden;
    }
    
    .map-wrapper {
        width: 100%;
        height: 500px;
    }
    
    .map-iframe {
        width: 100%;
        height: 500px;
        border-radius: 12px;
    }
}

/* Mobile: Keep current layout */
@media (max-width: 767px) {
    .map-layout {
        display: flex;
        flex-direction: column;
        gap: 0;
        background-color: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .map-info-panel {
        width: 100%;
        background-color: white;
        padding: 0;
        position: relative;
        z-index: 2;
    }
    
    .map-wrapper {
        width: 100%;
        height: 300px;
    }
    
    .map-iframe {
        width: 100%;
        height: 300px;
        border-radius: 0 0 12px 12px;
    }
}

.location-dropdown {
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-header {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--terracotta);
    color: white;
    transition: background-color 0.3s ease;
}

.dropdown-header:hover {
    background-color: var(--text-dark);
}

.selected-location {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
}

.dropdown-arrow {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.dropdown-header.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-top: none;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.dropdown-menu.active {
    display: block;
}

.location-option {
    padding: 15px 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #f5f5f5;
}

.location-option:last-child {
    border-bottom: none;
}

.location-option:hover {
    background-color: #f8f8f8;
}

.location-option.active {
    background-color: var(--cream);
    color: var(--terracotta);
    font-weight: 500;
}

.location-item {
    border-bottom: 1px solid #f0f0f0;
}

.location-item:last-child {
    border-bottom: none;
}

.location-header {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.location-header:hover {
    background-color: #f8f8f8;
}

.location-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--terracotta);
    margin: 0;
    font-weight: normal;
}

.location-arrow {
    font-size: 1.2rem;
    color: var(--terracotta);
    transition: transform 0.3s ease;
}

.location-item.active .location-arrow {
    transform: rotate(90deg);
}

.location-details {
    padding: 0 30px 30px 30px;
    display: none;
}
.location-phone a {
    color: var(--terracotta);
    text-decoration: none;
}
.location-phone a:hover {
    color: var(--text-dark);
    text-decoration: underline;
}

.location-item.active .location-details {
    display: block;
}

.location-address,
.location-phone,
.location-hours {
    font-family: var(--font-body);
    color: #666;
    margin: 0 0 15px 0;
    line-height: 1.6;
}

.location-address {
    font-weight: 500;
    color: #333;
}

.location-hours {
    font-size: 0.95rem;
}

.location-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.location-status {
    color: var(--terracotta);
    font-weight: 600;
    font-style: italic;
    margin: 10px 0;
    font-size: 1.1rem;
    font-family: var(--font-body);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--terracotta);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: var(--text-dark);
}

.map-wrapper {
    width: 100%;
    position: relative;
}

.map-iframe {
    width: 100%;
    height: 500px;
    border: none;
    filter: sepia(0.2) hue-rotate(10deg) saturate(0.9) contrast(1.1);
}

/* Responsive para Map */
@media (max-width: 768px) {
    .map-section {
        padding: 0px 0;
    }
    
    .map-title {
        font-size: 1.9rem;
        margin-bottom: 30px;
    }
    
    .map-layout {
        flex-direction: column;
    }
    
    .map-info-panel {
        width: 100%;
        order: 2;
    }
    
    .map-wrapper {
        width: 100%;
        order: 1;
    }
    
    .map-iframe {
        height: 300px;
    }
    
    .map-container {
        padding: 0 15px;
    }
    
    .location-header {
        padding: 20px 20px;
    }
    
    .location-details {
        padding: 0 20px 20px 20px;
    }
}