/* =====================================================
   BOOKING CARD STYLES - Estil Bandago v2
   =====================================================
   Disseny net amb data i hora en la mateixa línia
   Card més ampla i més curta
   ===================================================== */

/* =====================================================
   1. HERO SECTION NOVA
   ===================================================== */

.hero-section-new {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.min-vh-hero {
    min-height: calc(100vh - 120px);
    padding: 50px 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/fons/fons.png') center/cover no-repeat;
    filter: brightness(0.85);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(30, 58, 138, 0.75) 0%,
        rgba(30, 58, 138, 0.4) 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: -1;
}

/* =====================================================
   2. CONTINGUT HERO (Esquerra)
   ===================================================== */

.hero-content {
    color: white;
    padding-right: 50px;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.0 rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
    background-color: transparent;
    color: white;
    padding: 0;
    display: inline-block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-highlight {
    color: #FF6B00;
    display: block;
    font-size: 4rem;
    font-weight: 700;
    margin-top: 1px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 30px;
    background-color: white;
    color: #1a1a1a;
    padding: 12px 25px;
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 22px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.hero-badge i {
    color: #FF6B00;
    font-size: 1.1rem;
}

/* =====================================================
   3. BOOKING CARD - MÉS AMPLA
   ===================================================== */

.booking-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    max-width: 520px;
    margin-left: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.booking-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.4);
}

/* Header de la card */
.booking-card-header {
    background: white;
    padding: 25px 30px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.booking-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 5px 0;
    letter-spacing: 0.5px;
}

.booking-card-phone {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

.booking-card-phone a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.booking-card-phone a:hover {
    color: #FF6B00;
}

/* Body de la card */
.booking-card-body {
    padding: 25px 30px;
}

/* =====================================================
   4. FORM ELEMENTS - FILA DATA + HORA
   ===================================================== */

.form-row-booking {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.form-group-date {
    flex: 1.3;
}

.form-group-time {
    flex: 1;
}

.booking-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

/* Input Wrapper */
.input-booking-wrapper {
    position: relative;
    width: 100%;
}

/* Input Base */
.booking-input {
    width: 100%;
    height: 50px;
    padding: 12px 40px 12px 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #333;
    background-color: #f5f5f5;
    border: 2px solid #f5f5f5;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.booking-input:hover {
    border-color: #e0e0e0;
    background-color: #efefef;
}

.booking-input:focus {
    outline: none;
    border-color: #FF6B00;
    background-color: white;
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1);
}

.booking-input::placeholder {
    color: #999;
}

/* Icona dins l'input */
.booking-input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1rem;
    pointer-events: none;
    transition: color 0.3s ease;
}

.input-booking-wrapper:hover .booking-input-icon {
    color: #666;
}

/* =====================================================
   5. SELECT STYLE (Per hores)
   ===================================================== */

.select-wrapper {
    position: relative;
}

.booking-select {
    background-color: white;
    border: 2px solid #FF6B00;
    color: #333;
    padding-right: 40px;
}

.booking-select:hover {
    background-color: #fff8f5;
    border-color: #FF6B00;
}

.booking-select:focus {
    background-color: white;
    border-color: #FF6B00;
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.15);
}

.booking-select-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #FF6B00;
    font-size: 0.85rem;
    pointer-events: none;
    transition: transform 0.3s ease;
}

/* =====================================================
   6. SEPARADOR ENTRE RECOLLIDA I DEVOLUCIÓ
   ===================================================== */

.booking-separator {
    display: flex;
    align-items: center;
    margin: 5px 0 20px;
}

.booking-separator-line {
    flex: 1;
    height: 1px;
    background: #e5e5e5;
}

