/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

body {
    margin: 0 auto;
    /* font-family: 'Segoe UI', sans-serif; */
    background: #fff;
    /* color: #333; */
    overflow-x: hidden;
  }
  
  .main-header {
    color: white;
    padding-bottom: 60px;
  }
  
  .top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
  }
  
  .top-nav nav a {
    margin: 0 10px;
    text-decoration: none;
    color: white;
  }
  
  .theme-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: white;
  }
  
  .header-hero {
    height: 520px;
    align-content: flex-end;
    padding: 0 0 0 80px;
  }

  .classHeroBanner {
    max-width: 1820px;
    margin: 0 auto;
    padding-bottom: 0;
    height: 250px;
    align-content: end;
    border-top: 1px solid rgb(255 255 255 / 40%);
    display: flex;
    align-items: center;
  }
  
  .header-hero h1 {
    font-family: TT Ramillas Trl;
    font-weight: 400;
    font-size: 72px;
    line-height: 80px;
    letter-spacing: 0%;
    color: #FFFFFF;
    margin: 0;
    padding-left: 100px;
  }

  .classHeroHeader {
    flex: 1;
    height: 250px;
    align-content: center;
    border-right: 1px solid rgb(255 255 255 / 40%);
    justify-items: flex-start;
  }

  .classHeroText {
    flex: 1;
    justify-items: center;
    height: 250px;
    align-content: center;
  }

  .classHeroText p {
    color: #fff;
    width: 50%;
    padding-right: 20px;
    font-family: Jost;
    font-weight: 500;
    font-size: 18px;
    line-height: 30px;
    letter-spacing: 0%;
  }
  
  .filter-bar {
    background: #fff;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    border-bottom: 1px solid #eee;
    margin: 0 auto;
    max-width: 1440px;
  }
  
  .filters button,
  .search-btn {
    margin-right: 10px;
    padding: 8px 16px;
    border: 1px solid #ccc;
    background: #f9f9f9;
    cursor: pointer;
  }
  
  .location-search select {
    margin-right: 10px;
    background: transparent;
    border: none;
    font-family: "Jost";
    font-weight: 400;
    font-size: 20px;
    line-height: 15px;
    letter-spacing: 0%;
    color: #6C6C6C;
  }
  
  .villa-listings {
    padding: 2rem;
    max-width: 1440px;
    margin: 0 auto;
  }
  
  /* .villa-grid {
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    padding: 25px 0;
  } */
  
  /* .villa-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    height: auto;
    width: 340px;
  } */

  .villa-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: flex-start; /* optional: center cards if not full row */
}

/* Mobile: 1 item per row */
.villa-card {
  flex: 0 0 100%;
  max-width: 100%;
  background: #fff;
  height: auto;
}

/* Tablet: 2 items per row */
@media (min-width: 768px) {
  .villa-card {
    flex: 0 0 48%;
    max-width: 100%;
  }
}

