/* Fuentes de Google */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Colores */
    --color-primary: #1C2E2A;
    --color-secondary: #D4AF37;
    --color-secondary-hover: #B5952F;
    --color-background: #F9F7F2;
    --color-text-main: #2C2C2C;
    --color-text-light: #666666;
    --color-white: #FFFFFF;

    /* Fuentes */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Espaciado */
    --header-height: 80px;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-text-main);
    line-height: 1.6;
    padding-top: var(--header-height);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Clases Reutilizables */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.95rem;
    border: none;
    font-family: inherit;
    outline: none;
}

.btn-primary {
    background-color: #11d411;
    color: var(--color-white);
    box-shadow: 0 4px 6px rgba(17, 212, 17, 0.2);
}

.btn-primary:hover {
    background-color: #0fb80f;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(17, 212, 17, 0.3);
}

.btn:disabled {
    background-color: #ccc;
    color: #888;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Estilos del Encabezado */
.header {
    width: 100%;
    height: var(--header-height);
    background-color: var(--color-white);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.header-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logotipo */
.logo a {
    display: flex;
    align-items: center;
    color: var(--color-primary);
}

.logo h1 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1;
}

.logo h1 span {
    color: var(--color-secondary);
}

/* Navegación */
.nav-menu {
    margin-left: auto;
}

.nav-social {
    display: none;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-main);
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: width 0.3s ease;
}

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

.nav-link:hover::after {
    width: 100%;
}

/* Acciones del Encabezado */
.header-actions {
    display: flex;
    align-items: center;
}

.nav-toggle,
.nav-close {
    display: none;
    font-size: 1.5rem;
    color: var(--color-primary);
    cursor: pointer;
}

/* Estilos Responsivos */
@media screen and (max-width: 968px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        overflow-y: auto;
        background-color: rgba(28, 46, 42, 0.65);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 5rem 2rem 3.5rem;
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
        margin-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        z-index: -1;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .nav-item {
        opacity: 0;
        transform: translateX(20px);
        transition: 0.4s;
    }

    .show-menu .nav-item {
        opacity: 1;
        transform: translateX(0);
    }

    .show-menu .nav-item:nth-child(1) {
        transition-delay: 0.1s;
    }

    .show-menu .nav-item:nth-child(2) {
        transition-delay: 0.2s;
    }

    .show-menu .nav-item:nth-child(3) {
        transition-delay: 0.3s;
    }

    .show-menu .nav-item:nth-child(4) {
        transition-delay: 0.4s;
    }

    .show-menu .nav-item:nth-child(5) {
        transition-delay: 0.5s;
    }

    .show-menu .nav-item:nth-child(6) {
        transition-delay: 0.6s;
    }

    .nav-btn-reserva {
        display: block;
        width: fit-content;
        margin: 0 auto;
        text-align: center;
        padding: 0.8rem 2rem;
    }

    .nav-link {
        color: var(--color-white);
        font-size: 1.5rem;
        font-family: var(--font-heading);
        font-weight: 600;
        letter-spacing: 1px;
    }

    .nav-link:hover {
        color: var(--color-secondary);
        padding-left: 10px;
    }

    .nav-toggle {
        display: block;
        margin-left: 1rem;
        font-size: 1.8rem;
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 2rem;
        right: 2rem;
        color: var(--color-white);
        font-size: 2rem;
    }

    .show-menu {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-social {
        display: flex;
        justify-content: center;
        gap: 2rem;
        margin-top: 3rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        opacity: 0;
        transform: translateY(20px);
        transition: 0.4s 0.6s;
    }

    .show-menu .nav-social {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-social-link {
        font-size: 1.5rem;
        color: var(--color-white);
        transition: 0.3s;
    }

    .nav-social-link:hover {
        color: var(--color-secondary);
        transform: translateY(-5px);
    }
}

.scroll-header {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: calc(var(--header-height) - 10px);
}

/* =========================
   ESTILOS DE RESERVACIONES
   ========================= */

.reservation-section {
    padding: 5rem 0;
}

.reservation-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 3rem;
}

/* =========================
   ESTILOS DE RESERVACIONES
   ========================= */

.reservation-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    background-image: url('../../images/estacion.webp');
    background-size: cover;
    background-position: center;
}

.reservation-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
}

.reservation-hero-container {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--color-white);
}

.reservation-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-family: var(--font-heading);
}

.reservation-hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Sección de Creación */
.create-reservation-section {
    padding: 4rem 0;
    background-color: #f6f8f6;
}

