/* ========================================
   DETAIL PAGE STYLES
   ======================================== */

/* Gallery Section */

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.more-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.more-overlay span {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Responsive Design for Gallery */
@media (max-width: 768px) {
    .gallery-item {
        height: 250px;
    }
    
    .more-overlay span {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .gallery-item {
        height: 200px;
    }
    
    .more-overlay span {
        font-size: 1rem;
    }
}

/* Breadcrumb Section */
.breadcrumb-section {
    padding: 20px 0;
    border-bottom: none;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: #8a8a8a;
    text-decoration: none;
    font-size: 14px;
}

.breadcrumb-item.active {
    color: #1a1a1a;
    font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #666666;
    font-weight: 500;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 800px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Property Details Section */
.property-details-section {
    background: white;
}

.property-info-card {
    background: white;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: -105px;
    position: relative;
    z-index: 10;
}

.property-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.2;
}

.property-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #4a4a4a;
}

.location i {
    font-size: 14px;
    color: #666666;
}

.rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: #FFD700;
    font-size: 14px;
}

.rating-text {
    color: #666666;
    font-size: 14px;
}

.booking-info {
    text-align: center;
}

.price {
    margin-bottom: 16px;
}

.price-amount {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
}

.price-period {
    font-size: 16px;
    color: #666666;
    margin-left: 4px;
}

