* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #fff;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 5%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #d4af37 0%, #f8e08e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    z-index: 1001;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #d4af37;
}


/* Mobile Menu Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 6rem 2rem 2rem;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        transition: right 0.4s ease;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a {
        display: block;
        padding: 1.2rem 0;
        font-size: 1.1rem;
    }

    .nav-links a::after {
        display: none;
    }

    .logo {
        font-size: 1.5rem;
    }
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #0a0a0a;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #d4af37;
    border: 1px solid #d4af37;
    padding: 0.8rem 2rem;
}

.btn-secondary:hover {
    background: #d4af37;
    color: #0a0a0a;
}

.rooms-hero {
    padding: 15rem 5% 5rem;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    text-align: center;
}

.rooms-hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    background: linear-gradient(135deg, #fff 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.room-details-section {
    padding: 6rem 5%;
}

.room-detail-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.room-detail-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.room-gallery {
    height: 250px;
    background: linear-gradient(135deg, #1a1a2e 0%, #2a2a3e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    position: relative;
}

.room-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #0a0a0a;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    z-index: 10;
}

.room-content-details {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.room-content-details h3 {
    font-size: 1.8rem;
    color: #d4af37;
    margin-bottom: 0.5rem;
}

.room-content-details>p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.room-price-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    margin-bottom: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.room-price-info .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.room-price-info .price span {
    font-size: 1rem;
    color: #d4af37;
    font-weight: 500;
}

.card-cta-group {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.card-cta-group .btn {
    flex-grow: 1;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
}

/* MODAL STYLES - FULLY RESPONSIVE */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1rem;
    overflow-y: auto;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #2a2a3e 100%);
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    position: relative;
    margin: auto;
}

/* Close Button */
.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    line-height: 1;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Room Detail Modal - LARGE SCREEN */
#roomDetailModal .modal-content {
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;
    width: 92%;
    padding: 3.5rem;
}

#roomDetailModal h2 {
    font-size: 3rem;
    color: #d4af37;
    margin-bottom: 1.5rem;
    text-align: center;
    padding-right: 2rem;
}

#roomDetailModal p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.detail-flex-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 2rem;
}

.detail-price {
    font-size: 3.5rem;
    font-weight: 700;
    color: #d4af37;
    white-space: nowrap;
}

.detail-price span {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.6);
}

.detail-flex-row .btn {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.detail-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.detail-feature-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.3rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.detail-feature-item .icon {
    font-size: 1.8rem;
    color: #d4af37;
    flex-shrink: 0;
}

.detail-feature-item .text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
}

.detail-policy-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-policy-section h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

/* TABLET RESPONSIVE - 1024px */
@media (max-width: 1024px) {
    .room-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #roomDetailModal .modal-content {
        max-width: 90%;
        max-height: 85vh;
        padding: 2.5rem;
    }

    #roomDetailModal h2 {
        font-size: 2.3rem;
    }

    #roomDetailModal p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .detail-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .detail-feature-item {
        padding: 1.1rem;
    }

    .detail-feature-item .icon {
        font-size: 1.6rem;
    }

    .detail-price {
        font-size: 2.8rem;
    }

    .detail-price span {
        font-size: 1.1rem;
    }

    .detail-policy-section h3 {
        font-size: 1.5rem;
    }

    .detail-flex-row .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* MOBILE RESPONSIVE - 768px */
@media (max-width: 768px) {
    .room-detail-grid {
        grid-template-columns: 1fr;
    }

    .rooms-hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .card-cta-group {
        flex-direction: column;
    }

    .card-cta-group .btn {
        width: 100%;
    }

    /* Modal Mobile Styles */
    .modal {
        padding: 0.5rem;
    }

    .modal-content {
        padding: 1.5rem;
        width: 96%;
    }

    #roomDetailModal .modal-content {
        width: 96%;
        max-height: 88vh;
        padding: 1.3rem;
    }

    #roomDetailModal h2 {
        font-size: 1.4rem;
        margin-bottom: 0.7rem;
        padding-right: 2.2rem;
    }

    #roomDetailModal p {
        margin-bottom: 1.2rem;
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .close-modal {
        width: 32px;
        height: 32px;
        font-size: 1.4rem;
        top: 0.7rem;
        right: 0.7rem;
    }

    .detail-features-grid {
        grid-template-columns: 1fr;
        gap: 0.7rem;
        margin-top: 1rem;
    }

    .detail-feature-item {
        padding: 0.7rem;
    }

    .detail-feature-item .icon {
        font-size: 1.2rem;
    }

    .detail-feature-item .text {
        font-size: 0.8rem;
    }

    .detail-flex-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
        margin-top: 1.2rem;
        padding-top: 1rem;
    }

    .detail-price {
        font-size: 1.6rem;
        text-align: center;
    }

    .detail-price span {
        font-size: 0.85rem;
    }

    .detail-flex-row .btn {
        width: 100%;
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .detail-policy-section {
        margin-top: 1.2rem;
        padding-top: 0.9rem;
    }

    .detail-policy-section h3 {
        font-size: 1.1rem;
        margin-bottom: 0.7rem;
    }
}

/* SMALL MOBILE - 480px */
@media (max-width: 480px) {
    .modal-content {
        padding: 1.2rem;
    }

    #roomDetailModal .modal-content {
        padding: 1rem;
        max-height: 90vh;
    }

    #roomDetailModal h2 {
        font-size: 1.25rem;
        padding-right: 2rem;
    }

    #roomDetailModal p {
        font-size: 0.8rem;
    }

    .detail-price {
        font-size: 1.5rem;
    }

    .detail-price span {
        font-size: 0.8rem;
    }

    .close-modal {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }

    .detail-feature-item {
        padding: 0.6rem;
    }

    .detail-feature-item .icon {
        font-size: 1.1rem;
    }

    .detail-feature-item .text {
        font-size: 0.75rem;
    }

    .detail-policy-section h3 {
        font-size: 1rem;
    }
}

/* Facilities / features icons */
.detail-feature-item .icon,
.detail-feature-item img.facility-icon {
    width: 32px;
    /* icon / image width */
    height: 32px;
    /* icon / image height */
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    /* text සමඟ distance */
}

/* Optional: text align */
.detail-feature-item .text {
    vertical-align: middle;
    display: inline-block;
}

.detail-feature-item .icon {
    font-size: 32px;
}