:root {
    --verde-agri: #006735;
    --verde-hover: #008545;
    --azul-agri: #007078;
    --beige-fondo: #fff8ed;
    --negro-suave: #1a1a1a;
    --blanco: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--beige-fondo);
    color: var(--negro-suave);
    overflow-x: hidden;
    line-height: 1.6;
    padding-bottom: 80px;
}

h1, h2, h3, .logo-font {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
}

/* HEADER */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    position: relative;
}

.logo-square {
    width: 60px;
    height: 60px;
    background: var(--verde-agri);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    font-size: 0.8rem;
    border-radius: 4px;
    flex-shrink: 0;
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
}

.logo-font { font-family: 'Anton', sans-serif; }

.header-center {
    font-size: 0.7rem;
    text-align: center;
    line-height: 1.3;
    flex: 1;
    margin: 0 15px;
}

.header-right { display: flex; align-items: center; gap: 15px; flex-shrink: 0; }

/* SELECTOR IDIOMA */
.lang-selector { font-size: 0.8rem; font-weight: 600; cursor: pointer; }
.lang-selector span { cursor: pointer; padding: 2px 5px; opacity: 0.5; transition: all 0.3s ease; }
.lang-selector span:hover { opacity: 0.8; }
.lang-selector .active { color: var(--azul-agri); font-weight: 800; opacity: 1; }

/* BOTONES */
.button-call, .button-location {
    background: var(--azul-agri);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.button-call:hover, .button-location:hover { background: var(--verde-agri); transform: scale(1.05); }

/* HORARIOS */
.horarios-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    flex-wrap: wrap;
    max-width: 850px;
    margin: 40px auto 0;
}

.horario-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    flex: 1;
    min-width: 270px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    text-decoration: none;
    color: #333;
    border-top: 6px solid;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.horario-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.horario-card:active { animation: clickAnimation 0.3s ease; }
@keyframes clickAnimation {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.03); }
    100% { transform: translateY(-5px) scale(1); }
}

.horario-card.frankfurt { border-color: var(--azul-agri); }
.horario-card.braseria { border-color: var(--verde-agri); }

.card-icon { font-size: 1.8rem; margin-bottom: 8px; }
.horario-card h3 { font-family: 'Anton', sans-serif; letter-spacing: 1px; margin: 0 0 15px 0; font-size: 1.4rem; }
.horario-card.frankfurt h3 { color: var(--azul-agri); }
.horario-card.braseria h3 { color: var(--verde-agri); }

