/* Property Page Styles */

.property-page {
    padding-top: 80px;
}

.back-link {
    display: inline-block;
    padding: 1.5rem 5%;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #333;
}

.property-hero-image {
    width: 100%;
    height: 50vh;
    overflow: hidden;
}

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

.property-content {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 5%;
}

.property-details h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 0.5rem;
}

.property-specs {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.property-rating {
    font-size: 0.95rem;
    color: #e6a756;
    margin-bottom: 2rem;
}

.property-description h2,
.property-amenities h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 1rem;
}

/* Description Header with FAQ Link */
.description-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.description-header h2 {
    margin-bottom: 0;
}

.header-links {
    display: flex;
    gap: 0.5rem;
}

.faq-link,
.guide-link {
    color: #4a7c59;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border: 1px solid #4a7c59;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.faq-link:hover,
.guide-link:hover {
    background: #4a7c59;
    color: #fff;
}

/* FAQ Modal */
.faq-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.faq-modal.active {
    display: flex;
}

.faq-modal-content {
    background: #fff;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 12px;
    position: relative;
}

.faq-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}

.faq-modal-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #333;
    margin: 0;
}

.faq-modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.3s ease;
}

.faq-modal-close:hover {
    color: #333;
}

.faq-modal-body {
    padding: 1.5rem 2rem 2rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-question {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.faq-answer {
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
}

.faq-answer p {
    margin-bottom: 0.75rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer a {
    color: #4a7c59;
}

.faq-answer a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .faq-modal {
        padding: 1rem;
    }

    .faq-modal-header,
    .faq-modal-body {
        padding: 1rem 1.25rem;
    }

    .faq-modal-header h2 {
        font-size: 1.4rem;
    }

    .description-header {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
}

.property-description p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.property-amenities {
    margin-top: 2.5rem;
}

.property-amenities ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.property-amenities li {
    color: #555;
    font-size: 0.95rem;
    padding-left: 1.5rem;
    position: relative;
}

.property-amenities li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4a7c59;
}

/* Booking Widget */
.booking-widget {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.booking-widget h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 1rem;
}

.widget-placeholder {
    background: #e8e8e8;
    min-height: 500px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    color: #888;
}

.widget-placeholder p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.widget-note {
    font-size: 0.8rem !important;
    color: #aaa !important;
}

/* Responsive */
@media (max-width: 900px) {
    .property-content {
        grid-template-columns: 1fr;
    }

    .booking-widget {
        position: static;
    }

    .property-hero-image {
        height: 40vh;
    }

    .property-details h1 {
        font-size: 2.2rem;
    }
}

/* Included Properties List (for Mountain Retreat page) */
.included-properties {
    margin-top: 2.5rem;
}

.included-properties h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 1rem;
}

.property-list {
    list-style: none;
}

.property-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

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

.property-list strong {
    color: #333;
}

@media (max-width: 600px) {
    .property-amenities ul {
        grid-template-columns: 1fr;
    }
}

/* Photo Carousel */
.photo-carousel {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
    background: #111;
}

.carousel-slides {
    display: flex;
    height: 100%;
    transition: transform 0.4s ease;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #111;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    z-index: 10;
}

.view-all-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    z-index: 10;
}

.view-all-btn:hover {
    background: #fff;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .photo-carousel {
        height: 40vh;
    }
}

/* Gallery Page */
.gallery-page {
    padding-top: 80px;
}

.gallery-header {
    padding: 2rem 5%;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.gallery-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 0.5rem;
}

.gallery-header .back-link {
    display: inline-block;
    padding: 0;
    margin-bottom: 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    padding: 2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 1rem;
    }

    .gallery-header h1 {
        font-size: 1.8rem;
    }
}

/* V2 Property Page Layout - Inline Carousel */
.property-page-v2 .property-content {
    padding-top: 0;
}

.carousel-inline {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: #111;
    border-radius: 12px;
    margin: 1.5rem 0 0.75rem;
}

.carousel-inline .carousel-slides {
    display: flex;
    height: 100%;
    transition: transform 0.4s ease;
}

.carousel-inline .carousel-slide {
    min-width: 100%;
    height: 100%;
}

.carousel-inline .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-inline .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

.carousel-inline .carousel-btn.prev {
    left: 10px;
}

.carousel-inline .carousel-btn.next {
    right: 10px;
}

.carousel-inline .carousel-counter {
    bottom: 12px;
}

.view-all-link {
    display: inline-block;
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: #333;
}

@media (max-width: 900px) {
    .carousel-inline {
        height: 280px;
    }
}

@media (max-width: 600px) {
    .carousel-inline {
        height: 220px;
        border-radius: 8px;
    }
}
