/* ===== Hero Section ===== */
/* main{
    padding-top: 90px;
} */
/* ===== Hero Section ===== */
/* .rooms-hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f8f5e6;
    text-align: center;
} */

/* Video container stays behind overlay + text */
/* .hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; 
    overflow: hidden;
} */

/* Make video fill the entire container
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
} */

/* Overlay sits above video */
/* .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(30, 63, 45, 0.7), rgba(30, 63, 45, 0.3));
    z-index: 1;
} */

/* Content sits above both video + overlay */
/* .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background: #d4af37;
    color: #1e3f2d;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    background: #c19d2e;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
} */

.hero-section {
  position: relative;
  height: 80vh;
  width: 100%;
}

.hero-section video {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

main {
  padding-top: 90px;
}

.hero-section .section-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--pure-white);
  padding-bottom: 60px;
}

.hero-section .title {
  font-size: var(--font-size-xxl);
  font-weight: var(--font-weight-bold);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  margin-bottom: 15px;
}

.hero-section .subtitle {
  font-size: var(--font-size-l);
  font-weight: var(--font-weight-semibold);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
}

.hero-section .description {
  font-size: var(--font-size-m);
  font-weight: var(--font-weight-medium);
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  max-width: 600px;
  padding: 0 20px;
}

.booking {
  background-color: var(--accent-gold);
  color: var(--true-black);
  padding: 12px 30px;
  border-radius: var(--border-radius-m);
  font-size: var(--font-size-m);
  font-weight: var(--font-weight-semibold);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  border: none;
}

.booking:hover {
  background-color: var(--deep-rust);
  color: var(--pure-white);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.booking:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.3);
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section .title {
    font-size: 1.5rem;
  }

  .hero-section .subtitle {
    font-size: 1.1rem;
  }

  .hero-section .description {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
    .hero-section .title {
        font-size: 1.3rem;
    }
    .hero-section .subtitle {
        font-size: 1rem;
    }
    .booking {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
  }


/* ===== Room Tabs Navigation ===== */
.room-tabs-container {
    background: var(--primary-dark);
    position: sticky;
    top: 90px;
    z-index: 80;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.room-tabs {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: auto;
    scrollbar-width: none;
}

.room-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    background: transparent;
    color: var(--warm-neutral);
    padding: 15px 30px;
    font-size: var(--font-size-m);
    font-weight: var(--font-weight-medium);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.tab-btn.active {
    color: var(--accent-gold);
    font-weight: var(--font-weight-semibold);
}

.tab-btn.active::after {
    width: 60%;
}

.tab-btn:hover:not(.active) {
    color: rgba(212, 175, 55, 0.8);
}

/* ===== Room Sections ===== */
.room-content-container {
    background: var(--warm-neutral);
    padding-bottom: 60px;
}

.room-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.room-section.active {
    display: block;
}

.room-detail-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
    gap: 40px;
}

.room-main-content {
    flex: 2;
    min-width: 0;
}

.room-sidebar {
    flex: 1;
    min-width: 350px;
    position: sticky;
    top: 150px;
    height: fit-content;
}

/* Room Gallery */
.room-gallery {
    margin-bottom: 50px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.gallery-main {
    height: 500px;
    border-radius: var(--border-radius-s);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.thumbnail {
    height: 150px;
    border-radius: var(--border-radius-s);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail.active, .thumbnail:hover {
    border-color: var(--accent-gold);
    transform: scale(1.05);
}

/* Room Description */
.room-description h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    position: relative;
}

.room-description h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--accent-gold);
}

.room-highlight {
    display: flex;
    gap: 20px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.room-highlight span {
    background: rgba(74, 124, 89, 0.1);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
}

.room-highlight .price {
    background: var(--accent-gold);
    font-weight: var(--font-weight-bold);
}

.room-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--shadow-brown);
    margin-bottom: 20px;
}