.section-title-container {
    text-align: center;
    margin-bottom: 3rem;
}

.create-reservation-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.create-reservation-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

/* Barra de Progreso */
.reservation-progress-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 2rem;
}

.progress-bar-background {
    height: 4px;
    background-color: #e0e7e0;
    border-radius: 10px;
    position: absolute;
    width: 100%;
    top: 8px;
    z-index: 1;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #11d411, #45f545, #11d411);
    background-size: 200% 100%;
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    animation: shimmer 2s infinite linear;
    position: relative;
    overflow: hidden;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.progress-steps {
    display: flex;
    justify-content: space-around;
    position: relative;
    z-index: 2;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-dot {
    width: 22px;
    height: 22px;
    background-color: var(--color-white);
    border: 3px solid #e0e7e0;
    border-radius: 50%;
    transition: all 0.4s ease;
    position: relative;
}

.step-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-light);
    transition: all 0.3s ease;
}

/* Animación de pulso cuando está activo */
.step-item.active .step-dot {
    border-color: #11d411;
    background-color: #11d411;
    box-shadow: 0 0 0 4px rgba(17, 212, 17, 0.2);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0px rgba(17, 212, 17, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(17, 212, 17, 0);
    }

    100% {
        box-shadow: 0 0 0 0px rgba(17, 212, 17, 0);
    }
}

.step-item.active .step-label {
    color: var(--color-primary);
}

/* Reservation Grid */
.reservation-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.reservation-card,
.summary-card {
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2ee;
}

.reservation-card {
    padding: 2.5rem;
}

/* Detailed Form Styles */
.form-section {
    margin-bottom: 2.5rem;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f4f0;
}

.form-section-title span {
    background-color: rgba(17, 212, 17, 0.1);
    color: #11d411;
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
}

.form-group .required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #dbe6db;
    border-radius: 8px;
    background-color: #fafbfa;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #11d411;
    box-shadow: 0 0 0 4px rgba(17, 212, 17, 0.1);
    background-color: #fff;
}

.form-submit-container {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #f0f4f0;
}

.btn-large {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    border: none;
}

.terms-text {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 1rem;
}

/* Summary Card Styles */
.summary-card {
    padding: 2rem;
    position: sticky;
    top: 100px;
}

.summary-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.summary-title span {
    color: #11d411;
}

.summary-details {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed #dbe6db;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.summary-divider {
    height: 1px;
    background-color: #f0f4f0;
    margin: 1rem 0;
}

.item-label {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.item-value {
    text-align: right;
}

.font-bold {
    font-weight: 700;
    color: var(--color-text-main);
}

.date-range {
    display: block;
    font-weight: 700;
}

.date-subtext,
.text-xs {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

.summary-total-box {
    background-color: #f6f8f6;
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.total-row.main-total {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #dbe6db;
    font-weight: 800;
    font-size: 1.1rem;
}

.total-amount {
    color: #11d411;
    font-size: 1.25rem;
}

.summary-info-box {
    background-color: #eff6ff;
    border: 1px solid #dbeafe;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.summary-info-box span {
    color: #2563eb;
}

.summary-info-box p {
    font-size: 0.85rem;
    color: #1e40af;
    line-height: 1.4;
}

.summary-action {
    margin-bottom: 2rem;
}

.summary-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0.7;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--color-text-light);
}

.badge-item span {
    font-size: 1rem;
}

/* Responsive */
@media screen and (max-width: 992px) {
    .reservation-grid {
        grid-template-columns: 1fr;
    }

    .summary-card {
        position: static;
    }
}

@media screen and (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .reservation-card {
        padding: 1.5rem;
    }

    .reservation-hero-title {
        font-size: 2.25rem;
    }
}

/*==================== PIE DE PÁGINA ====================*/
.footer {
    background-color: var(--color-primary);
    padding: 2rem 0 1rem;
    color: var(--color-white);
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.footer-logo h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.footer-logo span {
    color: var(--color-secondary);
}

.footer-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-copy {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1rem;
}

/* MODAL STYLES */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    transition: 0.3s;
}

.modal-overlay.hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.modal-card {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    transform: scale(1);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.hidden .modal-card {
    transform: scale(0.9);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-light);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(17, 212, 17, 0.1);
    color: #11d411;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
}

.modal-icon span {
    font-size: 3.5rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 1rem;
}

.modal-text {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-full {
    width: 100%;
    padding: 1rem;
}