/* --- VARIABLES Y RESET --- */
:root {
    --primary-color: #788B4C; 
    --text-dark: #222222;
    --text-light: #555555;
    --bg-color: #fcfcfc;
    --font-heading: 'Patrick Hand', cursive;
    --font-body: 'Lora', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; 
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.5;
}

/* --------------------------------------------------
   CURSOR PERSONALIZADO DINÁMICO
-------------------------------------------------- */
@media (pointer: fine) {
    body, a, button, input, textarea, select {
        cursor: none !important;
    }
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: transform 0.08s ease-out, width 0.15s ease, height 0.15s ease;
}

.custom-cursor.hovered {
    width: 14px;
    height: 14px;
}

/* --------------------------------------------------
   CÁPSULA DE NAVEGACIÓN FLOTANTE CLARA (Tirando a blanco)
-------------------------------------------------- */
.header-sticky-wrapper {
    position: sticky;
    top: 15px;
    z-index: 1002;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(120, 139, 76, 0.2);
    padding: 10px 24px;
    border-radius: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.nav-brand-mini a {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 1px;
}

.hero-nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.hero-nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.2s;
}

.hero-nav-links a:hover, .hero-nav-links a.active-link {
    color: var(--primary-color);
}

.btn-reservation-hero {
    background-color: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    transition: background-color 0.2s ease;
    display: inline-block;
}

.btn-reservation-hero:hover {
    background-color: #63753b;
}

/* --- CONTENEDOR PRINCIPAL --- */
.main-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px 20px 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* --------------------------------------------------
   HERO INMERSIVO CON MARCA GIGANTE EN VERDE
-------------------------------------------------- */
.hero-immersive {
    position: relative;
    width: 100%;
    min-height: 520px;
    background: url('https://images.unsplash.com/photo-1513104890138-7c749659a591?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(12, 12, 12, 0.65) 0%, rgba(18, 18, 18, 0.85) 100%);
    z-index: 1;
}

/* Título de Marca BALAGAN Gigante en el Hero */
.hero-content-box {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.brand-hero-title {
    margin-bottom: 10px;
}

.brand-hero-title h1 {
    font-family: var(--font-heading);
    font-size: 5.5rem;
    color: var(--primary-color);
    letter-spacing: 4px;
    line-height: 0.9;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.brand-hero-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #ffffff;
    letter-spacing: 4px;
    text-transform: uppercase;
    display: block;
    margin-top: 5px;
    opacity: 0.9;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 5px 14px;
    border-radius: 20px;
    margin: 15px 0 10px 0;
}

.hero-desc {
    font-size: 1.05rem;
    color: #dedede;
    margin-bottom: 25px;
    font-style: italic;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary-light {
    padding: 10px 22px;
    border-radius: 20px;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 3px 8px rgba(120, 139, 76, 0.4);
}

.btn-primary:hover {
    background-color: #63753b;
}

.btn-secondary-light {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-secondary-light:hover {
    background-color: #ffffff;
    color: var(--text-dark);
}

/* --------------------------------------------------
   SECCIÓN DE ESPECIALIDADES (Grid de 3)
-------------------------------------------------- */
.grid-3-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

@media (min-width: 768px) {
    .grid-3-col {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 12px;
    border: 1px solid #eaeaea;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(120, 139, 76, 0.12);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* --------------------------------------------------
   SECCIÓN INFORMACIÓN Y CONTACTO
-------------------------------------------------- */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 25px;
    font-weight: normal;
    text-transform: uppercase;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .grid-2-col {
        grid-template-columns: 1fr 1fr;
    }
}

.info-block {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.block-subtitle {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    border-bottom: 1px dashed var(--primary-color);
    padding-bottom: 5px;
}

.info-detail {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.margin-top-10 {
    margin-top: 15px;
}

.contact-list {
    list-style: none;
    padding-left: 10px;
}

.contact-list a, .info-detail a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-list a:hover, .info-detail a:hover {
    text-decoration: underline;
}

/* --- HISTORIA --- */
.history-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background: #f4f6ee;
    padding: 35px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
}

.history-content-left {
    text-align: left;
}

.history-text {
    margin-bottom: 12px;
    font-style: italic;
    color: var(--text-light);
    line-height: 1.6;
}

/* Animaciones fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- FOOTER ORIGINAL RECUPERADO --- */
.main-footer {
    text-align: center;
    padding: 35px 20px;
    background-color: var(--bg-color);
    border-top: 1px solid #ddd;
    margin-top: 30px;
}

.main-footer h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 2.8rem;
    font-weight: normal;
    line-height: 1;
    margin-bottom: 4px;
}

.main-footer h2 a, 
.main-footer p a {
    color: inherit;
    text-decoration: none;
}

.main-footer p {
    color: var(--text-light);
    font-size: 0.85rem;
}

.watermark {
    margin-top: 12px;
}

.watermark a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.watermark a:hover {
    text-decoration: underline;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 850px) {
    .brand-hero-title h1 {
        font-size: 3.8rem;
    }
    .hero-nav {
        flex-direction: column;
        gap: 10px;
        border-radius: 20px;
        padding: 12px;
    }
    .hero-nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 12px;
    }
    .header-sticky-wrapper {
        top: 10px;
    }
    .hero-immersive {
        padding: 30px 15px;
        min-height: auto;
    }
}