.dias { font-size: 0.75rem; text-transform: uppercase; font-weight: 800; color: #888; margin-top: 10px; }
.horas { font-size: 1.2rem; font-weight: 800; color: #222; }

.tag {
    display: inline-block;
    margin-top: 18px;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: bold;
    text-transform: uppercase;
}
.no-reserva { background: #fee2e2; color: #991b1b; }
.si-reserva { background: #dcfce7; color: #166534; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.horario-card { animation: fadeInUp 0.6s ease-out; }
.horario-card.frankfurt { animation-delay: 0.2s; animation-fill-mode: both; }
.horario-card.braseria { animation-delay: 0.4s; animation-fill-mode: both; }

/* CARRUSEL */
.marquee-container { overflow: hidden; padding: 40px 0; background: white; position: relative; }
.marquee-track { display: flex; gap: 25px; animation: scroll 40s linear infinite; width: max-content; }
.marquee-img { height: 320px; width: 400px; object-fit: cover; border-radius: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); transition: transform 0.3s ease; }
.marquee-img:hover { transform: scale(1.02); }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* SPLIT SECTION */
.split-section { display: flex; height: 500px; margin-top: 40px; width: 100%; }
.map-side { flex: 1.2; height: 100%; }
.slider-side { flex: 0.8; position: relative; overflow: hidden; background: #eee; height: 100%; }
.venue-slide { position: absolute; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.5s ease; top: 0; left: 0; }
.venue-slide.active { opacity: 1; }

/* RESEÑAS */
.reviews-section { background-color: white; padding: 60px 20px; border-top: 1px solid #eee; }
.reviews-container { max-width: 800px; margin: 0 auto; position: relative; min-height: 300px; display: flex; flex-direction: column; }
.review-carousel { position: relative; width: 100%; height: 100%; flex-grow: 1; }
.review-card { position: absolute; width: 100%; text-align: center; opacity: 0; transition: all 0.8s ease-in-out; transform: translateY(20px); pointer-events: none; top: 0; left: 0; }
.review-card.active { opacity: 1; transform: translateY(0); pointer-events: all; position: relative; }
.review-card:not(.active) { position: absolute; }
.review-text { font-size: 1.4rem; font-style: italic; color: var(--azul-agri); margin-bottom: 15px; font-family: 'Open Sans', sans-serif; }
.review-author { font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--negro-suave); }
.stars { color: #f59e0b; font-size: 1.2rem; margin-top: 10px; }

/* DELIVERY */
.delivery-section { max-width: 850px; margin: 40px auto 60px; padding: 0 20px; text-align: center; }
.delivery-title { font-family: 'Anton', sans-serif; color: var(--azul-agri); font-size: 1.8rem; margin-bottom: 10px; letter-spacing: 0.5px; }
.delivery-subtitle { color: #666; font-weight: 600; margin-bottom: 5px; }
.delivery-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 20px; }
.delivery-button {
    display: flex;
    align-items: center;
    border-radius: 12px;
    padding: 16px 28px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    min-width: 220px;
    text-decoration: none;
    color: white;
    cursor: pointer;
}
.delivery-button:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.delivery-button.apple { background: #000; }
.delivery-button.android { background: var(--verde-agri); box-shadow: 0 6px 15px rgba(0,103,53,0.2); }
.delivery-button.apple:hover { background: #1a1a1a; }
.delivery-button.android:hover { background: #008545; }
.button-icon { margin-right: 15px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.button-icon img { width: 100%; height: 100%; object-fit: contain; }
.button-text { text-align: left; flex-grow: 1; }
.button-subtext { font-size: 0.8rem; opacity: 0.9; }
.button-appname { font-family: 'Anton', sans-serif; font-size: 1.4rem; line-height: 1; }
.button-arrow { margin-left: 10px; font-size: 1.2rem; }
.delivery-note { margin-top: 25px; font-size: 0.85rem; color: #888; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.5; }

/* HERO BANNER */
.hero-banner {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    margin-top: 0;
    background-image: url('img-elraco/banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}
.hero-content { position: relative; z-index: 2; padding: 0 20px; max-width: 800px; color: white; }
.hero-content h1 { font-size: clamp(3rem, 8vw, 5rem); line-height: 1.1; color: white; text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5); margin-bottom: 20px; letter-spacing: 1px; }
.hero-content p { font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 600; color: #ffffff; text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5); letter-spacing: 1.5px; margin: 0; }

/* ICONOS EN HORARIOS */
.horario-card .card-icon img { width: 60px; height: 60px; object-fit: contain; display: block; margin: 0 auto; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .main-header { padding: 12px 15px; flex-wrap: nowrap; justify-content: space-between; align-items: center; }
    .logo-square { font-size: 0.8rem; min-width: 60px; flex-shrink: 0; width: 60px; height: 60px; }
    .header-center { display: none; }
    .header-right { gap: 10px; flex-shrink: 0; }
    .lang-selector { font-size: 0.75rem; white-space: nowrap; }
    .button-location, .button-call { width: 36px; height: 36px; }
    .button-location svg, .button-call svg { width: 18px; height: 18px; }
    .horarios-container { gap: 15px; padding: 15px; margin-top: 30px; }
    .horario-card { min-width: 100%; width: 100%; max-width: 100%; margin: 0; }
    .marquee-img { height: 220px; width: 280px; }
    .split-section { flex-direction: column; height: auto; }
    .map-side, .slider-side { width: 100%; height: 300px; flex: none; }
    .review-text { font-size: 1.1rem; }
    .reviews-container { min-height: 350px; }
    .delivery-section { padding: 0 15px; margin: 30px auto 40px; }
    .delivery-title { font-size: 1.5rem; }
    .delivery-button { min-width: 100% !important; margin-bottom: 15px; padding: 14px 20px !important; }
    .button-arrow { display: none; }
    .button-icon { width: 35px; height: 35px; margin-right: 12px; }
    .hero-banner { height: 50vh; min-height: 350px; max-height: 500px; }
    .hero-content h1 { font-size: clamp(2.5rem, 7vw, 4rem); }
    .horario-card .card-icon img { width: 50px; height: 50px; }
}

@media (max-width: 480px) {
    .main-header { padding: 10px 12px; }
    .logo-square { font-size: 0.8rem; min-width: 60px; width: 60px; height: 60px; }
    .header-right { gap: 8px; }
    .lang-selector { font-size: 0.7rem; }
    .button-location, .button-call { width: 32px; height: 32px; }
    .button-location svg, .button-call svg { width: 16px; height: 16px; }
    .horarios-container { padding: 10px; }
    .horario-card { padding: 25px 20px; }
    .marquee-img { height: 180px; width: 240px; }
    .delivery-title { font-size: 1.3rem; }
    .delivery-button { padding: 12px 18px !important; }
    .button-icon { width: 30px; height: 30px; margin-right: 10px; }
    .button-text { font-size: 0.9rem; }
    .button-appname { font-size: 1.2rem !important; }
    .hero-banner { height: 45vh; min-height: 300px; max-height: 400px; }
    .hero-content h1 { font-size: clamp(2rem, 6vw, 3rem); }
    .hero-content p { font-size: clamp(0.9rem, 1.8vw, 1.1rem); }
    .horario-card .card-icon img { width: 40px; height: 40px; }
}