@import url('https://fonts.googleapis.com/css2?family=Battambang&family=Fasthand&family=Kdam+Thmor+Pro&family=Koulen&family=Noto+Serif+Khmer&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body{
    font-family: 'Poppins',sans-serif;
}
h1{
    font-size: 3rem;
    font-weight: 700;
}
h2{
    font-size: 1.8rem;
    font-weight: 600;
    /* color: red; */
}
h3{
    font-size: 1.4rem;
    font-weight: 800;
}
h4{
    font-size: 1.1rem;
    font-weight: 600;
}
h5{
    font-size: 1rem;
    font-weight: 400px;
    color: black;
    }
button{
    font-size: 1rem;
    font-weight: 700px;
    outline: none;
    border: none;
    background-color: black;
    color: white;
    padding: 10px 30px ;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s ease;
}
button:hover{
    background-color:gainsboro;
}
hr{
    width: 30px;
    height: 2px;
    background-color: red;
}
.star{
    padding: 10px 0;
}
.star i{
    font-size: 0.8rem;
    color: goldenrod;
}
.navbar {
    font-size: 18px;
    top: 0;
    left:0;
    box-shadow: 0 5px 10px rgb(0,0,0,0.1);
    
}
.navbar-light .navbar-nav .nav-link{
    padding:0 20px;
    color: black;
    transition: 0.3 ease;
    /* background-color: gainsboro; */
}
.navbar-light .navbar-nav .nav-link:hover, 
.navbar i:hover,
.navbar-light .navbar-nav .nav-link.active:hover,
.navbar i.active{
    color: red;
}

.navbar i{
    font-size: 1.2rem;
    padding: 0 7px;
    cursor: pointer;
    font-weight: 400px;
    transition: 0.3 ease;
}
#bar{
    font-size: 2rem;
    padding: 0 5px; 
    cursor: pointer; 
    font-weight: 200px;
    transition: 0.8s ease;
    color: black; 
}
#bar:hover,
#bar.active{
    color: #fff;
}
.search-box {
    display: flex;
    /* position: absolute; */
    /* top: 100%; */
    /* right: 0;  */
    width: 500px;
    background-color: #fff;
    border: 1px solid #585151;
    /* border-top: none; */
    border-radius: 5px 5px 5px 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 999;
}


/* body > nav */


@media only screen and (max-width:991px) {
    body > nav > div > button:hover,
    body > nav > div > button:focus{
        background-color: red;
    }
    body > nav > div > button:hover #bar,
    body > nav > div > button:focus #bar{
        color:  white;
    }
    /* #navbarSupportedContent > ul  */
    #navbarSupportedContent > ul{
        margin: 1rem;
        justify-content: flex-end;
        align-items: flex-end;
        text-align: right;
    }
    #navbarSupportedContent > ul > li:nth-child(n) > a{
        padding:10px 0;
    }
}


.navbar-light .navbar-toggler{
    border: none;
    outline: none;
}
.navbar i:hover{
    color: red;
}

.container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 10px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: 100px;
    margin-top: 100px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.categories {
    flex: 1;
    align-items: center;
}

.categories h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    width: 90%;
    /* gap: 1.5rem; */
}
.categories ul a {
    text-decoration: none;
    color: #555;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-items: right;
}


.categories ul a span {
    font-size: 0.875rem;
}
.categories ul a i {
    font-size: 1.2rem; /* Size of the icons */
    margin-bottom: 0.3rem; /* Space between icon and text */
}

.categories ul a:hover {
    color: red; /* Change to your preferred hover color */
    transform: translateY(-2px); /* Slight lift effect */
}
.contact img{
    border-radius: 20px;
}
.contact-info {
    gap: 20px;
}

.address, .phone {
    text-align:left;
}

.address h4, .phone h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.address p, .phone p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.container-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
}

.content {
    flex: 1;
    padding-right: 40px;
}

