/* ===================================
   Chalet Details Page - Premium Design
   =================================== */

/* تصغير حجم الخط العام */
body {
    font-size: 15px;
    line-height: 1.6;
}

/* Booking Card Section Layout */
.booking-card-section {
    padding: 40px 0;
    background-color: #f8f9fa;
    min-height: 100vh;
}

.booking-card-section .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
}

/* Bootstrap Row Override for proper spacing */
.booking-card-section .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    gap: 30px;
}

/* Ensure proper column layout */
.booking-card-section .col-lg-8 {
    flex: 0 0 calc(66.666667% - 15px);
    max-width: calc(66.666667% - 15px);
    padding-right: 15px;
    padding-left: 15px;
}

.booking-card-section .col-lg-4 {
    flex: 0 0 calc(33.333333% - 15px);
    max-width: calc(33.333333% - 15px);
    padding-right: 15px;
    padding-left: 15px;
    position: relative;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .booking-card-section .row {
        flex-direction: column;
        gap: 30px;
    }
    
    .booking-card-section .col-lg-8,
    .booking-card-section .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Property Card Section */
.property-card-section {
    padding: 20px 0;
}

.property-card-header {
    margin-bottom: 20px;
}

.property-card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 15px;
}

/* Property Features Row */
.property-features-row {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #464B52;
}

.feature-item svg {
    flex-shrink: 0;
}

.feature-value {
    font-weight: 600;
    color: #212529;
}

.feature-label {
    color: #464B52;
}

.rating-count {
    color: #848484;
}

/* Property Card Actions */
.property-card-actions {
    display: flex;
    gap: 15px;
}

.btn-action {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1.5px solid #E0E0E0;
    border-radius: 10px;
    background: white;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-action:hover {
    border-color: #127664;
    background: #f8f9fa;
}

.btn-favorite:hover {
    border-color: #159265;
}

.btn-share:hover {
    border-color: #127664;
}

/* Property Images Grid */
.property-images-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.large-image-wrapper {
    border-radius: 15px;
    overflow: hidden;
    height: 500px;
}

.large-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.images-column-small {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.small-image-wrapper {
    border-radius: 15px;
    overflow: hidden;
    height: 240px;
}

.small-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Booking Card Section */
.booking-card-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.flexed-row-with-large-space {
    gap: 40px;
}

/* Guarantee Card */
.guarantee-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.guarantee-header {
    display: flex;
    align-items: start;
    gap: 15px;
}

.guarantee-icon img {
    width: 50px;
    height: 50px;
}

.guarantee-title h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 5px;
}

.guarantee-title p {
    font-size: 0.9rem;
    color: #848484;
    margin: 0;
}

.guarantee-content {
    margin-top: 20px;
}

.guarantee-content p {
    font-size: 0.95rem;
    color: #464B52;
    line-height: 1.8;
}

.guarantee-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.guarantee-list li {
    padding: 8px 0;
    padding-right: 25px;
    position: relative;
    font-size: 0.95rem;
    color: #464B52;
}

.guarantee-list li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: #127664;
    font-weight: bold;
}

/* Description Card */
.description-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 20px;
}

.description-content p {
    font-size: 0.95rem;
    color: #464B52;
    line-height: 1.8;
}

/* Specifications Card */
.specifications-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* About Host Section */
.about-host-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #E0E0E0;
}

.host-info-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.host-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.host-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
    margin-left: 10px;
}

.host-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

.rating-value {
    font-weight: 600;
    color: #212529;
}

.host-details-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #464B52;
    cursor: pointer;
}

.details-text {
    color: #127664;
    font-weight: 500;
}

/* Tabs Navigation */
.specs-tabs-navigation {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    padding: 5px;
    background: #F5F5F5;
    border-radius: 12px;
    position: relative;
}

.tab-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 500;
    color: #464B52;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.tab-btn.active {
    background: white;
    color: #127664;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.tab-btn:hover {
    color: #127664;
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.specs-title {
    margin-bottom: 25px;
}

/* Insurance Item */
.insurance-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #FFF9F0;
    border-radius: 10px;
    margin-bottom: 25px;
}

.spec-icon {
    flex-shrink: 0;
}

.spec-text {
    font-size: 0.95rem;
    color: #464B52;
}

/* Spec Section */
.spec-section {
    margin-bottom: 25px;
}

.spec-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.spec-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
    margin: 0;
}

.spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-list li {
    padding: 10px 0;
    padding-right: 25px;
    position: relative;
    font-size: 0.95rem;
    color: #464B52;
    border-bottom: 1px solid #F5F5F5;
}

.spec-list li:last-child {
    border-bottom: none;
}

.spec-list li::before {
    content: "•";
    position: absolute;
    right: 0;
    color: #127664;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Booking Card */
.booking-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid #E0E0E0;
}

.sticky-card {
    position: sticky;
    top: 80px;
    z-index: 10;
}

/* Price Section */
.price-section {
    padding-bottom: 20px;
    border-bottom: 1px solid #E0E0E0;
    margin-bottom: 20px;
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
}

.price-currency {
    font-size: 1rem;
    color: #848484;
}

.whatsapp-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
}

.whatsapp-contact-btn:hover {
    background: #20BA5A;
    color: white;
    transform: translateY(-2px);
}

.price-total {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #848484;
}

/* Date Selection */
.date-selection-section {
    margin-bottom: 20px;
}

.section-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.date-modify-text {
    color: #127664;
    font-size: 0.85rem;
    cursor: pointer;
}

.date-picker-wrapper {
    display: flex;
    border: 1.5px solid #E0E0E0;
    border-radius: 12px;
    overflow: hidden;
}

.date-item {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.date-label {
    font-size: 0.85rem;
    color: #848484;
}

.date-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #212529;
}

.date-divider {
    width: 1px;
    background: #E0E0E0;
}

/* Time Selection */
.time-selection-section {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.time-item {
    flex: 1;
    padding: 15px;
    border: 1.5px solid #E0E0E0;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.time-label {
    font-size: 0.85rem;
    color: #848484;
}

.time-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #212529;
}

/* Confirm Button */
.btn-confirm {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #127664 0%, #0e5a4c 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.btn-confirm:hover {
    background: linear-gradient(135deg, #0e5a4c 0%, #127664 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(18, 118, 100, 0.3);
}

/* Price Breakdown */
.price-breakdown {
    padding: 20px 0;
    border-top: 1px solid #E0E0E0;
    border-bottom: 1px solid #E0E0E0;
    margin-bottom: 15px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #464B52;
}

.breakdown-item:last-child {
    margin-bottom: 0;
}

.breakdown-value {
    font-weight: 600;
    color: #212529;
}

/* Total Section */
.total-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.total-value {
    color: #127664;
}

/* Insurance Note */
.insurance-note {
    font-size: 0.85rem;
    color: #848484;
    margin: 15px 0;
}

/* Payment Options */
.payment-options {
    padding-top: 20px;
    border-top: 1px solid #E0E0E0;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 0.9rem;
    color: #464B52;
}

.payment-option img {
    height: 25px;
    object-fit: contain;
}

/* Responsive */
@media (max-width: 992px) {
    .property-images-grid {
        grid-template-columns: 1fr;
    }
    
    .large-image-wrapper {
        height: 350px;
    }
    
    .images-column-small {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .small-image-wrapper {
        height: 150px;
    }
    
    .sticky-card {
        position: static;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .property-card-title {
        font-size: 1.5rem;
    }
    
    .property-features-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .property-card-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .btn-action {
        width: 100%;
        justify-content: center;
    }
    
    .images-column-small {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .specs-tabs-navigation {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1 1 45%;
    }
}
