@media (max-width: 830x) {

    .navbar{
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .nav-links{
        justify-content: center;
        gap: 5px;
    }

    .rooms-grid{
        grid-template-columns: 1fr;
    }

    .room-card img{
        max-width: 100%;
        height: 250px;
    }

    .amenities-grid{
        flex-direction: column;
        align-items: center;
    }

    .location-container{
        flex-direction: column;
        gap: 20px;
    }

    .testimonial-container{
        grid-template-columns: 1fr;
    }

    .map-container{
        width: 85%;
        min-width: unset;
    }
    

    .location-details{
        width: 100%;
        min-width: unset;
    }
    .footer-container{
        flex-direction: column;
        text-align: center;
    }

    .footer-section{
        min-width: 100%;
    }

}
body{
    background-image: url(images/image\ 16.jpg);
    background-position: center;
    background-size: cover;
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}
/*header*/


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #0f172a;
    flex-wrap: wrap;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 22px;
    font-weight: bold;
}

.logo img {
    height: 70px;
    width: auto;
}

.logo-text span {
    font-size: 12px;
    color: #d4af37;
    font-style: italic;
    display: block;
}

/* NAV LINKS */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-size: 15px;
    position: relative;
    transition: 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #d4af37;
}

.nav-links li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: #d4af37;
    transition: 0.3s;
}

.nav-links li a:hover::after {
    width: 100%;
}

.section-title h5{
    color: #000;
    font-size: 45px;
    font-family: 'Times New Roman', Times, serif;
    margin-bottom: 2px;
}

.section-title p{
    color:rgb(12, 12, 12) ;
    font-size: 25px;
}

/*welcome line*/

.welcome{
    text-align:center;
    padding:80px 15%; 
    background:#fff;
}

.welcome h1{
    font-size:3rem;
    color:#0f172a;
    margin-bottom:20px;
    margin-top: auto;

}
.welcome h5{
    font-size:2rem;
    color:#0f172a;
    margin-bottom:8px;
}

.welcome p{
    font-size:1.1rem;
    line-height:1.8;
    color:#090f1f;
    max-width:800px;
    margin:auto;
}
.featured-rooms{
    padding:80px 8%;
    background:#f8fafc;
}

/*rooms display home*/
.room-types{
    padding:80px 8%;
    background:#f8fafc;
}
.room-card img{
    width: 100%;
    max-width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    font-size:2.5rem;
    color:#0f172a;
    margin-bottom:10px;
}

.rooms-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
    gap:30px;
}

.room-card{
    background:white;
    padding:40px 30px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
    transition:all 0.4s ease;
}

.room-card:hover{
    transform:translateY(-10px);
    box-shadow:0 15px 30px rgba(0,0,0,0.15);
}

.room-card h3{
    color:#0f172a;
    font-size:1.6rem;
    margin-bottom:15px;
}

.room-card p{
    color:#0f0f0f;
    margin-bottom:15px;
    line-height:1.8;
}

.room-card ul{
    list-style:none;
    padding:0;
}

.room-card ul li{
    margin-bottom:8px;
}


.room-footer{
    margin-top:20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.room-footer span{
    color:#d4af37;
    font-size:20px;
    font-weight:bold;
}

.room-footer button{
    padding:10px 18px;
    border:none;
    background:#0f172a;
    color:white;
    border-radius:8px;
    cursor:pointer;
    transition:0.3s;
}

.room-footer button:hover{
    background:#d4af37;
}

/*Amenities*/

.amenities{
    padding: 80px 8%;
    background: #f8fafc;
}

.section-title{
    text-align: center;
    margin-bottom: 40px;
}
.section-title p2{
    color: #080808;
    font-size: large;
}

.amenities-grid{
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* moves cards to next line on smaller screens */
}

.amenity-card{
    background: rgb(245, 240, 240);
    width: 220px;
    padding: 25px 20px;
    text-align: center;
    border-radius: 12px;

    /* Bottom shadow */
    box-shadow: 0 10px 20px rgba(5, 5, 5, 0.1);

    transition: all 0.3s ease;
}

.amenity-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
}

.amenity-card h3{
    margin-bottom: 15px;
    color: #0f172a;
}

.amenity-card p{
    color: #080808;
    line-height: 1.6;
    font-size: 20px;
}
.amenity-card img{
    width: auto;
    height: 45px;

}

/*Gallery*/

.gallery{
    padding:80px 8%;
    background:#fff;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:20px;
}

.gallery-grid img{
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:15px;
    transition:.4s;
    cursor:pointer;
}

.gallery-grid img:hover{
    transform:scale(1.05);
}

/*testimonials*/
.testimonials{
    padding:80px 8%;
    background:#f8fafc;
}

.testimonial-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:25px;
}

.testimonial-card{
    background:#111e3a;
    padding:30px;
    border-radius:15px;
    box-shadow:0 10px 20px rgba(0,0,0,.08);
    transition:.3s;
}

.testimonial-card:hover{
    transform:translateY(-8px);
    color: #b9bfcc;
}

.testimonial-card p1{
    font-size: 20px;
    color:#1f1d1d;
    margin-bottom:20px;
    font-weight: 700;
}

.testimonial-card h4{
    color:#d4af37;
    margin-bottom:5px;
}
/*location*/
.location{
    padding:80px 8%;
    background:#f8fafc;
}

.location-container{
    display:flex;
    gap:40px;
    align-items:flex-start;
}

.location-details{
    flex:1;
    min-width:300px;
}

.location-details h3{
    color:#0f172a;
    margin-bottom:20px;
}

.location-details p{
    color:#64748b;
    line-height:1.8;
    margin-bottom:20px;
}

.contact-item{
    display:flex;
    gap:10px;
    align-items:center;
    flex-wrap: wrap;
}

.map-container{
    flex: 1;
    min-width: 100px;
    height: 300px;
    overflow: hidden;
    border-radius: 15px;
}

.map-container iframe{
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.footer{
    background:#0f172a;
    color:white;
    padding-top:60px;
}

.footer-container{
    width:90%;
    margin:auto;
    display:flex;
    justify-content:space-between;
    gap:40px;
    flex-wrap:wrap;
}

.footer-section{
    flex:1;
    min-width:200px;
}

.footer-section h3{
    margin-bottom:20px;
    color:#d4af37;
}

.footer-section ul{
    list-style:none;
    padding:0;
}

.footer-section ul li{
    margin-bottom:10px;
}

.footer-section ul li a{
    color:white;
    text-decoration:none;
}

.footer-section ul li a:hover{
    color:#d4af37;
}

.footer-bottom{
    text-align:center;
    margin-top:40px;
    padding:20px;
    border-top:1px solid rgba(255,255,255,.1);
}


.footer{
    text-align:center;
    padding:20px;
    background:#0f172a;
    color:white;
}

