.header {
    margin: 15px;
    position: fixed;
    top: 0;
    width: calc(100% - 30px); 
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(56, 50, 50, 0.1);
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-radius: 15px; 
}

Background
.rooms-hero {
  background-color: #0d0c0c;
  padding: 5px 20px;
   margin-top: 120px;
  text-align: center;
    border-radius: 15px; 
}


/* Background ke upar ext */

/* .rooms-hero h1 {
  font-size: clamp(4rem, 7vw, 3rem);
  font-weight: bold;         
  color: 	#333333;   
  text-align: left;  
    padding: 5px 20px;
     margin-top: 120px;                    
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 3.5rem 5%;
} */



.room-category {
    padding: 5rem 5%;
}

.room-category:nth-child(even) {
    background-color: var(--light-bg);
}

/* gap between room card and room name  */
.room-category h2 {

    padding-top: 0px;
    text-align: center;
    margin-bottom: 3rem;
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--primary-color);
    margin-top: 40px;
}



.room-card {
    display: flex;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.room-card:hover {
    transform: translateY(-10px);
}


.room-image {
    flex: 0 0 70%;
    max-width: 70%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.room-details {
    flex: 0 0 30%;
    max-width: 30%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    line-height: 1.6;
}

.room-details h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: clamp(1.4rem, 2vw, 1.75rem);
}

.room-price {
    color: var(--secondary-color);
    font-size: clamp(1.2rem, 1.8vw, 1.4rem);
    font-weight: bold;
    margin-bottom: 1rem;
}

.room-amenities {
    list-style: none;
    margin-bottom: 1.5rem;
    padding: 0;
}

.room-amenities li {
    margin-bottom: 0.75rem;
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.room-amenities li i {
    color: var(--secondary-color);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    flex-shrink: 0;
}


.book-now-btn {
    font-size: clamp(0.9rem, 1.4vw, 1.1rem);
    padding: 12px 24px;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    width: fit-content;
    text-align: center;
    margin-top: auto;
}

.book-now-btn:hover {
    background-color: #b69162;
}

/* Small Mobile Phones (320px - 480px) */
@media screen and (max-width: 480px) {
    .rooms-hero {
        padding: 40px 15px;
        /* margin-top: 80px; */
        height: auto;
    }

    .rooms-hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .room-category {
        padding: 2rem 15px;
    }

    .room-category h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
         margin-top: 1rem;
    }

    .room-card {
        flex-direction: column;
    }

    .room-image {
        flex: 0 0 100%;
        max-width: 100%;
        aspect-ratio: 16/10;
    }

    .room-details {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 1.5rem;
    }

    .room-details h3 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }

    .room-price {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .room-amenities {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }

    .room-amenities li {
        font-size: 0.9rem;
        margin-bottom: 0;
    }

    .room-amenities li i {
        font-size: 1rem;
    }

    .book-now-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 1rem;
        margin-top: 1rem;
    }
}

/* Large Mobile Phones (481px - 768px) */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .rooms-hero {
        padding: 50px 20px;
        margin-top: 90px;
        height: auto;
    }

    .rooms-hero h1 {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .room-category {
        padding: 3rem 20px;
    }

    .room-card {
        flex-direction: column;
    }

    .room-image {
        flex: 0 0 100%;
        max-width: 100%;
        aspect-ratio: 16/9;
    }

    .room-details {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 2rem;
    }

    .room-details h3 {
        font-size: 1.8rem;
    }

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

    .room-amenities {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .room-amenities li {
        font-size: 1rem;
        margin-bottom: 0;
    }

    .book-now-btn {
        width: 100%;
        padding: 12px 24px;
        font-size: 1.1rem;
    }
}

/* Tablets (769px - 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .room-card {
        flex-direction: column;
    }

    .room-image {
        flex: 0 0 100%;
        max-width: 100%;
        aspect-ratio: 16/9;
    }

    .room-details {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 2rem;
    }

    .room-amenities {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

/* Small Laptops (1025px - 1366px) */
@media screen and (min-width: 1025px) and (max-width: 1366px) {
    .room-category {
        max-width: 1200px;
        margin: 0 auto;
    }

    .room-card {
        flex-direction: row;
    }

    .room-image {
        flex: 0 0 65%;
        max-width: 65%;
    }

    .room-details {
        flex: 0 0 35%;
        max-width: 35%;
    }
}

/* Large Laptops and Desktops (1367px and above) */
@media screen and (min-width: 1367px) {
    .room-category {
        max-width: 1400px;
        margin: 0 auto;
        padding: 5rem 0;
    }

    .room-card {
        flex-direction: row;
    }

    .room-image {
        flex: 0 0 70%;
        max-width: 70%;
    }

    .room-details {
        flex: 0 0 30%;
        max-width: 30%;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .room-card:hover {
        transform: none;
    }

    .room-card:active {
        transform: scale(0.99);
    }

    .book-now-btn:active {
        background-color: #a58057;
    }
    .slider-btn prev-btn{
        width: 20px;
    }
}
