/* =====================================================
   GLOBAL RESET
===================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: Arial, sans-serif;

  line-height: 1.6;

  color: #333;

  background: #f8f9fb;
}


a {
  text-decoration: none;
}


img {
  max-width: 100%;
  display: block;
}


/* =====================================================
   HEADER
===================================================== */

header {
  width: 100%;

  position: fixed;

  top: 0;
  left: 0;

  background: rgba(255, 255, 255, 0.28);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;

  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.06);

  z-index: 1000;
}


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

  height: 85px;

  padding: 0 25px;
}


.logo img {
  height: 58px;
}


/* =====================================================
   NAVIGATION
===================================================== */

nav {
  display: flex;
  align-items: center;

  gap: 28px;
}


nav a {
  position: relative;

  color: #8c0001;

  font-size: 16px;
  font-weight: 600;
}


nav a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -6px;

  width: 0;
  height: 2px;

  background:
    linear-gradient(
      90deg,
      #144a9a,
      #8b0000
    );

  transition: width 0.3s ease;
}


nav a:hover::after,
nav a.active::after {
  width: 100%;
}


/* =====================================================
   HEADER BUTTON
===================================================== */

.btn-header {
  padding: 12px 26px;

  border-radius: 30px;

  background:
    linear-gradient(
      135deg,
      #8b0000,
      #c62828
    );

  color: #ffffff;

  font-size: 15px;
  font-weight: 600;

  box-shadow:
    0 6px 18px rgba(139, 0, 0, 0.35);

  transition: 0.3s ease;
}


.btn-header:hover {
  transform: translateY(-2px);

  box-shadow:
    0 10px 25px rgba(139, 0, 0, 0.45);
}


.menu-toggle {
  display: none;
}


/* ==================================================
   VILLAS BANNER - DESKTOP
================================================== */

.banner-section.villas-hero {
  width: calc(100% - 50px);
  max-width: 1920px;

  aspect-ratio: 16 / 9;
  height: auto;



  background-image: url('../images/villas-in-madurai.webp');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;

  border-radius: 22px;
  overflow: hidden;

  position: relative;
}


/* Remove overlay */

.banner-section.villas-hero::after {
  display: none;
}


/* ==================================================
   TABLET
   577px - 992px
================================================== */

@media (max-width: 992px) {

  .banner-section.villas-hero {
    width: calc(100% - 30px);

    /* Better tablet banner height */
    aspect-ratio: auto;
    height: 480px;

   

    background-image: url('../images/villas-in-madurai.webp');

    /* Fill tablet banner */
    background-size: cover;

    /* Adjust this if important text gets cropped */
    background-position: center center;

    border-radius: 16px;
  }

}


/* ==================================================
   MOBILE
   0px - 576px
================================================== */

@media (max-width: 576px) {

  .banner-section.villas-hero {
    width: calc(100% - 20px);

    aspect-ratio: auto;
    height: 300px;

   

    background-image: url('../images/villas-in-madurai-mobile.webp');

    background-size: cover;

    /*
      Original banner text is on right/bottom,
      so this keeps more of that area visible.
    */
    background-position: 70% center;

    border-radius: 12px;
  }

}

 





  









 


/* =====================================================
   VILLAS ENQUIRY SECTION
===================================================== */

.villa-enquiry-section {
  width: 100%;

  padding: 90px 25px;

  background:
    linear-gradient(
      135deg,
      #fffdf9 0%,
      #ffffff 45%,
      #f8f2ef 100%
    );
}


.villa-enquiry-container {
  width: 100%;

  max-width: 1180px;

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(420px, 1.1fr);

  gap: 70px;

  align-items: center;
}


/* =====================================================
   LEFT CONTENT
===================================================== */

.villa-enquiry-content {
  max-width: 500px;
}


.villa-form-kicker {
  display: inline-flex;

  align-items: center;

  margin-bottom: 16px;

  padding: 7px 13px;

  border-radius: 30px;

  background: #f7e9e9;

  color: #8c0001;

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 0.7px;

  text-transform: uppercase;
}


.villa-enquiry-content h2 {
  margin-bottom: 16px;

  color: #720004;

  font-size: 38px;

  line-height: 1.2;

  font-weight: 800;
}


