/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Offset for fixed header */
}

/* Villa Details Section */
.villa-details-section {
    /* background: #fff; */
    padding: 0 0 60px 0;
}

.villa-details-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 60px;
    box-sizing: border-box;
}

/* Navigation Tabs */
.villa-tabs {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.villa-tabs::-webkit-scrollbar {
    display: none;
}

.tab-link {
    font-family: var(--text-font);
    font-size: 14px;
    color: #666;
    text-decoration: none;
    white-space: nowrap;
    padding-bottom: 15px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-link:hover {
    color: var(--accent-red);
}

.tab-link.active {
    color: #000;
    font-weight: 600;
    border-bottom-color: var(--accent-red);
}

/* Content Wrapper */
.villa-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    margin-top: 40px;
}

/* Main Content */
.villa-main-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Villa Header */
.villa-info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.villa-title {
    font-family: var(--heading-font);
    font-size: 32px;
    color: #000;
    margin: 0 0 8px 0;
}

.villa-location-text {
    font-family: var(--text-font);
    font-size: 15px;
    color: #666;
    margin: 0;
}

.map-link {
    color: var(--accent-red);
    text-decoration: underline;
    margin-left: 5px;
}

/* Rating and Reviews */
.villa-rating-reviews {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: right;
}

.rating-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rating-number {
    font-family: var(--heading-font);
    font-size: 28px;
    font-weight: 600;
    color: #000;
}

.stars-display {
    font-size: 14px;
    color: #ffc107;
}

.reviews-count {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.review-number {
    font-family: var(--heading-font);
    font-size: 24px;
    font-weight: 600;
    color: #000;
}

.review-label {
    font-family: var(--text-font);
    font-size: 13px;
    color: #666;
}

/* Villa Capacity */
.villa-capacity-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--text-font);
    font-size: 15px;
    color: #333;
}

.separator {
    color: #999;
}

/* Amenities Badges */
.villa-amenities-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.amenity-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f5f5f5;
    border-radius: 6px;
    font-family: var(--text-font);
    font-size: 14px;
    color: #333;
}

.amenity-badge i {
    color: var(--accent-red);
    font-size: 16px;
}

/* Check-in Info */
.checkin-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    font-family: var(--text-font);
    font-size: 14px;
    color: #333;
}

.checkin-info i {
    color: #666;
    font-size: 16px;
}

/* Villa Description */
.villa-description {
    font-family: var(--text-font);
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

.read-more-link {
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-top: 10px;
}

.read-more-link:hover {
    text-decoration: underline;
}

.more-description {
    margin-top: 15px;
}

/* Booking Sidebar */
.booking-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.booking-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

/* Price Header */
.price-header {
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 8px;
}

.price-symbol {
    font-family: var(--heading-font);
    font-size: 20px;
    color: #000;
}

.price-amount {
    font-family: var(--heading-font);
    font-size: 32px;
    font-weight: 600;
    color: #000;
}

.price-period {
    font-family: var(--text-font);
    font-size: 12px;
    color: #666;
    margin-left: 5px;
}

.total-price {
    font-family: var(--text-font);
    font-size: 14px;
    color: #333;
    margin: 0;
}

.total-price span {
    font-weight: 600;
}

.total-price i {
    color: #999;
    font-size: 12px;
    margin-left: 5px;
}

/* Booking Form */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.date-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-family: var(--text-font);
    font-size: 13px;
    color: #666;
}

.date-input {
    position: relative;
    display: flex;
    align-items: center;
}

.date-input i {
    position: absolute;
    left: 12px;
    color: #999;
    font-size: 14px;
}

.date-input input {
    width: 100%;
    padding: 12px 12px 12px 38px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--text-font);
    font-size: 14px;
    color: #333;
    cursor: pointer;
    background: #fff;
}

.date-input input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.date-input input[type="date"]:focus {
    outline: none;
    border-color: var(--accent-red);
}

