/* --- 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;
    height: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --------------------------------------------------
   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
-------------------------------------------------- */
.header-sticky-wrapper {
    position: sticky;
    top: 15px;
    z-index: 1002;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.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;
}

/* --------------------------------------------------
   HERO / CONTENEDOR DE RESERVACIÓN
-------------------------------------------------- */
.reservation-main-wrapper {
    flex: 1;
    max-width: 1100px;
    margin: 15px auto 30px auto;
    padding: 0 20px;
    width: 100%;
}

.reservation-hero {
    position: relative;
    width: 100%;
    min-height: 75vh;
    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;
    align-items: center;
    overflow: hidden;
    padding: 40px 20px;
    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.7) 0%, rgba(18, 18, 18, 0.88) 100%);
    z-index: 1;
}

.reservation-content-box {
    position: relative;
    z-index: 2;
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.brand-hero-title h1 {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    color: var(--primary-color);
    letter-spacing: 3px;
    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: 0.9rem;
    color: #ffffff;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-top: 5px;
    opacity: 0.9;
}

.reservation-desc {
    font-size: 1rem;
    color: #dedede;
    margin: 15px 0 25px 0;
    font-style: italic;
}

/* --------------------------------------------------
   ESTILOS DEL FORMULARIO
-------------------------------------------------- */
.reservation-form {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input, 
.form-group select {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(18, 18, 18, 0.7);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus, 
.form-group select:focus {
    border-color: var(--primary-color);
}

.form-group input::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.btn-whatsapp {
    flex: 2;
    background-color: #25d366;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: not-allowed;
    opacity: 0.5;
    transition: all 0.2s ease;
    text-align: center;
}

/* Estado habilitado del botón de WhatsApp */
.btn-whatsapp.enabled {
    cursor: pointer;
    opacity: 1;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp.enabled:hover {
    background-color: #20ba5a;
    transform: translateY(-1px);
}

.btn-clear {
    flex: 1;
    background-color: transparent;
    color: #ff6b6b;
    border: 1px solid #ff6b6b;
    padding: 12px 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.btn-clear:hover {
    background-color: #ff6b6b;
    color: #ffffff;
}

/* --------------------------------------------------
   FOOTER ORIGINAL
-------------------------------------------------- */
.main-footer {
    text-align: center;
    padding: 35px 20px;
    background-color: var(--bg-color);
    border-top: 1px solid #ddd;
    margin-top: auto;
}

.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: 768px) {
    .brand-hero-title h1 {
        font-size: 2.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;
    }
    .form-actions {
        flex-direction: column;
    }
}