/* ==================== ROOM 04 - FAMILY STYLE DESIGN ==================== */

/* Breadcrumbs positioning - ensure it's below fixed nav */
.breadcrumbs {
    margin-top: 80px;
}

/* Hero Section with Parallax */
.room-hero-family,
.room-hero-luxury {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.room-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.room-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.room-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(14, 165, 233, 0.45) 50%, rgba(16, 185, 129, 0.35) 100%);
    z-index: 2;
    animation: heroOverlayShift 8s ease-in-out infinite;
}

@keyframes heroOverlayShift {
    0%, 100% {
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(14, 165, 233, 0.45) 50%, rgba(16, 185, 129, 0.35) 100%);
    }
    50% {
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(14, 165, 233, 0.5) 50%, rgba(16, 185, 129, 0.4) 100%);
    }
}

.room-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.room-hero-badge {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
    color: white;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 30px;
    box-shadow: 0 12px 48px rgba(14, 165, 233, 0.5),
                0 0 60px rgba(14, 165, 233, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: fadeInDown 1s ease;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.room-hero-badge:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 16px 56px rgba(14, 165, 233, 0.6),
                0 0 80px rgba(14, 165, 233, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.room-hero-title {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 700;
    margin: 0 0 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(14, 165, 233, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #0ea5e9 50%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease 0.2s both, titleGlow 3s ease-in-out infinite 1.2s;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

@keyframes titleGlow {
    0%, 100% {
        filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 30px rgba(14, 165, 233, 0.3));
    }
    50% {
        filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 50px rgba(14, 165, 233, 0.5));
    }
}

.room-hero-subtitle {
    font-size: clamp(18px, 2.5vw, 32px);
    font-weight: 300;
    margin: 0 0 60px;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.4s both;
}

.room-hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
    animation: fadeInUp 1s ease 0.6s both, bounce 2s ease infinite 2s;
    cursor: pointer;
}

.room-hero-scroll span {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.room-hero-scroll svg {
    animation: bounce 2s ease infinite;
}

/* Room Info Section */
.room-info-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
}

.room-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.room-info-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
}

.room-info-header {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 3px solid #0ea5e9;
}

.room-info-title {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 15px;
    line-height: 1.2;
}

.room-info-capacity {
    font-size: 18px;
    color: #0ea5e9;
    font-weight: 700;
    letter-spacing: 1px;
}

.room-info-description {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

.room-info-features h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 25px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(14, 165, 233, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 16px;
    color: #333;
    border-left: 4px solid #0ea5e9;
}

.features-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(14, 165, 233, 0.25);
    border-left-color: #10b981;
}

.feature-icon {
    font-size: 24px;
    flex-shrink: 0;
}

/* Price Card */
.room-price-card {
    background: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 24px 70px rgba(14, 165, 233, 0.35),
                0 0 100px rgba(14, 165, 233, 0.15),
                0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    border: 2px solid rgba(255, 255, 255, 0.25);
    position: sticky;
    top: 100px;
    color: white;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.room-price-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.room-price-card:hover::before {
    opacity: 1;
}

.room-price-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 30px 80px rgba(14, 165, 233, 0.45),
                0 0 120px rgba(14, 165, 233, 0.2),
                0 0 0 1px rgba(255, 255, 255, 0.3) inset;
    border-color: rgba(255, 255, 255, 0.4);
}

.price-card-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.price-label {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
}

.price-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}

.price-value {
    font-family: 'Nunito', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: white;
}

.price-unit {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
}

.price-card-promo {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 30px;
    text-align: center;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.price-card-promo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.price-card-promo:hover::before {
    opacity: 1;
}

.price-card-promo:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.promo-badge {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.promo-price {
    font-family: 'Nunito', sans-serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
}

.promo-time {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.promo-note {
    font-size: 12px;
    opacity: 0.8;
}

.price-card-additional {
    margin-bottom: 25px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 15px;
}

.price-item:last-child {
    border-bottom: none;
}

.price-item strong {
    color: white;
    font-weight: 700;
    font-size: 16px;
}

.price-card-note {
    background: rgba(255, 255, 255, 0.15);
    border-left: 3px solid white;
    padding: 15px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.price-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    color: #0ea5e9;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.3),
                0 0 40px rgba(14, 165, 233, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    border: 2px solid rgba(14, 165, 233, 0.2);
}

.price-card-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.price-card-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 35px rgba(14, 165, 233, 0.4),
                0 0 60px rgba(14, 165, 233, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    border-color: rgba(14, 165, 233, 0.4);
}

.price-card-btn:hover::before {
    width: 300px;
    height: 300px;
}

.price-card-btn:active {
    transform: translateY(-1px) scale(1);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.price-card-btn svg {
    color: #0ea5e9;
}

/* Gallery Section */
.room-gallery-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
}

.section-title {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: white;
    text-align: center;
    margin: 0 0 60px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.room-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.5);
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 165, 233, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay svg {
    color: white;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay svg {
    transform: scale(1);
}

/* Gallery Modal */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.gallery-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.gallery-modal-content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
}

.gallery-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.gallery-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 2;
}

.gallery-modal-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gallery-modal-nav.prev {
    left: -70px;
}

.gallery-modal-nav.next {
    right: -70px;
}

.gallery-modal-counter {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 18px;
    font-weight: 700;
}

/* CTA Section */
.room-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
    text-align: center;
}

.cta-content h2 {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: white;
    margin: 0 0 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-btn.primary {
    background: white;
    color: #0ea5e9;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    background: #f0f9ff;
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cta-btn.secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.3);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .room-info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .room-price-card {
        position: static;
    }

    .gallery-modal-nav.prev {
        left: 10px;
    }

    .gallery-modal-nav.next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .room-hero-family,
    .room-hero-luxury {
        height: 70vh;
        min-height: 500px;
    }

    .room-info-section,
    .room-gallery-section,
    .room-cta-section {
        padding: 60px 0;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .room-price-card {
        padding: 30px 20px;
    }

    .price-value {
        font-size: 42px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}




