/* Booking Hero Section */
.booking-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.booking-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,.05)" stroke-width="2"/></pattern></defs><rect width="1000" height="1000" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.booking-hero-content {
    position: relative;
    z-index: 1;
}

.booking-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.booking-hero-content p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Booking Main Section */
.booking-main {
    padding: 60px 20px;
    background-color: var(--light-bg);
}

@media (max-width: 768px) {
    .booking-main {
        padding: 30px 10px;
    }
}

.booking-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Calendar Section */
.booking-calendar-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .booking-calendar-section {
        padding: 15px;
    }
}

.booking-calendar-section h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: left;
    font-size: 1.8rem;
}

/* Calendar Navigation */
.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px;
    background-color: var(--light-bg);
    border-radius: 8px;
}

.nav-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background-color: #ff5252;
    transform: scale(1.1);
}

.calendar-nav h3 {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.3rem;
    margin: 0;
}

/* Calendar Grid */
.calendar {
    margin-bottom: 25px;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

@media (max-width: 480px) {
    .calendar-header {
        gap: 4px;
    }
}

.day-name {
    text-align: center;
    font-weight: 700;
    color: var(--secondary-color);
    padding: 10px;
    font-size: 0.9rem;
}

@media (max-width: 480px) {
    .day-name {
        padding: 5px 2px;
        font-size: 0.75rem;
    }
}

.calendar-body {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

@media (max-width: 480px) {
    .calendar-body {
        gap: 4px;
    }
}

.calendar-day {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
}

@media (max-width: 480px) {
    .calendar-day {
        font-size: 0.8rem;
        border-radius: 4px;
    }
}

.calendar-day.empty {
    background-color: transparent;
    cursor: default;
}

.calendar-day.available {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #28a745;
}

.calendar-day.available:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    background-color: #c3e6cb;
}

.calendar-day.partial {
    background-color: #fff3cd;
    color: #856404;
    border: 2px solid #ffc107;
}

.calendar-day.partial:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
    background-color: #ffe69c;
}

.calendar-day.full {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #dc3545;
    cursor: not-allowed;
}

.calendar-day.past {
    background-color: #e2e3e5;
    color: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.calendar-day.selected {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
    border: 2px solid var(--primary-color);
}

.calendar-day.today {
    border-width: 3px;
}

.calendar-day-indicator {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
    opacity: 0.7;
}

/* Calendar Legend */
.calendar-legend {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 15px;
    background-color: var(--light-bg);
    border-radius: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #555;
}

.legend-box {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 2px solid #ccc;
}

.legend-box.available {
    background-color: #d4edda;
    border-color: #28a745;
}

.legend-box.partial {
    background-color: #fff3cd;
    border-color: #ffc107;
}

.legend-box.full {
    background-color: #f8d7da;
    border-color: #dc3545;
}

.legend-box.past {
    background-color: #e2e3e5;
    border-color: #6c757d;
}

/* Booking Form Section */
.booking-form-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .booking-form-section {
        padding: 15px;
    }
}

.booking-form-section h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: left;
    font-size: 1.8rem;
}

/* Selected Date Display */
.selected-date-display {
    background: linear-gradient(135deg, #fff5f7 0%, #f0f8ff 100%);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid var(--primary-color);
}

@media (max-width: 480px) {
    .selected-date-display {
        padding: 10px;
        margin-bottom: 15px;
    }
    
    .date-value {
        font-size: 1rem;
    }
}

.date-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.date-info i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
}

.date-value {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 700;
}

/* Time Slots Section */
.time-slots-section {
    margin-bottom: 25px;
}

.time-slots-section h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.slot {
    position: relative;
}

.slot input[type="radio"] {
    display: none;
}

.slot label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

@media (max-width: 480px) {
    .slot label {
        padding: 8px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .slot-time {
        font-size: 0.85rem;
    }
    
    .slot-status {
        font-size: 0.65rem;
        padding: 2px 5px;
    }
}

.slot input[type="radio"]:checked + label {
    border-color: var(--primary-color);
    background-color: #fff5f7;
}

.slot input[type="radio"]:disabled + label {
    cursor: not-allowed;
    opacity: 0.6;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.slot-time {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.slot-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.slot.available .slot-status::after {
    content: 'Available';
    color: white;
    background-color: #28a745;
}

.slot.partial .slot-status::after {
    content: 'Pending';
    color: #856404;
    background-color: #fff3cd;
}

.slot.full .slot-status::after {
    content: 'Confirmed';
    color: white;
    background-color: #dc3545;
}

/* Booking Form */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.booking-form .form-group {
    display: flex;
    flex-direction: column;
}

.booking-form label {
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.btn-block {
    width: 100%;
    margin-top: 10px;
}

/* WhatsApp Button Styles */
.btn-whatsapp {
    background-color: #25d366;
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.booking-divider {
    text-align: center;
    margin: 15px 0;
    position: relative;
}

.booking-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e0e0e0;
    z-index: 1;
}

.booking-divider span {
    background-color: white;
    padding: 0 15px;
    position: relative;
    z-index: 2;
    color: #888;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 20px;
    background-color: var(--white-bg);
}

.pricing-section h2 {
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.pricing-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    border-top: 4px solid var(--accent-color);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-top-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.pricing-card h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin: 10px 0;
}

.price {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 15px 0;
}

.time-info {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.pricing-features {
    list-style: none;
    margin: 20px 0;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--primary-color);
    margin-right: 10px;
    font-weight: 600;
}

.pricing-features i.fa-times {
    color: #ccc;
}

/* FAQs Section */
.faqs-section {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

.faqs-section h2 {
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.faqs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 3rem;
}

.faq-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #fff5f7 0%, #f0f8ff 100%);
    cursor: pointer;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, #ffe8eb 0%, #e6f4ff 100%);
}

.faq-question h4 {
    margin: 0;
    color: var(--secondary-color);
    font-size: 1rem;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 200px;
}

.faq-answer p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .booking-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .time-slots {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .booking-hero-content h1 {
        font-size: 2rem;
    }

    .booking-calendar-section,
    .booking-form-section {
        padding: 20px;
    }

    .booking-calendar-section h2,
    .booking-form-section h2 {
        font-size: 1.5rem;
    }

    .calendar-day {
        font-size: 0.8rem;
    }

    .calendar-legend {
        grid-template-columns: 1fr;
    }

    .faqs-grid {
        grid-template-columns: 1fr;
    }

    .time-slots {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .booking-hero-content h1 {
        font-size: 1.5rem;
    }

    .booking-hero-content p {
        font-size: 1rem;
    }

    .booking-calendar-section,
    .booking-form-section {
        padding: 15px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .faqs-grid {
        grid-template-columns: 1fr;
    }
}
