/* ======================
   LUXURY ROOM DETAILS
   ====================== */

/* Hero Section */
.room-hero {
    height: 85vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    overflow: hidden;
}

.room-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.room-hero .container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    padding: 0 60px;
    margin-top: 80px;
}

.room-hero h1 {
    font-size: 5rem;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: white;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.room-hero p {
    font-size: 1.8rem;
    font-weight: 300;
    max-width: 700px;
    margin-bottom: 3rem;
    color: rgba(255,255,255,0.95);
    line-height: 1.4;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-subtitle {
    display: block;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 400;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 2.5rem auto 0;
    animation: fadeInUp 1s ease-out 0.5s both;
    max-width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #fff;
    min-width: 180px;
}

.btn-primary:hover {
    background-color: #c99a1f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    min-width: 180px;
}

.btn-outline:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-indicator i {
    margin-top: 10px;
    font-size: 1.2rem;
}

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

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

/* Room Overview */
.room-overview {
    padding: 100px 0;
    background-color: #f8f5f0;
    position: relative;
    z-index: 1;
}

.room-overview .container {
    display: flex;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
}

.room-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
    position: relative;
}

.room-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.room-category {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #c19a6b;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.room-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 400;
    color: #2c3e50;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.room-meta {
    display: flex;
    gap: 18px;
    color: #7f8c8d;
    font-size: 14px;
    margin-top: 12px;
}

.room-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.room-meta i {
    color: #c19a6b;
    font-size: 15px;
}

.room-description {
    margin: 30px 0;
    line-height: 1.7;
    color: #555;
    font-size: 15px;
}

.room-description p {
    margin-bottom: 18px;
}

.room-features {
    margin: 30px 0 20px;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

/* Room Overview Layout */
.room-overview {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.room-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.room-main {
    flex: 1;
}

.room-sidebar {
    width: 100%;
}

/* Room Features & Amenities in Main Content */
.room-main .room-features-amenities {
    display: none; /* Hide in mobile first */
}

/* Room Features Grid */
.room-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 0;
    padding: 0;
    border: none;
}

.features-amenities-box {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-top: 20px;
}

.features-amenities-box .room-features-grid {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: #f8f5f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    font-size: 18px;
    flex-shrink: 0;
}

.feature-content h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin: 0 0 5px 0;
}

.feature-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #777;
    line-height: 1.5;
    margin: 0;
}

/* Room Amenities Section */
.amenities-section {
    margin: 40px 0;
}

.amenities-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #222;
    margin: 0 0 25px 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 8px;
}

.amenities-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 1px;
    background-color: #d4af37;
}

.amenities-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0 50px;
}

.amenity-column {
    flex: 1;
    min-width: 200px;
}

.amenities-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.amenities-list li {
    position: relative;
    padding: 10px 0 10px 25px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    border-bottom: 1px solid #f0f0f0;
}

.amenities-list li:last-child {
    border-bottom: none;
}

.amenities-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #d4af37;
    font-size: 20px;
    line-height: 1.6;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .room-content-wrapper {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .room-main {
        padding-right: 40px;
        width: 60%;
    }
    
    .room-sidebar {
        width: 40%;
        position: sticky;
        top: 20px;
    }
    
    .room-features-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .features-amenities-box .room-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .room-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .amenities-grid {
        flex-direction: column;
        gap: 0;
    }
    
    .amenity-column {
        width: 100%;
    }
    
    .amenities-list li {
        padding: 12px 0 12px 25px;
    }
    
    .room-main .room-features-amenities {
        display: block; /* Show in mobile */
    }
    
    .room-sidebar .features-amenities-box {
        display: none; /* Hide in mobile */
    }
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
}

.feature-column {
    flex: 1;
    min-width: 180px;
    padding: 0 15px;
    margin: 10px 0;
}

.feature {
    padding: 6px 0;
    margin: 0;
    background: none;
    border: none;
    box-shadow: none;
    transition: none;
    position: relative;
    padding-left: 15px;
}

