/* ========================================
   Retreat Detail Page Styles
   ======================================== */

.detail-container {
    max-width: 1400px;
    margin: 180px auto 0;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
}

/* Main Content Column */
.detail-main {
    background: var(--pure-white);
}

.detail-hero-image {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.detail-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.detail-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-gray);
    font-size: 1rem;
}

.detail-location i {
    color: var(--secondary-teal);
}

.wishlist-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid var(--deep-teal);
    border-radius: 25px;
    color: var(--deep-teal);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wishlist-btn:hover {
    background: var(--deep-teal);
    color: var(--pure-white);
}

.detail-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--deep-teal);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.detail-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stars {
    color: #ffa500;
    font-size: 1.1rem;
}

.rating-text {
    color: var(--accent-gray);
    font-size: 0.95rem;
}

.detail-description {
    margin-bottom: 3rem;
}

.detail-description p {
    color: var(--accent-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.detail-section {
    margin-bottom: 3rem;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--deep-teal);
    margin-bottom: 1.5rem;
}

.section-text {
    color: var(--accent-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.detail-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-item {
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Sidebar */
.detail-sidebar {
    position: sticky;
    top: 180px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--deep-teal);
    margin-bottom: 1.5rem;
}

/* Search Widget */
.search-widget {
    display: flex;
    gap: 0.5rem;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.search-btn {
    padding: 0.75rem 1.5rem;
    background: var(--secondary-teal);
    color: var(--pure-white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: var(--deep-teal);
}

/* Pricing Widget */
.price-range {
    padding: 1rem 0;
}

.price-slider {
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: #ddd;
    outline: none;
    -webkit-appearance: none;
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--secondary-teal);
    cursor: pointer;
}

.price-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--secondary-teal);
    cursor: pointer;
    border: none;
}

.price-values {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    color: var(--accent-gray);
    font-weight: 600;
}

/* Info Widget */
.info-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--accent-gray);
    font-weight: 500;
}

.info-value {
    color: var(--deep-teal);
    font-weight: 600;
}

/* Rating Widget */
.rating-option {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.rating-option:last-child {
    border-bottom: none;
}

.rating-option input[type="checkbox"] {
    margin-right: 1rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.rating-option label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    flex: 1;
}

.rating-option .stars {
    color: #ffa500;
    font-size: 1rem;
}

.review-count {
    color: var(--accent-gray);
    font-size: 0.9rem;
}

/* Book Now Button */
.btn-book-now {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--secondary-teal);
    color: var(--pure-white);
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-book-now:hover {
    background: var(--deep-teal);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(43, 166, 160, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .detail-container {
        grid-template-columns: 1fr;
        margin-top: 160px;
    }

    .detail-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .detail-container {
        padding: 2rem 1rem;
    }

    .detail-hero-image {
        height: 300px;
    }

    .detail-title {
        font-size: 2rem;
    }

    .detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .detail-gallery {
        grid-template-columns: 1fr;
    }

    .section-heading {
        font-size: 1.5rem;
    }
}