.content h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

.content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.contact {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.contact span {
    font-size: 16px;
    color: #333;
}

.shop-btn {
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.shop-btn:hover {
    background-color: #0056b3;
}

.product-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-card-left {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.product-card-left img{
    width: 60px;
    height: 60px;
    margin-right: 15px;
}
.product-card-right {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.product-card-right img{
    width: 60px;
    height: 60px;
    margin-right: 15px;
}

.product-info h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.product-info p {
    font-size: 16px;
    color: #666;
}

.discount-card{
    background-color: #ffcc00;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.discount-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.discount-card span {
    font-size: 16px;
    color: #666;
    display: block;
    margin-bottom: 20px;
}

.explore-btn {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.explore-btn:hover {
    background-color: #555;
}




.products {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.products h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.products p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.product-card .brand {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.product-card .price {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
}

.button-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 15px;
}

.add-cart {
    background-color: #007BFF;
    color: #fff;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex: 1;
}

.add-cart:hover {
    background-color: #0056b3;
}
.view-details {
    background-color: #28a745;
    color: #fff;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex: 1;
}

.view-details:hover {
    background-color: #218838;
}
/* layout */
.rooms-section {
    padding: 60px 20px;
    background-color:#1c2e24; /* Light gray background */
    text-align: center;
}

.container {
    max-width: 1500px;
    margin: 0 auto;
}

.container h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

.description {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.room {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room img {
    width: 100%;
    height: 500px; /* Adjust height as needed */
    object-fit: cover;
    display: block;
}

.room-button {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */
    padding: 10px 20px;
    border: none;
    border-radius: 25px; /* Rounded button */
    font-size: 15px;
    color: #333;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
}

.room-button span {
    font-size: 14px;
    color: #666;
}

.room-button:hover {
    background-color: rgba(255, 255, 255, 1); /* Fully white on hover */
}

.room:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


/* Offers Section */
.offers-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
  }
  
  .offers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .see-all {
    background-color: #254b4e;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .see-all:hover {
    background-color: black;
  }
  
  .sub-text {
    color: #666;
    margin-bottom: 20px;
  }
  
  /* Offer Cards Layout */
  .offers-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  .offer-card {
    display: flex;
    align-items: flex-start; /* Top-align the image and content */
    background: #d9d9d9;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    flex: 1 1 300px;
    transition: transform 0.3s;
  }
  
  .offer-card:hover {
    transform: scale(1.05);
  }
  
  .offer-card img {
    width: 100px;
    height: 100px;
    border-radius: 15px;
    object-fit: cover;
    margin-right: 15px;
    flex-shrink: 0;
  }
  
  .offer-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
  }
  
  .offer-content h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
  }
  
  .discount {
    color: #e44d26;
    font-weight: bold;
    margin: 5px 0;
  }
  
  .offer-content p {
    margin: 0;
    font-size: 14px;
    color: #333;
  }
  
  .browse-btn {
    background-color: white;
    color: black;
    border: none;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 10px;
    align-self: flex-start;
    transition: background-color 0.3s;
  }
  
  .browse-btn:hover {
    background-color: gray;
  }
  
  
  /* Luxury Section */
  .luxury-section {
    max-width: 1200px;
    margin: 50px auto;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  .luxury-text {
    flex: 1;
  }
  
  .luxury-text h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .learn-more {
    background-color: #254b4e;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .learn-more:hover {
    background-color: black;
  }
  
  /* Luxury Images */
  .luxury-images {
    display: flex;
    gap: 10px;
  }
  
  .luxury-images img {
    width: 120px;
    height: 180px;
    border-radius: 15px; /* Ensuring curved corners */
    object-fit: cover;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .offers-container,
    .luxury-section {
      flex-direction: column;
    }
  
    .offer-card {
      max-width: 100%;
    }
  
    .luxury-images img {
      width: 100%;
      height: auto;
    }
  }