/* Desktop: 4 items per row */
@media (min-width: 1024px) {
  .villa-card {
    flex: 0 0 23%;
    max-width: 23%;
  }
}

  
  .villa-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  .villa-info {
    padding: 1rem 0 0;
  }
  
  .villa-info h3 {
    margin: 0 0 0.5rem;
    font-family: TT Ramillas Trl;
    font-weight: 400;
    font-size: 25px;
    line-height: 18px;
    letter-spacing: 0%;
    color: #231F20;
  }

  .villa-info p {
    font-family: Jost;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    letter-spacing: 0%;
    color: #6C6C6C;
  }

  .classNewsLetter {
    height: 380px;
    width: 100%;
    background: url('assets/images/Group\ 60.png') no-repeat center center/cover;
  }

  .newsletter {
    margin: 0 auto;
    max-width: 1440px;
  }
  
  .main-footer {
    background: #1f1f1f;
    color: white;
    padding: 2rem;
    text-align: center;
  }
  
  .newsletter h2 {
    margin-bottom: 0.5rem;
  }
  
  .footer-bottom {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
  }
  
  .footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  footer nav a,
  .footer-socials a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
  }  


  /* Advance Search CSS */

  .search-form {
    display: flex;
    align-items: center;
    gap: 0;
    background: #fff;
    padding: 35px 5px;
    /* border-radius: 50px; */
    /* box-shadow: 1.2px 1.2px 64px 0px #0000000F; */
    flex-wrap: nowrap;
  }

  .classSearchForm form {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .classSearchForm {
    display: flex;
    max-width: 1440px;
    overflow-x: auto;
    margin: 0 auto;
    justify-content: space-around;
    margin-top: -70px;
    background: #fff;
    align-content: center;
    align-items: center;
  }

.form-group {
  display: flex;
  flex-direction: row;
  font-size: 14px;
  color: #3a2d20;
  min-width: 130px;
  gap: 20px;
  align-items: center;
  border-right: 1px solid #AB8965;
  padding: 0 25px;
  /* justify-content: center; */
}

.form-group-location {
  display: flex;
  flex-direction: row;
  font-size: 14px;
  color: #3a2d20;
  min-width: 130px;
  gap: 20px;
  align-items: center;
  /* border-right: 1px solid #AB8965; */
  padding: 0 25px;
}

.form-group label, .form-group-location label {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-family: TT Ramillas Trl;
  font-weight: 400;
  font-size: 20px;
  line-height: 15px;
  letter-spacing: 0%;
}

.form-group input,
.form-group select, .form-group-location input, .form-group-location select {
  padding: 0;
  border: none;
  border-radius: 0;
  background-color: transparent;
  color: #6C6C6C;
  font-family: Jost;
  font-weight: 400;
  font-size: 18px;
  line-height: 15px;
  letter-spacing: 0%;
}

.search-btn {
  background: linear-gradient(to right, #231F20 50%, #fff 0%);
  background-size: 200% 100%;
  background-position: right bottom ;
  color: #231F20 ;
  border: 1px solid #231F20;
  border-radius: 30px;
  padding: 22px 55px 22px 30px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: inset -30px 0 0 0px #231F20;
  font-family: Maison Neue;
  font-weight: 400;
  font-size: 18px;
  line-height: 15px;
  letter-spacing: 0%;
  text-align: center;
}

.search-btn:hover {
  background-position: left bottom !important;
  color: #fff !important;
}

/* Optional Icons as Unicode or Use Icon Fonts */
.icon-calendar::before {
  content: url('assets/images/Vector.png');
  width: 30px;
  height: 30px;
}

.icon-bed::before {
  content: url('assets/images/Vector\ \(1\).png');
  width: 30px;
  height: 30px;
}

.icon-users::before {
  content: url('assets/images/Group\ 16.png');
  width: 30px;
  height: 30px;
}

.icon-location::before {
  content: url('assets/images/Group\ 17.png');
  width: 30px;
  height: 30px;
  display: block;
}

.icon-guest::before {
  content: url('assets/images/guest.svg');
  width: 30px;
  height: 30px;
}

.icon-bed-room::before {
  content: url('assets/images/bedroom.svg');
}

.icon-bathroom,
.icon-guest, 
.icon-bed {
  width: 30px;
  height: 30px;
}

.icon-bathroom::before {
  content: url('assets/images/bathrooms.svg');
  width: 30px;
  height: 30px;
}

.classFormButton {
  /* flex: 1; */
  text-align: center;
}

.classIconProduct {
  display: flex;
  gap: 35px;
}

.classIcon {
  display: flex;
  align-items: center;
  gap: 10px;
}

.classIcon p {
  font-family: 'Jost';
  font-weight: 400;
  font-size: 20px;
  line-height: 15px;
  letter-spacing: 0%;
  margin: 0;
}

.classFilterBar {
  display: flex;
  align-items: center;
  gap: 25px;
}

.classFilter{
    display: flex;
    align-items: center;
}

.location-search{
    display: flex;
    align-items: center;
}

.classFilterDropdown {
  background: transparent;
  border: none;
  font-family: Jost;
  font-weight: 400;
  font-size: 20px;
  line-height: 15px;
  letter-spacing: 0%;
  color: #6C6C6C;
  width: 100%;
}

.classFilter label, .location-search label {
  font-family: Jost;
  font-weight: 400;
  font-size: 20px;
  line-height: 15px;
  letter-spacing: 0%;
  width: 70%;
}

.classHeroborder {
  width: 100%;
  height: 520px;
  border-left: 1px solid rgb(255 255 255 / 40%);
  align-content: end;
}

@media  screen and (max-width: 767px) {
  .filter-bar {
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 10px;
    gap: 20px;
  }

  .classFilter label, .location-search label {
    font-size: 14px;
    width: 86%;
  }

  .classFilterDropdown, .location-search select {
    font-size: 14px;
    padding: 0;
  }

  .form-group {
    /* flex-direction: column; */
    width: 100%;
    padding: 0;
    border-right: none;

  }

  .search-form {
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
  }

  .classSearchForm {
    flex-direction: column;
  }

  /* .header-hero {
    background: url('assets/images/outdoor-balcony\ 1.png') no-repeat center center/cover;
  } */

  .villa-grid {
    width: auto;
    flex-direction: column;
  }

  .classHeroBanner {
    flex-direction: column;
  }

  .classSearchForm {
    margin-top: 0;
  }

  .classHeroBanner {
    padding-left: 20px;
    align-items: flex-start;
  }

  .header-hero h1 {
    padding-left: 0 !important;
  }

  .classHeroHeader {
    border: none;
    width: 100%;
  }

  .classHeroText p {
    width: 100% !important;
  }

  .villa-card {
    width: auto;
  }

  .classSearchForm form {
    flex-direction: column;
  }

  /* .icon-location {
    display: none;
  } */

  .classFilterBar {
    gap: 0;
  }
}

@media screen and (max-width: 1023px) {
  .classSearchForm, .classSearchForm form {
    flex-direction: column;
  }

  .search-form {
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
  }

  /* .header-hero {
    background: url('assets/images/outdoor-balcony\ 1.png') no-repeat center center/cover;
  } */

  .villa-grid
  {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 2fr));
      gap: 1.5rem;
      padding: 25px 0;
      overflow-x: hidden;
  }

  .classHeroText p {
    width: 80%;
  }
}

@media screen and (max-width: 1440px) {
  .classSearchForm {
    max-width: 1300px;
  }

  .header-hero {
    padding: 0 0 0 20px;
  }

  .header-hero h1 {
    padding-left: 20px;
  }
}

.villa-grid .woocommerce-products-header { 
  display: none !important;
}

@media screen and (min-width: 1500px) {
  .classSearchForm form {
    gap: 100px;
  }
}