/* Estilos Premium - Ibiza Underwater Jetpack Experience */

:root {
    --bg-dark: #060b13;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-card: rgba(255, 255, 255, 0.08);
    --primary: #00f0ff;
    --primary-glow: rgba(0, 240, 255, 0.3);
    --secondary: #ffaa00;
    --text-white: #ffffff;
    --text-gray: #8fa0b5;
    --font-main: 'Outfit', sans-serif;
    
    /* Colores del calendario */
    --avail-green: #00e676;
    --partial-orange: #ff9100;
    --full-red: #ff3d00;
}

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

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 240, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255, 170, 0, 0.03) 0%, transparent 40%);
    color: var(--text-white);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 5%;
    border-bottom: 1px solid var(--border-card);
    background: rgba(6, 11, 19, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 2px;
    color: var(--text-white);
    text-shadow: 0 0 10px var(--primary-glow);
}

.lang-selector {
    display: flex;
    align-items: center;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-gray);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    padding: 5px 8px;
    transition: color 0.3s;
}

.lang-btn.active, .lang-btn:hover {
    color: var(--primary);
}

.divider {
    color: var(--border-card);
    margin: 0 5px;
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.badge {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.main-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.description {
    color: var(--text-gray);
    font-size: 18px;
    margin-bottom: 35px;
}

/* Specs Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.spec-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(5px);
}

.spec-val {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.spec-label {
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 5px;
    text-transform: uppercase;
}

/* Pricing Card */
.pricing-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.price-container {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 20px;
}

.price-old {
    font-size: 22px;
    color: var(--text-gray);
    text-decoration: line-through;
}

.price-new {
    font-size: 42px;
    font-weight: 700;
    color: var(--secondary);
    text-shadow: 0 0 15px rgba(255, 170, 0, 0.2);
}

.price-tax {
    font-size: 14px;
    color: var(--text-gray);
}

.features-list {
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
}

.check-icon {
    color: var(--primary);
    font-weight: 700;
}

/* Media Card */
.media-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-card);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    aspect-ratio: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s;
}

.media-container:hover .hero-image {
    transform: scale(1.05);
}

.media-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
}

.overlay-badge {
    background: rgba(6, 11, 19, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-size: 11px;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Section Common */
.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 40px;
}

/* Booking Widget */
.booking-section {
    margin-bottom: 80px;
}

.booking-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 24px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

.steps-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-card);
    padding-bottom: 20px;
}

.step-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
    font-weight: 600;
    transition: color 0.3s;
}

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

.step-num {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-card);
    color: var(--text-gray);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.step-nav-item.active .step-num {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-dark);
    font-weight: 700;
    box-shadow: 0 0 10px var(--primary-glow);
}

.booking-step {
    display: none;
}

.booking-step.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Calendar Styling */
.calendar-container {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 25px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-header h3 {
    font-size: 16px;
    font-weight: 700;
}

.cal-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-card);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 12px;
}

.cal-btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.cal-day {
    aspect-ratio: 1;
    background: none;
    border: 1px solid transparent;
    color: var(--text-white);
    border-radius: 50%;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transition: all 0.3s;
    padding: 2px;
}

.cal-day:hover:not(.disabled) {
    background: rgba(255,255,255,0.05);
    border-color: var(--border-card);
}

.cal-day.disabled {
    color: rgba(255,255,255,0.15);
    cursor: not-allowed;
}

.cal-day.selected {
    background: var(--primary) !important;
    color: var(--bg-dark) !important;
    font-weight: 700;
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Dots underneath day text to indicate slots availability */
.day-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.day-status-dot.green { background-color: var(--avail-green); }
.day-status-dot.orange { background-color: var(--partial-orange); }
.day-status-dot.red { background-color: var(--full-red); }

.legend-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
    font-size: 13px;
    color: var(--text-gray);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.legend-dot.green { background-color: var(--avail-green); }
.legend-dot.orange { background-color: var(--partial-orange); }
.legend-dot.red { background-color: var(--full-red); }

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #00b4d8 100%);
    color: var(--bg-dark);
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.15);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.3);
}

.btn-primary:disabled {
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.15);
    cursor: not-allowed;
    box-shadow: none;
}

.btn-secondary {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-card);
    color: var(--text-white);
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

.step-actions {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 15px;
    margin-top: 35px;
}

/* Step 2 Slots Styles */
.step-inner-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary);
}

.step-inner-desc {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 25px;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.slot-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.slot-card.available:hover {
    background: rgba(0, 240, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.slot-card.selected {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--bg-dark) !important;
    box-shadow: 0 0 15px var(--primary-glow);
}

.slot-card.selected .slot-time {
    color: var(--bg-dark) !important;
}

.slot-card.selected .slot-status {
    color: rgba(6,11,19,0.7) !important;
}

.slot-card.occupied {
    opacity: 0.3;
    cursor: not-allowed;
}

.slot-time {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.slot-status {
    font-size: 12px;
    color: var(--text-gray);
    text-transform: uppercase;
    font-weight: 600;
}

/* Step 3 Form Styles */
.booking-form {
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
}

.form-group input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-card);
    border-radius: 8px;
    padding: 12px 15px;
    width: 100%;
    color: #fff;
    font-family: var(--font-main);
    font-size: 15px;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
}

.summary-box {
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
}

.summary-box h5 {
    color: var(--primary);
    font-size: 15px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 14px;
}

.summary-row:last-child {
    border-bottom: none;
    padding-top: 12px;
    font-size: 16px;
}

.total-price {
    color: var(--secondary);
    font-size: 20px;
}

/* Error Alert */
.error-display {
    background: rgba(255, 70, 70, 0.1);
    border: 1px solid rgba(255, 70, 70, 0.3);
    color: #ff6464;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

/* Spinner styling for payment loading */
.btn-pay {
    position: relative;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    position: absolute;
    right: 20px;
    top: calc(50% - 10px);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
/* Secure Badge Container */
.secure-badge-container {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-card);
}

.secure-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 500;
}

.lock-icon {
    width: 16px;
    height: 16px;
}

.payment-logos {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.card-logo {
    display: block;
    width: 44px;
    height: 28px;
    border-radius: 6px;
    transition: transform 0.3s;
}

.card-logo:hover {
    transform: translateY(-2px);
}

/* Footer */
.main-footer {
    text-align: center;
    border-top: 1px solid var(--border-card);
    padding: 40px 20px;
    color: var(--text-gray);
    font-size: 14px;
}

.main-footer p {
    margin-bottom: 10px;
}

.admin-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 12px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.admin-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .badge {
        margin: 0 auto 20px;
    }
    
    .price-container {
        justify-content: center;
    }
    
    .features-list {
        display: inline-block;
        text-align: left;
    }
    
    .media-container {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 36px;
    }
    
    .booking-widget {
        padding: 25px;
    }
    
    .steps-nav {
        margin-bottom: 25px;
    }
    
    .step-text {
        display: none; /* Ocultar textos del paso en móvil */
    }
    
    .policy-grid {
        grid-template-columns: 1fr;
    }
    
    .step-actions {
        grid-template-columns: 1fr;
    }
    
    .step-actions button {
        width: 100%;
    }
    
    .btn-secondary {
        order: 2; /* Poner botón Atrás abajo en móvil */
    }
}

/* FAQ Accordion Styling */
.faq-section {
    margin-bottom: 80px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.05);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    padding: 20px 25px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-main);
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-arrow {
    font-size: 20px;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 25px;
    background: rgba(0,0,0,0.1);
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Suficiente para el contenido */
    padding: 20px 25px;
    border-top: 1px solid var(--border-card);
}
