/* Accommodation Page Styles */

/* Page-specific animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Staggered gallery items */
.showcase-item {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.showcase-item.visible {
    opacity: 1;
    transform: scale(1);
}

/* Page-specific header override */
.page-header p {
    font-style: italic;
}

/* Intro Section */
.intro-section {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, #1a1d28 0%, #252836 100%);
}

.intro-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-container h2 {
    color: #d4af37;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.intro-container p {
    color: #e8e6e3;
    font-size: 1.15rem;
    line-height: 1.8;
    margin: 0;
}

/* Room Showcase - Masonry Grid Gallery */
.room-showcase {
    padding: 0 2rem 4rem;
    background: linear-gradient(180deg, #252836 0%, #1a1d28 100%);
}

.showcase-container {
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 150px;
    gap: 1rem;
}

.showcase-item {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.showcase-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.showcase-item:hover::after {
    opacity: 1;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.showcase-item:hover img {
    transform: scale(1.08);
}

/* Dynamic grid sizes based on image orientation */
.showcase-item.vertical { grid-row: span 2; }
.showcase-item.wide { grid-column: span 2; }

/* Lightbox */
.showcase-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.showcase-lightbox.active {
    display: flex;
}

.showcase-lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    line-height: 1;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(212, 175, 55, 0.3);
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Space Section - Alternating Image/Text */
.space-section {
    padding: 5rem 2rem;
    background: #f4f1ed;
}

.space-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.space-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.space-block.reverse {
    direction: rtl;
}

.space-block.reverse > * {
    direction: ltr;
}

.space-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.space-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.space-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.space-image:hover img {
    transform: scale(1.03);
}

.space-content h2 {
    color: #1a1d28;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.space-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #d4af37;
}

.space-content p {
    color: #4a4a4a;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.space-content p:last-child {
    margin-bottom: 0;
}

.space-highlight {
    background: linear-gradient(180deg, #1a1d28 0%, #252836 100%);
    color: #e8e6e3 !important;
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem !important;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.space-highlight:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.space-highlight i {
    color: #d4af37;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.space-highlight:hover i {
    transform: scale(1.15);
}

/* Dog Section */
.dog-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, #1a1d28 0%, #252836 100%);
    position: relative;
    overflow: hidden;
}

.dog-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.dog-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.dog-content {
    text-align: center;
}

.paw-prints {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.paw-prints i {
    color: #d4af37;
    font-size: 1.5rem;
    opacity: 0.6;
    animation: float 3s ease-in-out infinite;
}

.paw-prints i:nth-child(1) {
    animation-delay: 0s;
}

.paw-prints i:nth-child(2) {
    opacity: 0.8;
    font-size: 1.75rem;
    animation-delay: 0.3s;
}

.paw-prints i:nth-child(3) {
    animation-delay: 0.6s;
}

.dog-content h2 {
    color: #d4af37;
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.dog-content p {
    color: #e8e6e3;
    font-size: 1.1rem;
    line-height: 1.9;
    margin: 0;
}

/* Pricing Section */
.pricing-section {
    padding: 5rem 2rem;
    background: #f4f1ed;
}

.pricing-container {
    max-width: 900px;
    margin: 0 auto;
}

.pricing-container > h2 {
    text-align: center;
    color: #1a1d28;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.stay-overview {
    background: linear-gradient(180deg, #1a1d28 0%, #252836 100%);
    border-radius: 16px;
    padding: 3rem;
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
    border: 2px solid #d4af37;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stay-overview:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
}

.stay-price {
    flex-shrink: 0;
    text-align: center;
    padding-right: 3rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.price-amount {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.price-period {
    display: block;
    color: #a8a5a0;
    font-size: 1rem;
    margin-top: 0.25rem;
}

.stay-includes h3 {
    color: #d4af37;
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.stay-includes p {
    color: #c5c3c0;
    line-height: 1.7;
    margin: 0;
}

.meals-section h3 {
    color: #1a1d28;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.stay-extras {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.extra-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(180deg, #1a1d28 0%, #252836 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 30px;
    padding: 0.9rem 1.5rem;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.extra-item:hover {
    border-color: #d4af37;
    transform: translateY(-2px);
}

.extra-item i {
    color: #d4af37;
    font-size: 1.1rem;
}

.extra-item span {
    color: #a8a5a0;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 992px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .showcase-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 120px;
    }

    .showcase-item.wide { grid-column: span 1; }

    .space-block {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .space-block.reverse {
        direction: ltr;
    }

    .space-image img {
        height: 280px;
    }

    .stay-overview {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .stay-price {
        padding-right: 0;
        border-right: none;
        padding-bottom: 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stay-extras {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 100px;
    }

    .showcase-item.vertical { grid-row: span 1; }
    .showcase-item.wide { grid-column: span 1; }
}

@media (max-width: 480px) {
    .intro-container p {
        font-size: 1rem;
    }

    .space-content h2 {
        font-size: 1.5rem;
    }

    .space-content p {
        font-size: 0.95rem;
    }

    .space-highlight {
        flex-direction: column;
        text-align: center;
    }

    .dog-content p {
        font-size: 1rem;
    }

    .stay-overview {
        padding: 2rem;
    }

    .price-amount {
        font-size: 3rem;
    }

    .meal-header {
        flex-direction: column;
        gap: 0.25rem;
    }


    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}