.date-input input[type="date"]::-webkit-datetime-edit-text,
.date-input input[type="date"]::-webkit-datetime-edit-month-field,
.date-input input[type="date"]::-webkit-datetime-edit-day-field,
.date-input input[type="date"]::-webkit-datetime-edit-year-field {
    color: #333;
}

.date-input input[type="date"]:invalid {
    color: #999;
}

.date-input input::placeholder {
    color: #999;
    font-size: 14px;
}

.date-input input[type="text"] {
    color: #999;
}

.check-label {
    font-family: var(--text-font);
    font-size: 12px;
    color: #999;
}

/* Guest Input Dropdown */
.guest-input-dropdown {
    position: relative;
}

.guest-input-dropdown label {
    font-family: var(--text-font);
    font-size: 13px;
    color: #666;
    display: block;
    margin-bottom: 8px;
}

.guest-display {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--text-font);
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.guest-display:hover {
    border-color: var(--accent-red);
}

.guest-display i:first-child {
    color: #999;
    font-size: 14px;
}

.guest-display span {
    flex: 1;
}

.dropdown-arrow {
    color: #666;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.guest-display.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* Guest Dropdown Menu */
.guest-dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.guest-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Guest Counter Row */
.guest-counter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.guest-counter-row:last-of-type {
    border-bottom: none;
    margin-bottom: 15px;
}

.guest-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.label-title {
    font-family: var(--text-font);
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.label-subtitle {
    font-family: var(--text-font);
    font-size: 12px;
    color: #999;
}

/* Counter Controls */
.counter-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.counter-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.counter-btn.minus {
    background: #e0e0e0;
    color: #666;
}

.counter-btn.minus:hover {
    background: #d0d0d0;
}

.counter-btn.minus:disabled {
    background: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
}

.counter-btn.plus {
    background: #333;
    color: #fff;
}

.counter-btn.plus:hover {
    background: #000;
}

.counter-value {
    font-family: var(--text-font);
    font-size: 16px;
    font-weight: 500;
    color: #333;
    min-width: 20px;
    text-align: center;
}

/* Done Button */
.done-btn {
    width: 100%;
    padding: 12px;
    background: #fff;
    border: 2px solid var(--accent-red);
    color: var(--accent-red);
    border-radius: 6px;
    font-family: var(--text-font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.done-btn:hover {
    background: var(--accent-red);
    color: #fff;
}

.select-dates-btn {
    width: 100%;
    padding: 14px;
    background: var(--accent-red);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: var(--text-font);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.select-dates-btn:hover {
    background: #3d0e16;
    transform: translateY(-2px);
}

/* Exclusive Offers */
.exclusive-offers {
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    margin-top: 20px;
}

.exclusive-offers h4 {
    font-family: var(--heading-font);
    font-size: 16px;
    color: #000;
    margin: 0 0 15px 0;
}

.coupon-input {
    display: flex;
    gap: 10px;
}

.coupon-input input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--text-font);
    font-size: 14px;
    color: #333;
}

.coupon-input button {
    padding: 10px 20px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--text-font);
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.coupon-input button:hover {
    background: #e0e0e0;
}

/* Contact Buttons */
.contact-buttons {
    display: flex;
    gap: 12px;
}

.contact-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--text-font);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.whatsapp-btn {
    background: #fff;
    color: #25D366;
    border-color: #25D366;
}

.whatsapp-btn:hover {
    background: #25D366;
    color: #fff;
}

.call-btn {
    background: #fff;
    color: var(--accent-red);
    border-color: var(--accent-red);
}

.call-btn:hover {
    background: var(--accent-red);
    color: #fff;
}

.contact-btn i {
    font-size: 16px;
}

/* Amenities Section */
.amenities-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.amenities-header {
    margin-bottom: 30px;
}

.amenities-title {
    font-family: var(--heading-font);
    font-size: 28px;
    font-weight: 600;
    color: #000;
    margin: 0 0 8px 0;
}

.amenities-subtitle {
    font-family: var(--text-font);
    font-size: 15px;
    color: #666;
    margin: 0 0 12px 0;
}

.amenities-preview {
    font-family: var(--text-font);
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin: 0;
    max-width: 800px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 40px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--text-font);
    font-size: 15px;
    color: #333;
}

.amenity-item i {
    color: var(--accent-red);
    font-size: 18px;
    width: 24px;
    flex-shrink: 0;
}

.amenity-item span {
    line-height: 1.4;
}

/* Bedroom Details Section */
.bedroom-details-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    font-family: var(--heading-font);
    font-size: 28px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

/* Scroll Navigation Buttons */
.scroll-navigation {
    display: flex;
    gap: 10px;
}

.scroll-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-btn:hover {
    background: var(--accent-red);
    color: #fff;
    border-color: var(--accent-red);
}

.scroll-btn i {
    font-size: 14px;
}

/* Bedroom Cards Container */
.bedroom-cards-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    scrollbar-width: none;
    /* Firefox */
}