.booking-separator-text {
    padding: 0 15px;
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* =====================================================
   7. BOTÓ SUBMIT
   ===================================================== */

.btn-booking-submit {
    width: 100%;
    height: 55px;
    background-color: #FFB800;
    color: #1a1a1a;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-booking-submit:hover {
    background-color: #e6a600;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 184, 0, 0.45);
}

.btn-booking-submit:active {
    transform: translateY(0);
}

/* =====================================================
   8. FOOTER DE LA CARD
   ===================================================== */

.booking-card-footer {
    padding: 15px 30px;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
}

.booking-advice-text {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.booking-advice-text i {
    color: #FF6B00;
    font-size: 1rem;
}

/* =====================================================
   9. TIMEPICKER CUSTOMITZAT
   ===================================================== */

.ui-timepicker-wrapper {
    max-height: 220px !important;
    overflow-y: auto;
    background: white;
    border: 2px solid #FF6B00;
    border-radius: 10px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    z-index: 10001 !important;
    margin-top: 5px;
}

.ui-timepicker-list {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.ui-timepicker-list li {
    padding: 12px 20px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #333;
    transition: all 0.2s ease;
}

.ui-timepicker-list li:hover,
.ui-timepicker-list li.ui-timepicker-selected {
    background-color: #FF6B00;
    color: white;
}

/* =====================================================
   10. DATEPICKER CUSTOMITZAT
   ===================================================== */

.ui-datepicker {
    font-family: 'Montserrat', sans-serif !important;
    background: white;
    border: none !important;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    padding: 18px;
    width: 300px !important;
}

.ui-datepicker-header {
    background: #1E3A8A !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px !important;
    margin-bottom: 12px;
}

.ui-datepicker-title {
    color: white !important;
    font-weight: 600 !important;
    font-size: 1.05rem !important;
}

.ui-datepicker-prev,
.ui-datepicker-next {
    top: 14px !important;
    cursor: pointer !important;
    border-radius: 50%;
    width: 30px !important;
    height: 30px !important;
}

.ui-datepicker-prev:hover,
.ui-datepicker-next:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

.ui-datepicker-prev span,
.ui-datepicker-next span {
    filter: brightness(0) invert(1);
}

.ui-datepicker th {
    color: #1E3A8A;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 10px 0;
}

.ui-datepicker td {
    padding: 4px;
}

.ui-datepicker td a,
.ui-datepicker td span {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    text-align: center;
}

.ui-datepicker td a:hover {
    background: #FF6B00 !important;
    color: white !important;
}

.ui-datepicker .ui-state-default {
    background: transparent !important;
    border: none !important;
}

.ui-datepicker .ui-state-active {
    background: #FF6B00 !important;
    color: white !important;
    border: none !important;
}

.ui-datepicker .ui-state-highlight {
    background: #fff5f0 !important;
    color: #FF6B00 !important;
    border: 2px solid #FF6B00 !important;
}

/* Ocultar botó trigger del datepicker */
.ui-datepicker-trigger {
    display: none !important;
}

/* =====================================================
   11. RESPONSIVE
   ===================================================== */

/* Pantalles grans */
@media (max-width: 1399px) {
    .booking-card {
        max-width: 480px;
    }
}

/* Tablets */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-content {
        padding-right: 30px;
    }
    
    .booking-card {
        max-width: 450px;
    }
}

/* Tablets petites */
@media (max-width: 991px) {
    .hero-section-new {
        min-height: auto;
    }
    
    .min-vh-hero {
        min-height: auto;
        padding: 40px 0;
    }
    
    .hero-content {
        text-align: center;
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-badges {
        justify-content: center;
    }
    
    .booking-card {
        max-width: 520px;
        margin: 0 auto;
    }
}

/* Mòbils */
@media (max-width: 767px) {
    .hero-section-new {
        padding: 30px 0;
    }
    
    /* Ocultar el lema en mòbils */
    .hero-content {
        display: none;
    }
    
    .hero-title {
        font-size: 1.5rem;
        padding: 15px 20px 10px;
    }
    
    .hero-highlight {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 10px 18px;
    }
    
    .hero-badge {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .booking-card {
        max-width: 100%;
        border-radius: 10px;
        margin: 0 auto;
    }
    
    .booking-card-header {
        padding: 20px 20px 15px;
    }
    
    .booking-card-title {
        font-size: 1.4rem;
    }
    
    .booking-card-body {
        padding: 20px;
    }
    
    /* Mantenir data i hora en línia en mòbil */
    .form-row-booking {
        gap: 10px;
    }
    
    .booking-input {
        height: 48px;
        font-size: 16px; /* Evita zoom en iOS */
        padding: 10px 35px 10px 12px;
    }
    
    .booking-label {
        font-size: 0.8rem;
    }
    
    .btn-booking-submit {
        height: 52px;
    }
    
    .booking-card-footer {
        padding: 12px 20px 15px;
    }
}

/* Mòbils petits */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.3rem;
        padding: 12px 15px 8px;
    }
    
    .hero-highlight {
        font-size: 2rem;
    }
    
    .hero-badge {
        width: 100%;
        justify-content: center;
    }
    
    /* En pantalles molt petites, apilar verticalment */
    .form-row-booking {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-group-date,
    .form-group-time {
        flex: 1;
    }
}

/* =====================================================
   12. ANIMACIONS
   ===================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.9s ease-out;
}

.booking-card {
    animation: fadeInUp 0.9s ease-out 0.25s both;
}

/* =====================================================
   13. FOCUS PER ACCESSIBILITAT
   ===================================================== */

.booking-input:focus-visible,
.btn-booking-submit:focus-visible {
    outline: 3px solid #FF6B00;
    outline-offset: 2px;
}