/* ==================== BOOKING PAGE STYLES ==================== */

/* Main Layout */
.booking-page {
    padding: 40px 0 80px;
    background: var(--off-white);
}

.booking-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: start;
}

/* ==================== LEFT COLUMN - CONTENT ==================== */
.booking-content {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
}

/* Image Gallery */
.image-gallery {
    background: var(--white);
}

.main-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnails {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--white);
}

.thumbnail {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
    opacity: 0.6;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-green);
    opacity: 1;
    transform: scale(1.05);
}

/* Share Section */
.share-section {
    padding: 20px;
    background: var(--white);
    border-top: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.share-section p {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.share-btn.whatsapp {
    background: #25d366;
    color: var(--white);
}

.share-btn.whatsapp:hover {
    background: #20ba5a;
    transform: scale(1.1);
}

.share-btn.email {
    background: var(--primary-green);
    color: var(--white);
}

.share-btn.email:hover {
    background: var(--primary-green-dark);
    transform: scale(1.1);
}

.share-btn.link {
    background: var(--light-gray);
    color: var(--text-dark);
}

.share-btn.link:hover {
    background: var(--medium-gray);
    color: var(--white);
    transform: scale(1.1);
}

/* Service Info */
.service-info {
    padding: 30px;
}

.service-tag {
    display: inline-block;
    background: var(--primary-green);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.service-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 25px;
}

.toggle-description {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--light-gray);
    color: var(--text-dark);
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.toggle-description:hover {
    background: var(--primary-green);
    color: var(--white);
}

.toggle-description i {
    font-size: 16px;
}

/* Description Content */
.description-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.description-content.active {
    max-height: 2000px;
}

.highlight-box {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: var(--white);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
}

.highlight-text {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.alert-box {
    background: #fff3cd;
    border-left: 4px solid #ff6b35;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.alert-text {
    color: #856404;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

.description-text {
    color: var(--text-dark);
    line-height: 1.8;
}

.description-text h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 25px 0 15px;
    color: var(--primary-green);
}

.description-text p {
    margin-bottom: 15px;
}

.description-text ul {
    margin: 15px 0;
    padding-left: 0;
}

.description-text li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
    padding-left: 0;
}

.description-text li i {
    color: var(--primary-green);
    margin-top: 4px;
    font-size: 16px;
}

/* ==================== RIGHT COLUMN - BOOKING SIDEBAR ==================== */
.booking-sidebar {
    position: sticky;
    top: 100px;
}

.booking-box {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px var(--shadow);
}

.price-header {
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-gray);
    margin-bottom: 25px;
}

.price-info {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.price-label {
    font-size: 13px;
    color: var(--medium-gray);
    margin-bottom: 5px;
}

.price-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-green);
}

.payment-info {
    font-size: 13px;
    color: var(--medium-gray);
}

/* Form Elements */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-label i {
    color: var(--primary-green);
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-green);
}

.date-display {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: var(--medium-gray);
}

/* Quantity Selector */
.quantity-selector {
    position: relative;
}

.quantity-toggle {
    width: 100%;
    padding: 14px 16px;
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    color: var(--text-dark);
    transition: var(--transition);
}

.quantity-toggle:hover {
    border-color: var(--primary-green);
}

.quantity-toggle i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.quantity-toggle.active i {
    transform: rotate(180deg);
}

.quantity-options {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-top: 10px;
}

.quantity-options.active {
    max-height: 500px;
}

.quantity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--off-white);
    border-radius: 8px;
    margin-bottom: 10px;
}

.quantity-info {
    flex: 1;
}

.quantity-type {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.quantity-info small {
    display: block;
    font-size: 12px;
    color: var(--medium-gray);
    margin-bottom: 6px;
}

.item-price {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-green);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qty-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white);
}

.qty-value {
    font-size: 18px;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.min-booking-notice {
    font-size: 12px;
    color: var(--medium-gray);
    margin-top: 12px;
    line-height: 1.5;
}

/* Time Selector */
.time-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.time-btn {
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.time-btn:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.time-btn.active {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white);
}

.availability-info {
    font-size: 13px;
    color: var(--medium-gray);
}

.available-count {
    color: var(--primary-green);
    font-weight: 600;
}

/* Subtotal */
.subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 2px solid var(--light-gray);
    margin-top: 25px;
}

.subtotal-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.subtotal-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-green);
}

/* Book Button */
.btn-book {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: var(--white);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 20px;
    transition: var(--transition);
}

.btn-book:hover {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
}

.btn-book:disabled {
    background: var(--light-gray);
    color: var(--medium-gray);
    cursor: not-allowed;
    transform: none;
}

/* ==================== RECOMMENDED SECTION ==================== */
.recommended-section {
    background: var(--off-white);
    padding: 60px 30px 30px;
    margin-top: 40px;
}

.recommended-section .section-title {
    font-size: 28px;
    margin-bottom: 30px;
}

.recommended-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.recommended-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    transition: var(--transition);
}

.recommended-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.recommended-card .card-image {
    height: 200px;
    position: relative;
}

.recommended-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recommended-card .card-content {
    padding: 20px;
}

.recommended-card .card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.recommended-card .card-description {
    font-size: 13px;
    color: var(--medium-gray);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recommended-card .card-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.recommended-card .card-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.recommended-card .card-features i {
    color: var(--primary-green);
}

.recommended-card .card-footer {
    padding-top: 15px;
    border-top: 1px solid var(--light-gray);
}

/* ==================== RESPONSIVE - TABLET ==================== */
@media (max-width: 1200px) {
    .booking-layout {
        grid-template-columns: 1fr 380px;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .booking-layout {
        grid-template-columns: 1fr;
    }

    .booking-sidebar {
        position: static;
        margin-top: 30px;
    }

    .main-image {
        height: 400px;
    }

    .recommended-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

/* ==================== RESPONSIVE - MOBILE ==================== */
@media (max-width: 768px) {
    .booking-page {
        padding: 20px 0 60px;
    }

    .main-image {
        height: 300px;
    }

    .thumbnails {
        padding: 15px;
        gap: 10px;
        overflow-x: auto;
    }

    .thumbnail {
        width: 120px;
        height: 80px;
        flex-shrink: 0;
    }

    .share-section {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .service-info {
        padding: 20px;
    }

    .service-title {
        font-size: 22px;
    }

    .booking-box {
        padding: 20px;
    }

    .price-value {
        font-size: 28px;
    }

    .recommended-section {
        padding: 40px 20px 20px;
    }

    .recommended-grid {
        grid-template-columns: 1fr;
    }

    .subtotal-value {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .main-image {
        height: 250px;
    }

    .service-title {
        font-size: 20px;
    }

    .price-value {
        font-size: 24px;
    }

    .btn-book {
        padding: 16px;
        font-size: 14px;
    }
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.booking-content,
.booking-sidebar {
    animation: fadeIn 0.6s ease;
}

.booking-sidebar {
    animation-delay: 0.2s;
}
