/* IMPORTACIÓN DE FUENTES ELEGANTES DE GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&family=Playfair+Display:ital,wght@0,600;0,800;1,400&display=swap');

:root {
    --color-principal: #1b4332;      /* Verde bosque característico */
    --color-oro-sutil: #b89c72;      /* Dorado apagado premium para detalles */
    --color-oscuro: #2b2d2f;         /* Gris carbón suave para textos legibles */
    --color-fondo: #f4efe6;          /* Color arena cálido de fondo general */
    --color-tarjeta: #fbf9f5;        /* Crema roto para los contenedores */
    --color-rojo-pdf: #c93b3b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-fondo);
    color: var(--color-oscuro);
    
    /*  EFECTO TEXTURA: Patrón de puntitos sutiles */
    background-image: radial-gradient(rgba(27, 67, 50, 0.15) 1.2px, transparent 1.2px);
    background-size: 24px 24px;
}

/* CABECERA FLOTANTE CON ACABADO DE CRISTAL OPALINO */
header {
    background-color: rgba(251, 249, 245, 0.92);
    backdrop-filter: blur(8px);
    padding: 18px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(27, 67, 50, 0.04);
    border-bottom: 1px solid rgba(27, 67, 50, 0.03);
}

header .logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-principal);
    letter-spacing: 0.5px;
}

header nav a {
    text-decoration: none;
    color: var(--color-oscuro);
    margin-left: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

header nav a:hover { color: var(--color-oro-sutil); }

/* SECCIÓN HERO (VÍDEO CINEMÁTICO COMPLETO) */
.hero-container {
    position: relative;
    height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.65));
    z-index: 2;
}

.hero-text {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.hero-text p {
    font-size: 1.35rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 35px;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.arrow-down {
    color: white;
    font-size: 1.8rem;
    animation: bounce 2s infinite;
    display: inline-block;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-12px); }
    60% { transform: translateY(-6px); }
}

/* SECCIÓN ESPECIALIDADES */
.features-section {
    padding: 90px 8%;
    text-align: center;
}

.features-section h2 { 
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem; 
    color: var(--color-principal); 
    margin-bottom: 12px; 
}

.subtitle { 
    color: #6e7174; 
    font-size: 1.05rem; 
    max-width: 600px;
    margin: 0 auto 50px auto;
    line-height: 1.5;
}

.features-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-card {
    background: var(--color-tarjeta);
    padding: 40px 30px;
    border-radius: 18px;
    width: 30%;
    min-width: 280px;
    box-shadow: 0 10px 30px rgba(27, 67, 50, 0.02);
    border: 1px solid rgba(27, 67, 50, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover { 
    transform: translateY(-6px); 
    box-shadow: 0 15px 35px rgba(27, 67, 50, 0.06);
}

.feature-icon {
    font-size: 2.3rem;
    color: var(--color-oro-sutil);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.feature-card h3 { font-size: 1.25rem; margin-bottom: 12px; color: var(--color-principal); font-weight: 700; }
.feature-card p { color: #5a5d60; font-size: 0.95rem; line-height: 1.6; font-weight: 400; }

/* SECCIÓN PORTAL DE LA CARTA */
.menu-choice-section {
    padding: 100px 8%;
    background-image: url('archivos/Bar\ telleira.jpg'); 
    background-size: cover;
    background-position: center;
    
    /* 1. Por defecto en móviles se moverá normal (scroll) para que vaya fluido y no falle */
    background-attachment: scroll; 
    
    position: relative;
    color: white;
    text-align: center;
}

/* 2. Vista ordenador: Si la pantalla es grande (un ordenador de más de 1024px), activamos el fixed que te gusta */
@media (min-width: 1024px) {
    .menu-choice-section {
        background-attachment: fixed;
    }
}

/* Le añadimos una capa oscura por encima de la imagen para que el texto siga leyéndose perfecto */
.menu-choice-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(34, 43, 36, 0.75); /* Color con transparencia */
    z-index: 1;
}

/* Aseguramos que los botones y textos queden por encima de la capa oscura */
.menu-choice-section h2, 
.menu-choice-section p, 
.menu-choice-section .buttons-container {
    position: relative;
    z-index: 2;
}

.menu-choice-section h2 { 
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem; 
    color: var(--color-principal); 
    margin-bottom: 15px; 
}

.menu-choice-section p { font-size: 1.1rem; color: #ffffff; max-width: 700px; margin: 0 auto; }

/* CONTENEDOR Y BOTÓN DE LA CARTA */
.buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.btn {
    padding: 20px 45px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(201, 59, 59, 0.35);
}

.btn-pdf { 
    background-color: var(--color-rojo-pdf); 
    color: #ffffff; 
}

/* HORARIOS Y DATOS REALES */
.info-section {
    padding: 100px 8%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

.info-card {
    background: var(--color-tarjeta);
    padding: 45px;
    border-radius: 22px;
    width: 46%;
    min-width: 320px;
    box-shadow: 0 10px 30px rgba(27, 67, 50, 0.02);
    border: 1px solid rgba(27, 67, 50, 0.02);
}

.info-card h3 { 
    font-family: 'Playfair Display', serif;
    color: var(--color-principal); 
    margin-bottom: 25px; 
    font-size: 1.5rem; 
    display: flex;
    align-items: center;
    gap: 10px;
}

.schedule-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(27, 67, 50, 0.08);
    font-size: 1rem;
}
.schedule-row:last-of-type { border-bottom: none; }
.schedule-row span { color: #5a5d60; }
.schedule-row strong { color: var(--color-principal); }
.text-muted { opacity: 0.6; }

.location-text, .phone-text {
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.location-text i, .phone-text i { color: var(--color-oro-sutil); font-size: 1.2rem; }

.card-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(27, 67, 50, 0), rgba(27, 67, 50, 0.15), rgba(27, 67, 50, 0));
    margin: 25px 0;
}

.instagram-link {
    font-size: 1.6rem;
    color: #c13584; 
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    transition: transform 0.2s ease;
}
.instagram-link:hover { transform: scale(1.03); }

/* RESPONSIVE MÓVIL OPTIMIZADO */
@media (max-width: 768px) {
    header { flex-direction: column; gap: 14px; padding: 20px; text-align: center; }
    header nav a { margin: 0 10px; font-size: 0.85rem; }
    .hero-container { height: 75vh; }
    .hero-text h1 { font-size: 2.8rem; }
    .hero-text p { font-size: 1.1rem; }
    .features-section, .info-section { padding: 60px 5%; }
    .feature-card, .info-card { width: 100%; padding: 30px 20px; }
    .schedule-row { flex-direction: column; gap: 4px; text-align: left; }
}