.villa-enquiry-content > p {
  margin-bottom: 30px;

  color: #666;

  font-size: 16px;

  line-height: 1.8;
}


.villa-form-points {
  display: flex;

  flex-direction: column;

  gap: 14px;
}


.villa-form-point {
  display: flex;

  align-items: center;

  gap: 12px;

  color: #444;

  font-size: 15px;
  font-weight: 600;
}


.villa-form-point i {
  width: 38px;
  height: 38px;

  display: flex;

  align-items: center;
  justify-content: center;

  flex: 0 0 38px;

  border-radius: 50%;

  background:
    linear-gradient(
      135deg,
      #fff7d8,
      #e5c15c
    );

  color: #790000;
}


/* =====================================================
   FORM CARD
===================================================== */

.villa-form-card {
  position: relative;

  padding: 38px;

  border-radius: 24px;

  background:
    rgba(255, 255, 255, 0.96);

  border:
    1px solid rgba(140, 0, 1, 0.08);

  box-shadow:
    0 24px 65px rgba(85, 0, 0, 0.12);

  overflow: hidden;
}


.villa-form-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 5px;

  background:
    linear-gradient(
      90deg,
      #710004,
      #b10a0c,
      #e5c15c
    );
}


.villa-form-heading {
  margin-bottom: 28px;
}


.villa-form-heading > span {
  display: block;

  margin-bottom: 6px;

  color: #b08b2c;

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 1px;

  text-transform: uppercase;
}


.villa-form-heading h3 {
  margin-bottom: 7px;

  color: #750004;

  font-size: 27px;

  line-height: 1.25;
}


.villa-form-heading p {
  color: #777;

  font-size: 14px;
}


/* =====================================================
   FORM FIELDS
===================================================== */

.villa-form-group {
  margin-bottom: 18px;
}


.villa-form-group label {
  display: block;

  margin-bottom: 7px;

  color: #333;

  font-size: 13px;
  font-weight: 700;
}


.villa-input-wrap {
  position: relative;
}


.villa-input-wrap > i {
  position: absolute;

  top: 50%;
  left: 15px;

  transform: translateY(-50%);

  color: #9b7777;

  font-size: 14px;

  pointer-events: none;
}


.villa-input-wrap input,
.villa-input-wrap select,
.villa-input-wrap textarea {
  width: 100%;

  border:
    1px solid #e2dada;

  outline: none;

  background: #fcfbfb;

  color: #333;

  font-family: inherit;

  font-size: 14px;

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}


.villa-input-wrap input,
.villa-input-wrap select {
  height: 50px;

  padding:
    0 15px
    0 44px;

  border-radius: 12px;
}


.villa-input-wrap textarea {
  min-height: 110px;

  padding:
    15px 15px
    15px 44px;

  border-radius: 12px;

  resize: vertical;
}


.villa-textarea-wrap > i {
  top: 18px;

  transform: none;
}


.villa-input-wrap input:focus,
.villa-input-wrap select:focus,
.villa-input-wrap textarea:focus {
  border-color: #a30005;

  background: #ffffff;

  box-shadow:
    0 0 0 3px rgba(140, 0, 1, 0.08);
}


/* =====================================================
   SUBMIT BUTTON
===================================================== */

.villa-submit-btn {
  width: 100%;

  min-height: 52px;

  margin-top: 5px;

  border: 0;

  border-radius: 50px;

  display: flex;

  align-items: center;
  justify-content: center;

  gap: 10px;

  background:
    linear-gradient(
      135deg,
      #720004,
      #b20a0c
    );

  color: #ffffff;

  font-size: 15px;
  font-weight: 700;

  cursor: pointer;

  box-shadow:
    0 10px 26px rgba(140, 0, 1, 0.25);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}


.villa-submit-btn:hover {
  transform: translateY(-2px);

  box-shadow:
    0 14px 30px rgba(140, 0, 1, 0.32);
}


.villa-submit-btn i {
  font-size: 13px;

  transition:
    transform 0.25s ease;
}


.villa-submit-btn:hover i {
  transform: translateX(3px);
}


/* =====================================================
   FORM NOTE
===================================================== */