.bedroom-cards-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Edge */
}

/* Bedroom Card */
.bedroom-card {
    flex: 0 0 280px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.bedroom-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.bedroom-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.bedroom-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bedroom-card:hover .bedroom-image img {
    transform: scale(1.1);
}

.bedroom-info {
    padding: 20px;
}

.bedroom-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.bedroom-type {
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.bedroom-floor {
    font-family: var(--text-font);
    font-size: 13px;
    color: #666;
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 4px;
}

.bedroom-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bedroom-features li {
    font-family: var(--text-font);
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bedroom-features i {
    color: var(--accent-red);
    font-size: 12px;
}


/* Medium Screen Optimization (MacBook/Laptop) */
@media (max-width: 1280px) {
    .villa-details-container {
        max-width: 1100px;
        padding: 30px 30px;
        box-sizing: border-box;
    }

    .villa-content-wrapper {
        gap: 30px;
    }

    .villa-title {
        font-size: 28px;
    }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .villa-content-wrapper {
        grid-template-columns: 1fr;
    }

    .booking-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .villa-details-container {
        padding: 0 20px 0 20px;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .villa-main-content {
        max-width: 100%;
        overflow-x: hidden;
    }

    .villa-tabs {
        gap: 15px;
        padding: 15px 0;
        border-bottom: none;
        background: #fff;
        position: sticky;
        top: 0;
        z-index: 10;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        overflow-x: auto;
        scrollbar-width: none;
    }

    .villa-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-link {
        font-size: 13px;
        padding-bottom: 10px;
        white-space: nowrap;
    }

    .villa-content-wrapper {
        margin-top: 20px;
    }

    .villa-info-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .villa-title {
        font-size: 24px;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

    .villa-location-text {
        font-size: 14px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .villa-rating-reviews {
        width: 100%;
        justify-content: space-between;
        padding: 15px;
        background: #f9f9f9;
        border-radius: 8px;
    }

    .rating-box {
        align-items: flex-start;
    }

    .reviews-count {
        align-items: flex-end;
    }

    .villa-capacity-info {
        flex-wrap: wrap;
        font-size: 14px;
        gap: 8px;
        max-width: 100%;
        overflow-x: hidden;
    }

    .villa-amenities-badges {
        gap: 10px;
        flex-wrap: wrap;
        max-width: 100%;
    }

    .amenity-badge {
        font-size: 13px;
        padding: 8px 12px;
        white-space: nowrap;
    }

    .checkin-info {
        font-size: 13px;
        padding: 12px 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .villa-description {
        font-size: 14px;
        line-height: 1.6;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

    /* Amenities Section Mobile */
    .amenities-section {
        margin-top: 30px;
        padding-top: 25px;
    }

    .amenities-header {
        margin-bottom: 20px;
    }

    .amenities-title {
        font-size: 20px;
    }

    .amenities-subtitle {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .amenities-preview {
        font-size: 13px;
        line-height: 1.6;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .amenity-item {
        font-size: 14px;
        gap: 10px;
    }

    .amenity-item i {
        font-size: 16px;
        width: 20px;
    }

    /* Bedroom Section Mobile */
    .bedroom-details-section {
        margin-top: 30px;
        padding-top: 30px;
    }

    .section-header {
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 20px;
    }

    .scroll-btn {
        width: 36px;
        height: 36px;
    }

    .bedroom-card {
        flex: 0 0 260px;
    }

    .bedroom-image {
        height: 180px;
    }

    .bedroom-info {
        padding: 15px;
    }

    .bedroom-type {
        font-size: 16px;
    }

    .bedroom-floor {
        font-size: 12px;
    }

    .bedroom-features li {
        font-size: 13px;
    }

    /* Booking Sidebar Mobile */
    .booking-sidebar {
        position: static;
        margin-top: 30px;
    }

    .booking-card {
        padding: 20px;
    }

    .price-amount {
        font-size: 28px;
    }

    .date-inputs {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .guest-input-dropdown {
        margin-top: 5px;
    }

    .select-dates-btn {
        padding: 16px;
        font-size: 16px;
        font-weight: 700;
    }

    .contact-buttons {
        flex-direction: row;
        gap: 10px;
    }

    .contact-btn {
        font-size: 13px;
        padding: 14px 10px;
    }
}

@media (max-width: 480px) {
    .villa-details-container {
        padding: 0 15px;
    }

    .villa-title {
        font-size: 22px;
    }

    .villa-tabs {
        gap: 12px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .tab-link {
        font-size: 12px;
    }

    .price-amount {
        font-size: 26px;
    }

    .amenity-badge {
        font-size: 12px;
        padding: 7px 10px;
    }

    .bedroom-card {
        flex: 0 0 240px;
    }

    .section-title {
        font-size: 18px;
    }

    .scroll-btn {
        width: 32px;
        height: 32px;
    }

    .scroll-btn i {
        font-size: 12px;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .villa-rating-reviews {
        padding-left: 15px;
        padding-right: 15px;
    }
}


/* Client Reviews Section */
.reviews-scroll-wrapper {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.reviews-track {
    display: flex;
    gap: 20px;
    animation: scrollReviews 30s linear infinite;
    width: fit-content;
}

.reviews-track:hover {
    animation-play-state: paused;
}

#reviews .bedroom-card {
    flex: 0 0 260px;
    min-height: 200px;
}

#reviews .bedroom-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

#reviews .review-text {
    font-family: var(--text-font);
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin: 0;
    flex: 1;
    font-style: italic;
}

#reviews .bedroom-header {
    margin-bottom: 0;
}

@keyframes scrollReviews {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    #reviews .bedroom-card {
        flex: 0 0 240px;
    }
}
/* Mobile responsive */
@media (max-width: 768px) { #reviews .bedroom-card { flex: 0 0 240px; } }



/* Villa Map Section */
.villa-map-section {
    background: #f9f9f9;
    padding: 60px 0;
}

.map-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.map-header {
    text-align: center;
    margin-bottom: 40px;
}

.map-title {
    font-family: var(--heading-font);
    font-size: 36px;
    font-weight: 600;
    color: #000;
    margin: 0 0 10px 0;
}

.map-subtitle {
    font-family: var(--text-font);
    font-size: 16px;
    color: #666;
    margin: 0;
}

.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
}

/* Mobile Responsive for Map Section */
@media (max-width: 768px) {
    .villa-map-section {
        padding: 40px 0;
    }

    .map-container {
        padding: 0 20px;
    }

    .map-title {
        font-size: 28px;
    }

    .map-subtitle {
        font-size: 14px;
    }

    .map-wrapper iframe {
        height: 300px;
    }
}
