/* ═══════════════════════════════════════════
   NOS TENTES (LUXE SHOWCASE)
   ═══════════════════════════════════════════ */

/* 1. Hero Anchor */
.tents-hero {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.tents-hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.tents-hero__content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.tents-hero__content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    margin-bottom: 2rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.8;
}

.scroll-indicator span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 1.5px solid #fff;
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 2px;
    height: 8px;
    background: #fff;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 15px);
    }
}

/* 2. Catalogue Rows */
.tents-catalogue {
    background: var(--color-bg);
    overflow: hidden;
}

.tent-row {
    display: flex;
    min-height: 90vh;
}

.tent-row--reverse {
    flex-direction: row-reverse;
}

.tent-row__image-wrap {
    width: 60%;
    overflow: hidden;
}

.tent-row__image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s var(--ease-out);
}

.tent-row:hover .tent-row__image {
    transform: scale(1.05);
}

.tent-row__content {
    width: 40%;
    display: flex;
    align-items: center;
    padding: 4rem;
}

.tent-info-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 4rem;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(18, 14, 10, 0.05);
}

.tent-info-card h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 300;
    color: var(--color-brown-deep);
    margin-bottom: 1.5rem;
}

.tent-info-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

.tent-features {
    list-style: none;
    margin-bottom: 3rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.tent-features li {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feat-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

.tent-row:hover .feat-icon {
    color: var(--color-gold);
}

.feat-label {
    font-size: 0.9rem;
    color: var(--color-text);
}

.tent-pricing {
    margin-bottom: 2.5rem;
}

.price-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

.price-value {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-brown-deep);
}

.price-value small {
    font-size: 0.8rem;
    letter-spacing: 0;
}

.tent-actions {
    display: flex;
    gap: 1rem;
}

/* 2.1 Stats Bar */
.tents-stats {
    padding: 6rem 0;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.tents-stats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}

.tents-stats__number {
    display: block;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 300;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.tents-stats__label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
}

.meta-label--white {
    color: #fff;
    margin-bottom: 2rem;
    opacity: 0.8;
}

/* Pattern Separator */
.pattern-separator {
    height: 120px;
    background-image: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="M20 0l20 20-20 20L0 20z" fill="%23d4b68e" fill-opacity="0.1"/></svg>');
    background-size: 40px;
}

@media (max-width: 1100px) {

    .tent-row,
    .tent-row--reverse {
        flex-direction: column;
    }

    .tent-row__image-wrap,
    .tent-row__content {
        width: 100%;
    }

    .tent-row__image-wrap {
        height: 50vh;
    }

    .tent-row__content {
        padding: 2rem;
    }

    .tent-info-card {
        padding: 2.5rem;
        margin-top: -4rem;
        position: relative;
        z-index: 5;
    }
}

/* 3. Modal Over-Page */
.tent-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.tent-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.tent-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(28, 26, 22, 0.6);
    backdrop-filter: blur(20px);
}

.tent-modal__container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 85vh;
    background: #fff;
    border-radius: 8px;
    overflow-y: auto;
    transform: translateY(30px);
    transition: transform 0.5s var(--ease-out);
}

.tent-modal.is-open .tent-modal__container {
    transform: translateY(0);
}

.tent-modal__close {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    color: var(--color-text);
}

/* Modal Content Styling */
.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100%;
}

.modal-visuals {
    padding: 4rem;
    background: var(--color-bg);
}

.lookbook-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.lookbook-item {
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
}