.villa-form-note {
  display: flex;

  justify-content: center;

  gap: 6px;

  margin-top: 14px;

  color: #999;

  font-size: 11px;

  text-align: center;
}


.villa-form-note i {
  margin-top: 3px;

  color: #b08b2c;
}


#villaFormMessage {
  margin-top: 12px;

  font-size: 13px;

  text-align: center;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 992px) {

  header {
    position: relative;

    background: #ffffff;
  }


  .header-flex {
    height: 65px;

    padding: 0 10px;
  }


  .logo img {
    height: 45px;
  }


  .menu-toggle {
    display: block;

    color: #8c0001;

    font-size: 26px;

    cursor: pointer;
  }


  nav {
    display: none;

    position: absolute;

    top: 65px;
    left: 0;

    width: 100%;

    flex-direction: column;

    gap: 0;

    background: #ffffff;

    text-align: center;

    box-shadow:
      0 8px 20px rgba(0, 0, 0, 0.10);
  }


  nav.show {
    display: flex;
  }


  nav a {
    width: 100%;

    padding: 14px;

    border-bottom:
      1px solid #eeeeee;
  }


  .btn-header {
    display: none;
  }


  .banner-section.villas-hero {
    width: calc(100% - 30px);

    height: 520px;

    margin:
      15px auto 0;

    background-image:
      url('../images/villas-banner-mobile.webp');

    background-position:
      center center;
  }


  .villas-hero-content {
    left: 6%;
    right: 6%;

    bottom: 50px;
  }


  .villas-hero-content h1 {
    font-size: 42px;
  }


  .villas-hero-content p {
    font-size: 17px;
  }


  .villa-enquiry-section {
    padding:
      65px 20px;
  }


  .villa-enquiry-container {
    grid-template-columns: 1fr;

    gap: 40px;

    max-width: 720px;
  }


  .villa-enquiry-content {
    max-width: 100%;

    text-align: center;
  }


  .villa-enquiry-content h2 {
    font-size: 32px;
  }


  .villa-form-points {
    max-width: 400px;

    margin: 0 auto;

    text-align: left;
  }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 576px) {

  .banner-section.villas-hero {
    width: calc(100% - 20px);

    height: 420px;

    margin:
      10px auto 0;

    background-image:
      url('../images/villas-banner-mobile.webp');

    background-position:
      center center;
  }


  .villas-hero-content {
    left: 20px;
    right: 20px;

    bottom: 32px;
  }


  .villas-kicker {
    padding: 6px 11px;

    font-size: 10px;
  }


  .villas-hero-content h1 {
    font-size: 32px;
  }


  .villas-hero-content p {
    margin-bottom: 16px;

    font-size: 14px;
  }


  .villas-hero-badge {
    padding: 7px 10px;

    font-size: 10px;
  }


  .villa-enquiry-section {
    padding:
      48px 14px;
  }


  .villa-enquiry-content h2 {
    font-size: 26px;
  }


  .villa-enquiry-content > p {
    font-size: 14px;
  }


  .villa-form-point {
    font-size: 13px;
  }


  .villa-form-card {
    padding:
      28px 18px;

    border-radius: 18px;
  }


  .villa-form-heading h3 {
    font-size: 22px;
  }


  .villa-form-heading p {
    font-size: 13px;
  }


  .villa-input-wrap input,
  .villa-input-wrap select {
    height: 48px;

    font-size: 13px;
  }


  .villa-input-wrap textarea {
    min-height: 100px;

    font-size: 13px;
  }


  .villa-submit-btn {
    min-height: 50px;

    font-size: 14px;
  }

}
/* ================= FOOTER ================= */
.footer {
  background: #292929;
  color: #ffffff;
  padding-top: 55px;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 0 20px 45px;
}

.footer-col h3 {
  font-size: 20px;
  margin-bottom: 18px;
  color: #fff7c5;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.85);
  transition: 0.3s;
}
.footer-col ul li a:hover {
color: #fff7c5;
padding-left: 4px;
}
.footer-logo {
  width: 140px;
 margin-bottom: 15px;
}

.footer-about {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.85;
}

.footer-info li {
  opacity: 0.9;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
 padding: 18px 10px;
  font-size: 13px;
  background: rgba(0, 0, 0, 0.15);
}