.btn-book {
    background: #FE8267;
    border: none;
    border-radius: 58px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-book:hover {
    background: #e6735a;
    transform: translateY(-2px);
}

.booking-note {
    font-size: 12px;
    color: #666666;
    margin-top: 8px;
    margin-bottom: 0;
}

/* Gallery Section */
.gallery-section {
    background: white;
}

.gallery-item {
    position: relative;
    padding: 0px !important;
    margin: opx !important;
    overflow: hidden;
    height: 200px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.more-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000CC;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: 600;
}

/* Quick Info Section */
.quick-info-section {
    padding: 60px 0;
    background: white;
    border-radius: 4px;
    border: 1px solid #E7E7F4;
    padding:24px  32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 32px;
}


.info-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.info-text {
    display: flex;
    gap: 8px;
}

.info-number {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.info-label {
    font-size: 14px;
    color: #666666;
    text-transform: capitalize;
}



.about-section {
    padding: 24px 32px;
    border: 1px solid #E7E7F4;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-text {
    font-size: 16px;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 20px;
}

/* Amenities Section */
.amenities-section {
    padding: 24px 32px;
    border: 1px solid #E7E7F4;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    height: 100%;
    transition: all 0.3s ease;
}

.amenity-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.amenity-item i {
    font-size: 20px;
    color: #FE8267;
    width: 24px;
    text-align: center;
}

.amenity-item span {
    font-size: 14px;
    font-weight: 500;
    color: #4a4a4a;
}

/* Rules Section */
.rules-section {
    padding: 24px 32px;
    border: 1px solid #E7E7F4;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: white;
}

.rules-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rule-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
}

.rule-item i {
    color: #28a745;
    font-size: 16px;
}

.rule-item span {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 500;
}

/* Availability Section */
.availability-section {
    padding: 24px 32px;
    border: 1px solid #E7E7F4;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: #F9FAFB;
}

.calendar-widget {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-header .btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d0d0d0;
    color: #666666;
    border-radius: 50%;
}


.month-year {
    font-size: 18px;
    font-weight: 700;
    color: #2c2c2c;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.calendar-weekdays div {
    text-align: center;
    font-weight: 600;
    color: #8a8a8a;
    padding: 8px 0;
    font-size: 12px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.day {
    text-align: center;
    padding: 12px 8px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-weight: 500;
    color: #4a4a4a;
    font-size: 14px;
}

.day.other-month {
    color: #ccc;
}

.day.unavailable {
    color: #1a1a1a;
    background-color: #ffb3a3;
}

.day.selected {
    background-color: #FE8267;
    color: white;
    font-weight: 600;
}

.day.start-range {
    border-radius: 100px 0 0 100px;
}

.day.single {
    border-radius: 0px 100px 100px 0px;
}

/* Reviews Section */
.reviews-section {
    margin: 2rem 0;
}

.reviews-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.reviews-list {
    margin-bottom: 0;
}

.review-item {
    display: flex;
    align-items: center;

    gap: 3rem;
    padding: 1.5rem 0;
    border-bottom: none;
}

.review-item:last-child {
    border-bottom: none;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 80px;
}


.reviewer-avatar img {
    width: 64px;
    height: 64px;
    object-fit: cover;
}

.reviewer-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    text-align: center;
}

.review-date {
    font-size: 12px;
    color: #666666;
    text-align: center;
}

.review-content {
    flex: 1;
}

.review-content .stars {
    display: flex;
    gap: 2px;
    margin-bottom: 0.5rem;
}

.review-content .stars i {
    color: #ffc107;
    font-size: 14px;
}

.review-content .stars i.far {
    color: #e9ecef;
}

.review-text {
    font-size: 14px;
    line-height: 1.5;
    color: #4a4a4a;
    margin: 0 0 0.5rem 0;
}

.helpful-text {
    font-size: 12px;
    color: #8a8a8a;
    margin: 0;
}

/* Rating Summary */
.rating-summary {
    padding: 1.5rem;
    border-radius: 12px;
    height: fit-content;
}

.average-rating {
    text-align: center;
    margin-bottom: 1.5rem;
}

.rating-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.rating-score {
    font-size: 2rem;
    font-weight: 700;
    color: #FE8267;
    margin-bottom: 0.5rem;
}

.average-rating .stars {
    margin-bottom: 0.5rem;
}

.average-rating .stars i {
    color: #ffc107;
    font-size: 1rem;
}

.total-reviews {
    font-size: 14px;
    color: #666666;
}

.rating-breakdown {
    margin-top: 1.5rem;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.rating-label {
    font-size: 0.875rem;
    color: #495057;
    min-width: 50px;
}

.bar-container {
    flex: 1;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #FE8267;
    transition: width 0.3s ease;
}

.rating-count {
    font-size: 0.875rem;
    color: #495057;
    min-width: 35px;
    text-align: right;
}

.explore-more {
    background: #FE8267;
    border: none;
    border-radius: 58px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.explore-more:hover {
    background: #e76f5a;
    transform: translateY(-2px);
}

/* Host Section */
.host-section {
    padding: 24px 32px;
    border: 1px solid #E7E7F4;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: white;
}

.host-info {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 0;
}

.host-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.host-name {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.host-joined {
    font-size: 14px;
    color: #666666;
    margin-bottom: 12px;
    text-transform: lowercase;
}

.host-description {
    font-size: 14px;
    line-height: 1.6;
    color: #4a4a4a;
    margin: 0;
}

/* Booking Sidebar */
.booking-sidebar {
    position: sticky;
    top: 100px;
}

.booking-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.booking-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #4a4a4a;
    margin-bottom: 8px;
}

.form-control, .form-select {
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #FE8267;
    box-shadow: 0 0 0 0.2rem rgba(254, 130, 103, 0.25);
}

/* Popular Stays Section */
.popular-stays-section {
    padding: 60px 0;
}

.property-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.property-card .card-img-top {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.property-card .card-body {
    padding: 20px;
}

.property-card .card-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.4;
}

.card-location {
    color: #8a8a8a;
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-location i {
    font-size: 12px;
}

.card-price .price-amount {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.card-price .price-period {
    font-size: 14px;
    color: #8a8a8a;
    margin-left: 4px;
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-rating .stars i {
    color: #FFD700;
    font-size: 12px;
}

.rating-count {
    font-size: 12px;
    color: #8a8a8a;
}

.btn-outline-primary {
    border: 1px solid #D0D5DD;
    color: #344054;
    font-weight: 600;
    border-radius: 58px;
    padding: 10px 16px;
    font-size: 14px;
}

.btn-outline-primary:hover {
    background-color: #FE8267;
    color: white;
    border-color: #FE8267;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 991px) {
    .property-info-card {
        margin-top: -40px;
        padding: 24px;
    }
    
    .property-title {
        font-size: 28px;
    }
    
    .property-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .booking-info {
        text-align: left;
        margin-top: 20px;
    }
    
    .booking-sidebar {
        position: static;
        margin-top: 40px;
    }
    
    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .host-info {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-section {
        height: 400px;
    }
    
    .property-info-card {
        margin-top: -20px;
        padding: 20px;
    }
    
    .property-title {
        font-size: 24px;
    }

   .quick-info-container{
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
   }
    .info-item {
        padding: 16px;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .info-number {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .about-section,
    .amenities-section,
    .rules-section,
    .availability-section,
    .reviews-section,
    .host-section {
        margin-bottom: 40px;
    }
    
    .amenity-item {
        padding: 12px;
    }
    
    .rule-item {
        padding: 12px;
    }
    
    .calendar-widget {
        padding: 16px;
    }
    
    .day {
        padding: 8px 4px;
        font-size: 12px;
    }
    
    .review-item {
        padding: 16px 0;
    }
    
    .host-info {
        padding: 16px;
    }
    
    .popular-stays-section {
        padding: 40px 0;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .hero-section {
        height: 350px;
    }
    
    .property-info-card {
        padding: 16px;
    }
    
    .property-title {
        font-size: 20px;
    }
    
    .price-amount {
        font-size: 24px;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .amenity-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .rule-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .calendar-days {
        gap: 4px;
    }
    
    .day {
        padding: 6px 2px;
        font-size: 11px;
    }
}