.feature:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #c19a6b;
    font-size: 16px;
    line-height: 1;
}

.feature h4 {
    display: inline;
    font-size: 13px;
    font-weight: 400;
    color: #333;
    margin: 0;
    line-height: 1.5;
}

.feature p {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .feature-column {
        min-width: 50%;
    }
}

@media (max-width: 480px) {
    .feature-column {
        min-width: 100%;
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .room-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .room-booking {
        position: static !important;
        margin-top: 30px;
    }
    
    .booking-card {
        position: static !important;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .room-header h2 {
        font-size: 28px;
    }
    
    .room-meta {
        flex-wrap: wrap;
        gap: 10px 18px;
    }
    
    .room-features {
        padding: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .feature {
        padding: 14px 16px;
    }
    
    .feature i {
        font-size: 15px;
    }
}

/* Booking Card */
.room-booking {
    flex: 1;
    position: relative;
}

.booking-card {
    position: sticky;
    top: 120px;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    border-top: 4px solid var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.booking-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.price-tag {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.price-tag .amount {
    font-size: 28px;
    font-weight: 400;
    color: #2c3e50;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
}

.price-tag .period {
    display: block;
    color: #7f8c8d;
    font-size: 13px;
    margin-top: 3px;
    font-weight: 400;
}

.booking-card > p {
    color: #6c757d;
    font-size: 14px;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.booking-card .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 20px 0;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.booking-benefits {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 18px;
    margin: 0;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #555;
    font-size: 13px;
}

.benefit:last-child {
    margin-bottom: 0;
}

.benefit i {
    color: #c19a6b;
    font-size: 14px;
    flex-shrink: 0;
}

/* Room Gallery */
.room-gallery {
    padding: 70px 0 90px;
    background-color: #fff;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 45px;
    padding: 0 20px;
}

.section-subtitle {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #c19a6b;
    margin-bottom: 12px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 400;
    color: #2c3e50;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.section-header p {
    color: #6c757d;
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 240px);
    gap: 15px;
    margin-bottom: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    background: #f8f8f8;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.gallery-item--large {
    grid-column: span 7;
    grid-row: span 2;
}

.gallery-item:not(.gallery-item--large) {
    grid-column: span 5;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color: white;
    padding: 18px 20px;
    font-size: 15px;
    font-weight: 400;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

.gallery-cta {
    text-align: center;
    margin-top: 30px;
}

.gallery-cta .btn {
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

/* Responsive Gallery */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-rows: repeat(2, 250px);
    }
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: 400px 300px 300px;
    }
    
    .gallery-item--large {
        grid-column: 1 / -1;
        grid-row: 1;
    }
    
    .gallery-item:not(.gallery-item--large) {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-rows: 300px 200px 200px;
    }
    
    .gallery-item:not(.gallery-item--large) {
        grid-column: span 6;
    }
    
    .gallery-caption {
        transform: translateY(0);
        background: rgba(0,0,0,0.5);
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-rows: 250px 150px 150px 150px 150px;
    }
    
    .gallery-item {
        grid-column: 1 / -1 !important;
    }
    
    .gallery-item--large {
        grid-row: 1;
    }
}

/* Footer Phone Number Styling */
.footer a[href^="tel:"],
.footer a[href^="https://wa.me/"] {
    color: #2ecc71;
    text-decoration: none;
    font-weight: 500;
    -webkit-transition: color 0.3s ease, text-decoration 0.3s ease;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer a[href^="tel:"]:hover,
.footer a[href^="https://wa.me/"]:hover {
    color: #27ae60;
    text-decoration: underline;
}

/* Keep the existing footer link styles but make them more specific */
.footer a:not([href^="tel"]):not([href^="https://wa.me/"]):not(.btn) {
    color: inherit;
    text-decoration: none;
}

/* Animation Keyframes */
@-webkit-keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translateY(30px);
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

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

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

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