.lookbook-item--main {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.modal-details {
    padding: 6rem;
    display: flex;
    flex-direction: column;
}

.modal-details h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.availability-widget {
    margin-top: auto;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 900px) {
    .modal-grid {
        grid-template-columns: 1fr;
    }

    .modal-visuals,
    .modal-details {
        padding: 2.5rem;
    }
}

/* 4. Swiper Gallery Slider (Tentes) */
.editorial-slider-wrapper {
    position: relative;
    width: 50%;
    margin: 4rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1024px) {
    .editorial-slider-wrapper {
        width: 100%;
        margin: 2rem 0;
    }
}

.room-gallery-slider {
    width: 100%;
    height: 100%;
    min-height: 500px;
    background: #f5f5f5;
}

@media (max-width: 768px) {
    .room-gallery-slider {
        min-height: 350px;
    }
}

.room-gallery-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.room-gallery-slider .swiper-slide img,
.modal-gallery-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Swiper Navigation Customization */
.room-gallery-slider .swiper-button-next,
.room-gallery-slider .swiper-button-prev,
.modal-gallery-slider .swiper-button-next,
.modal-gallery-slider .swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.room-gallery-slider .swiper-button-next:after,
.room-gallery-slider .swiper-button-prev:after,
.modal-gallery-slider .swiper-button-next:after,
.modal-gallery-slider .swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: bold;
}

.room-gallery-slider .swiper-button-next:hover,
.room-gallery-slider .swiper-button-prev:hover,
.modal-gallery-slider .swiper-button-next:hover,
.modal-gallery-slider .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.room-gallery-slider .swiper-pagination-bullet,
.modal-gallery-slider .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.room-gallery-slider .swiper-pagination-bullet-active,
.modal-gallery-slider .swiper-pagination-bullet-active {
    background: #d4b68e; /* Gold color */
    opacity: 1;
}

/* 5. Destructured Collage (7 images) */
.ecf-img4,
.ecf-img5,
.ecf-img6,
.ecf-img7 {
    position: absolute;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.ecf-img4 {
    top: -5%;
    right: 25%;
    width: 22%;
    height: 25%;
    z-index: 0;
}

.ecf-img5 {
    bottom: 5%;
    right: 15%;
    width: 25%;
    height: 28%;
    z-index: 4;
}

.ecf-img6 {
    top: 35%;
    left: -5%;
    width: 18%;
    height: 22%;
    z-index: 2;
}

.ecf-img7 {
    bottom: 35%;
    left: 45%;
    width: 15%;
    height: 18%;
    z-index: 5;
}

.ecf-img4 img,
.ecf-img5 img,
.ecf-img6 img,
.ecf-img7 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.editorial-cluster-floating:hover .ecf-img4 img,
.editorial-cluster-floating:hover .ecf-img5 img,
.editorial-cluster-floating:hover .ecf-img6 img,
.editorial-cluster-floating:hover .ecf-img7 img {
    transform: scale(1.05);
}

/* ============================================
   TENT INFO & FULL-WIDTH MASONRY (Comme Inara)
   ============================================ */

.tent-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.tent-info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.tent-info-left {
    flex: 1 1 50%;
    min-width: 300px;
}

/* Quick Stats Row (Capacity, Surface, Bed) */
.tent-quick-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.tqs-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--color-text-dark, #1a1a1a);
    position: relative;
    padding-right: 15px;
}

/* Vertical separator line */
.tqs-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 14px;
    width: 1px;
    background: rgba(0,0,0,0.15);
}

.tqs-icon {
    color: var(--color-text-dark, #1a1a1a);
    flex-shrink: 0;
}

.tent-info-right {
    flex: 1 1 40%;
    min-width: 300px;
    padding-left: 30px;
}

/* Feature list styling (pro checkmarks + borders) */
.tent-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tent-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    font-size: 1.05rem;
    color: var(--color-text-dark, #1a1a1a);
}

/* No top border on first item, as per design */
.tent-features-list li:first-child {
    padding-top: 0;
}

.feat-icon-svg {
    color: #1a1a1a;
    flex-shrink: 0;
}

.tent-masonry-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    align-items: start;
    width: 100%;
    margin-top: 80px;
}

.tent-masonry-item {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.tent-masonry-item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tent-masonry-item:hover img {
    transform: scale(1.03);
}

/* Mobile adjustments */
@media (max-width: 991px) {
    .tent-info-row {
        gap: 30px;
    }
    .tent-info-right {
        border-left: none;
        padding-left: 0;
    }
    .tent-masonry-full {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .tent-masonry-full {
        grid-template-columns: 1fr;
    }
}