/* Activity Tags Styling */
.activity-highlights {
  margin: 25px 0;
  padding-top: 20px;
  border-top: 1px dashed rgba(74, 124, 89, 0.3);
}

.activity-highlights h4 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.activity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.activity-tag {
  background: rgba(212, 175, 55, 0.2);
  color: var(--primary-dark);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: var(--font-weight-medium);
}

/* Room Features */
.room-features-details {
    margin: 40px 0;
}

.room-features-details h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 30px;
    position: relative;
}

.room-features-details h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-gold);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--pure-white);
    padding: 30px;
    border-radius: var(--border-radius-s);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(30, 63, 45, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(74, 124, 89, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--primary-light);
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon svg {
    transform: rotate(15deg);
}

.feature-card h4 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--shadow-brown);
    line-height: 1.6;
}

/* Amenities Sidebar */
.amenities-list {
    background: var(--pure-white);
    padding: 30px;
    border-radius: var(--border-radius-s);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.amenities-list h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-gold);
}

.amenities-list ul {
    display: grid;
    gap: 15px;
}

.amenities-list li {
    position: relative;
    padding-left: 25px;
    font-size: 0.95rem;
    color: var(--shadow-brown);
    line-height: 1.6;
}

.amenities-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--accent-gold);
    border-radius: 2px;
}

/* ===== Room Comparison Section ===== */
.room-comparison-section {
    background: var(--pure-white);
    padding: 80px 0;
    border-top: 1px solid rgba(30, 63, 45, 0.1);
    border-bottom: 1px solid rgba(30, 63, 45, 0.1);
}

.room-comparison-section .section-content {
    max-width: 1200px;
}

.room-comparison-section h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 15px;
}

.room-comparison-section .section-subtitle {
    text-align: center;
    margin-bottom: 40px;
}

.comparison-table-container {
    overflow-x: auto;
    margin-top: 30px;
    padding-bottom: 10px;
}

.comparison-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
}

.comparison-table th {
    background: var(--primary-light);
    color: var(--warm-neutral);
    padding: 15px;
    text-align: left;
    font-weight: var(--font-weight-medium);
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(30, 63, 45, 0.1);
    color: var(--shadow-brown);
}

.comparison-table tr:nth-child(even) {
    background: rgba(74, 124, 89, 0.05);
}

.comparison-table tr:hover {
    background: rgba(212, 175, 55, 0.1);
}

/* ===== Booking CTA Section ===== */
.booking-cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--warm-neutral);
}

.booking-cta-section .section-content {
    max-width: 800px;
}

.booking-cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.booking-cta-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1024px) {
    .room-detail-container {
        flex-direction: column;
    }
    
    .room-sidebar {
        min-width: 100%;
        position: static;
        margin-top: 40px;
    }
    
    .gallery-main {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .rooms-hero {
        height: 50vh;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .tab-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-main {
        height: 350px;
    }
    
    .thumbnail {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .rooms-hero {
        height: 40vh;
        /* margin-top: 70px; */
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .room-tabs {
        flex-wrap: wrap;
        justify-content: center;
        padding: 10px 15px;
        overflow-x: visible;
    }
    
    .tab-btn {
        flex: 1; /* Allow buttons to grow */
        min-width: 120px; /* Set a minimum width for each tab */
        padding: 10px 15px;
        font-size: 0.9rem;
        white-space: normal; /* Allow text to wrap */
        text-align: center;
        line-height: 1.3;
    }
    
    .tab-btn::after {
        display: none; /* Hide the underline on small screens */
    }
    
    .tab-btn.active {
        background-color: rgba(212, 175, 55, 0.2); /* Add background for active tab */
        border-radius: 4px;
    }

    .room-highlight {
        gap: 10px;
    }
    
    .room-highlight span {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .gallery-main {
        height: 250px;
    }
    
    .thumbnail {
        height: 60px;
    }
    
    .feature-card {
        padding: 20px;
    }
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }

}


