/* ============================================
   ACCOMMODATIONS SECTION
   ============================================ */
.accommodation-section {
    padding: 5rem 2rem;
    background: linear-gradient(to bottom, #f8fbf8, #ffffff);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.accommodation-header {
    text-align: center;
    margin-bottom: 3rem;
}

.accommodation-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #6b9746;
    margin-bottom: 1rem;
}

.accommodation-subheading {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --------------------------------------------
   ACCOMMODATION CARDS
   -------------------------------------------- */
.accommodation-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.accommodation-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.accommodation-card.loaded {
    opacity: 1;
    transform: translateY(0);
}

.accommodation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

/* --------------------------------------------
   GALLERY INSIDE CARD
   -------------------------------------------- */
.accommodation-image-container {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #f8fbf8;
}

.accommodation-gallery {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.accommodation-gallery-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.accommodation-gallery-slide {
    flex-shrink: 0;
    height: 100%;
    cursor: pointer;
    animation: fadeIn 0.5s ease;
}

.accommodation-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.accommodation-gallery-slide:hover img {
    transform: scale(1.05);
}

/* Navigation Dots */
.accommodation-gallery-nav {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.accommodation-gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.accommodation-gallery-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Arrows */
.accommodation-gallery-controls {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    z-index: 5;
}

.accommodation-gallery-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.3s ease, transform 0.3s ease;
    border: none;
    color: #333;
}

.accommodation-image-container:hover .accommodation-gallery-arrow {
    opacity: 1;
}

.accommodation-gallery-arrow:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}

/* --------------------------------------------
   CARD CONTENT
   -------------------------------------------- */
.accommodation-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #6b9746;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 10;
}

.accommodation-card-content {
    padding: 1.5rem;
}

.accommodation-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.accommodation-card-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.accommodation-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.accommodation-feature {
    background: #f2f7f2;
    color: #6b9746;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.accommodation-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accommodation-price {
    font-weight: 600;
    color: #6b9746;
    font-size: 1.2rem;
}

.accommodation-btn {
    background: #6b9746;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.accommodation-btn:hover {
    background: #5a8040;
    transform: translateY(-2px);
}

/* --------------------------------------------
   LOADING STATE
   -------------------------------------------- */
.accommodation-gallery-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #6b9746;
    font-size: 1rem;
}

.accommodation-gallery-loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #6b9746;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

/* ============================================
   LIGHTBOX (Single Version)
   ============================================ */
.accommodation-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}

.accommodation-lightbox.active {
    display: flex;
    opacity: 1;
}

.accommodation-lightbox-content {
    position: relative;
    width: 95%;
    height: 95%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accommodation-lightbox-img-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accommodation-lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

/* Lightbox Controls */
.accommodation-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10002;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.accommodation-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #6b9746;
    transform: rotate(90deg);
}

.accommodation-lightbox-counter {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 15px;
    border-radius: 20px;
    z-index: 10002;
}

.accommodation-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.accommodation-lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.accommodation-lightbox-nav.prev {
    left: 20px;
}

.accommodation-lightbox-nav.next {
    right: 20px;
}

.accommodation-lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    font-size: 1.1rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0.6;
    }

    to {
        opacity: 1;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .accommodation-section {
        padding: 3rem 1rem;
    }

    .accommodation-heading {
        font-size: 2rem;
    }

    .accommodation-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .accommodation-gallery-arrow {
        opacity: 1;
    }

    .accommodation-lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .accommodation-lightbox-close {
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
        top: 15px;
        right: 15px;
    }

    .accommodation-lightbox-counter {
        top: 15px;
        left: 15px;
        font-size: 0.9rem;
    }

    .accommodation-lightbox-caption {
        font-size: 1rem;
        padding: 10px;
    }
}