
body {
    font-family: 'Sarabun';
    margin: 0;
    padding: 0;
}
.navbar-brand img {
            height: 30px;
        }
        .navbar-nav {
            margin-left: auto;
            margin-right: auto;
        }
header img {
    width: 100%;
    height: auto;
}
.search-section {
    margin-top: 30px;
}
.search-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.form-group {
    position: relative;
    margin-bottom: 20px;
}
.form-group label {
    font-weight: bold;
}
.form-group select,
.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.form-group .fa-location-dot {
    margin-right: 8px;
}
.form-group span {
    font-size: 10px;
    color: #888;
}
.btn-search {
    background-color: orange;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
}

.results-section {
    padding: 20px;
}

.tab-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.tab {
    padding: 10px 20px;
    background-color: #ddd;
    border: none;
    cursor: pointer;
}

.tab.active {
    background-color: orange;
    color: white;
}.results-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.result-item {
    background-color: white;
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: border 0.3s ease, transform 0.3s ease;
}
.result-item:hover{
    border: 2px solid rgb(0, 183, 255);
    transform: scale(1.05);
}

.image-container {
    position: relative;
}

.result-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;

}

.result-details {
    padding: 10px;
}

.result-title {
    display: flex;
    justify-content: space-between;
    align-items: center;

    
}

.location-icon {
    background-color: #fff;
    border-radius: 50%;
    padding: 5px;
    font-size: 16px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.result-details h3 {
    margin: 0;
    font-size: 24px;
    color: black;
    font-weight: bold;
}

.result-details p {
    margin: 5px 0;
    font-size: 24px;
    color: red;
    font-weight: bold;
    text-align: right;
}



.card-container {
    display: flex;
    padding: 10px 0px;
    gap: 10px;
    cursor: grab;
    overflow: hidden; 
    -ms-overflow-style: none;  
    scrollbar-width: none; 
    margin: 0 auto;
    width: 100%;
    align-items: stretch;
}

.card-header {
    margin: 0 auto;
    width: 100%;
}

.pagination {
    display: flex;
    justify-content: center; 
    margin-top: 80px; 
}


.pagination .page-item {
    display: flex;
    align-items: center;
}

.card-container::-webkit-scrollbar {
    display: none; 
}

.card {
    flex: 0 0 auto;
    width: 300px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.card-details {
    padding: 15px;
    flex-grow: 1;
}

.card-details h2 {
    margin: 0 0 10px;
    font-size: 18px;
}

.card-details p {
    margin: 5px 0;
    color: #555;
}
.price-people {
    position: absolute;
    top: 10px;
    right: -1px;
    color: white;
    background-color:red;
    font-size: 10px;
    padding: 3px 5px 3px 10px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-bottom-left-radius: 50px;
    border-top-left-radius: 50px;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    display: none;
}

.spinner-container{
    text-align: center;
}

.spinner-container h4{
    margin-top: 20px;
}


.filter-section {
    border: 1px solid #ddd;
    border-radius: 5px;
}
a:link{
    text-decoration:none;  
}


.fa-solid{

    color:rgb(0, 183, 255);
}

.line-break {
    display: block;
  }
.font-villas{
    color:black;
    font-size:18px;
}

.mt-custom {
    margin-top: 4rem;
}
.text-gold {color: gold;}

.price-acc{
    padding: 10px;
    text-align: -webkit-center;
    background-color: rgb(250, 215, 215);
    border-radius: 10px;
}
.villa-header {  padding: 20px;
    text-align: -webkit-center;
    background-color: antiquewhite;
    border-radius: 10px; }
.villa-header h1 { margin: 0; }
.villa-details { padding: 20px; }
.btn-line { background-color: #4CAF50; color: white; width: 100%; padding: 10px; text-align: center; border-radius: 5px; }
.btn-line:hover { background-color: #45a049; color: white; text-decoration: none; }
.villa-images img, .additional-images img {     
    /* width: 100%; */
    height: auto;
    border-radius: 10px;}

    
.iframe-container {position: relative;width:100%;height: 120vh;}
.iframe-container iframe {position: absolute;top: 0;left: 0;width: 100%;height: 100%;border: 0;z-index: 1;overflow: hidden;}   
.icons-facility{fill: #08e3ff;}

.form-group {
    position: relative;
  }
  
  .location-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #00bfff;
    pointer-events: none;
  }
  
  
  #location {
    padding-left: 40px; 
    border-radius: 20px;
  }

  .guest-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #00bfff; 
    pointer-events: none; 
  }
  
  #guests {
    padding-left: 40px;
    border-radius: 20px;
  }
  
  .sea-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #00bfff; 
    pointer-events: none; 
  }
  
  #sea_waterfall {
    padding-left: 40px; 
    border-radius: 20px;
  }
  .checkin-icon, .checkout-icon {
    position: absolute;
    left: 10px; 
    top: 50%;
    transform: translateY(-50%);
    color: #00bfff; 
    pointer-events: none; 
  }
  
  input[type="date"] {
    padding-left: 40px; 
    border-radius: 20px;

  }

  .card-villa{
    border-radius: 30px;
    padding: 20px;
    box-shadow:0 4px 8px rgb(0 0 0 / 38%);
    width: 300px;
    margin: 20px;
  }

  .blog-full{
    width: 50%;
  }
  

  @media (max-width: 600px) {

    .blog-full{
        width: 90%;
      }


    .results-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .result-item {
        width: 100%;
        margin-bottom: 20px;
    }
    .card-villa {
        border-radius: 0; 
        padding: 0;
        box-shadow: none; 
        width: 100%; 
        margin: 0;
    }
  
}


.ml10{

    margin-left: 10px;
}

.floating-btn {
    position: fixed;
    top:50%;
    right: 10px;
    z-index: 1000;
    width: 50px;
  }
  .carousel-indicators [data-bs-target] {
    background-color: #d3d3d3; 
    margin: 0 5px; 
    opacity: 0.6;
    transition: background-color 0.3s, opacity 0.3s;
    border: none;
  }
  
  .carousel-indicators [data-bs-target].active {
    background-color: rgb(0, 183, 255); 
    opacity: 1;
  }
  

  .hiddletext {
    white-space: nowrap;      
    overflow: hidden;
    text-overflow: ellipsis; 
    width:95%; 
}

.content-text h1{
    font-size: 18px;
    color: gray;
    
}

.baanpool-right {
    position: absolute;
    top: 50%;
    width: 28px;
    height: 28px;
    background-color: #fff;
    text-align: center;
    border-radius: 50%;
    right: 0;
    border: none;
}

.baanpool-left  {
    position: absolute;
    top: 50%;
    width: 28px;
    height: 28px;
    background-color: #fff;
    text-align: center;
    border-radius: 50%;
    left: 0;
    border: none;
}

