/**
 * ============================================================
 * File        : style.css
 * Author      : Tamil Selva
 * Description : Main CSS File
 * Version     : 1.0.0
 * Changelog   : - 1.0.0: Initial release.
 * Created On  : June 23, 2025
 * Project     : Jains Inseli Park - Landing Page
 * ============================================================
 */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
}

p,
li,
a {
  font-family: "Mulish", sans-serif;
  text-decoration: none;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

header {
  background-color: #0d172c;
  padding: 10px 100px;
  display: flex;
  justify-content: space-between;
   position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background: #58381a;
  background: linear-gradient(
    90deg,
    rgba(88, 56, 26, 1) 0%,
    rgb(205, 154, 72) 50%,
    rgba(88, 56, 26, 1) 100%
  );
  padding: 0 10px ;
  border-radius: 5px;
  margin-top: 8px;
  height: 50px;
}

.header-contact > a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
}

.hero-section {
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: none;
  margin: 0;
  padding: 0;
}

/* Desktop hero */
.web-hero-section {
  display: block;
  background-image: url('../images/banners/Web.jpg');
  height: 100vh;
  margin-top: 88px;
}

/* Mobile hero */
.mobile-hero-section {
  background-image: url('../images/banners/Web_mob.jpg');
  height: 100dvh; /* fixes mobile viewport issue */
}


@media (max-width: 426px){
  header{
    padding: 10px 20px;
  }
  header>div>img{
    width: 200px;
  }
  .header-contact{
    display: none;
  }
  .enquire{
    display: block;
    height: 30px;
    margin-top: 5px;
  }
  

}

@media (max-width: 768px) {
  .web-hero-section{
    display: none !important;
  }
  .mobile-hero-section{
    display: block !important;
  }
  header{
    padding: 10px;
  }
}



.header-contacts{
    display: flex;
    gap: 20px;
}

.header-contacts>.enquire>a{
    /* need to make this blink */
    cursor: pointer;
    animation: blink 2s infinite;
}
@keyframes blink {
    0% {
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
  

  /* Modal Base Styles */
.modal-overlay {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  /* overflow: auto; */
  background: rgba(0, 0, 0, 0.6);
  /* overflow-y: hidden; */
}

/* Modal Box */
.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px 20px;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  position: relative;
  text-align: center;
  
}

/* Close Button */
.close-modal {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 28px;
  cursor: pointer;
}

/* Form Inputs */
.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 15px;
 
}

.modal-content>h2{
  margin: 20px 0;
}

.modal-content input {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: none;
   font-family: "Mulish", sans-serif;
}

.modal-content input:focus {
  outline: none;
  border-color: #D2AA6B;
}

.modal-content button {
  padding: 10px;
  font-size: 1.2rem;
  background: #D2AA6B;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.modal-content button:hover{
 background: #b9965d;
  
}

/* Responsive Adjustments */
@media (max-width: 480px) {
  .modal-content {
    margin: 20% auto;
    padding: 20px 15px;
  }
}


.about-section{
  text-align: center;
  width: 100%;
  padding: 50px 10px;
  font-family: "Mulish", sans-serif;
  font-size: 1.2rem;
  background-color: #E6D4BC;
}

.about-section>h1{
  font-size: 2.3rem;
  font-weight: 400;
  margin-bottom: 20px;
  color: #1E1E1E;
}

.about-section>p{
  margin-bottom: 20px;
  color: #1E1E1E;
  margin: 0 auto;
  width: 80%;
  line-height: 1.5;
  padding-bottom: 20px;
}

.list-unstyled {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin: 0 auto;
  padding: 20px 0;
  text-align: center;
}

.list-unstyled li {
  flex: 1 1 200px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.list-unstyled li span {
  display: block;
  font-size: 0.85rem;
  color: #666;
  margin-top: 5px;
}

/* Tablet and below */
@media (max-width: 768px) {
  .list-unstyled {
    gap: 20px;
  }

  .list-unstyled li {
    flex: 1 1 45%;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .list-unstyled li {
    flex: 1 1 100%;
    font-size: 0.95rem;
  }
  .about-section ul li:nth-child(1)::after{
    display: none;
  }
  .about-section ul li:nth-child(2)::after{
    display: none;
  }
  .about-section ul li:nth-child(3)::after{
    display: none;
  }
}


.about-section ul li{
  padding-bottom: 50px;
  padding-right: 50px;
}

.about-section ul li:nth-child(1){
  background-image: url(../images/icons/line1.png);
    background-repeat: no-repeat;
    background-position: 40% 70%;
    position: relative;
} 


.about-section ul li:nth-child(1)::after{
    position: absolute;
    top: 0;
    right: 0;
    content: "";
    height: 60px !important;
    background-color: #b2863d;
    width: 2px;
}

.about-section ul li:nth-child(2){
  background-image: url(../images/icons/line1.png);
    background-repeat: no-repeat;
    background-position: 40% 70%;
    position: relative;
} 

.about-section ul li:nth-child(2)::after{
    position: absolute;
    top: 0;
    right: 0;
    content: "";
    height: 60px !important;
    background-color: #b2863d;
    width: 2px;
}

.about-section ul li:nth-child(3){
  background-image: url(../images/icons/line1.png);
    background-repeat: no-repeat;
    background-position: 40% 70%;
    position: relative;
} 

.about-section ul li:nth-child(3)::after{
    position: absolute;
    top: 0;
    right: 0;
    content: "";
    height: 60px !important;
    background-color: #b2863d;
    width: 2px;
}





.about-section ul li:nth-child(4){
  background-image: url(../images/icons/line1.png);
    background-repeat: no-repeat;
    background-position: 30% 70%;
    position: relative;
} 

.amenities-section {
  padding: 60px 20px;
  background-color: #000b5f;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 400;
  color: #d3d0d0;
}

.section-description {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1rem;
  color: #b5b5b5;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 30px;
  justify-items: center;
  align-items: center;
}

.amenity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.amenity-item img {
  width: 100px;
  height: 100px;
  margin-bottom: 10px;
  object-fit: contain;
}

.amenity-item h4 {
  font-size: 0.95rem;
  font-weight: 400;
  color: #ffdede;
  margin: 0;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.5rem;
  }

  .amenities-grid {
    gap: 20px;
  }

  .amenity-item img {
    width: 50px;
    height: 50px;
  }

  .amenity-item h4 {
    font-size: 0.85rem;
  }
  .about-section ul li:nth-child(3){
    background-position: 45% 70%;
  }
  .about-section ul li:nth-child(4){
    background-position: 45% 70%;
  }

  footer{
    font-size: 0.8rem;
  }
}


.floor-plan-section {
  padding: 60px 20px;
  background-color: #E6D4BC;
  text-align: center;
}

.highlight-grid{
  display: flex;
  align-items: top;
  justify-content: center;
  gap: 100px;
}

.section-title1 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: rgb(0, 0, 0);
  font-weight: 400;
}

.floor-buttons {
  margin-bottom: 30px;
}

.floor-buttons button {
  padding: 10px 20px;
  margin: 0 10px;
  font-size: 1rem;
  border: 1px solid #0d172c;
  background-color: white;
  color: #0d172c;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.floor-buttons button:hover,
.floor-buttons button.active {
  background-color: #0d172c;
  color: white;
}

.floor-image img {
  width: 100%;
  max-width: 700px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease-in-out;
  border: 3px solid #D2AA6B;
}

.inseli-highlights {
  padding: 60px 20px;
  background-color: #f7f7f7;
  font-family: 'Segoe UI', sans-serif;
}

.container-high {
  max-width: 1200px;
  margin: auto;
}

.highlight-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  font-weight: bold;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.highlight-block {
  background-color: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.highlight-subtitle {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: #1a1a1a;
  font-weight: 600;
}

.highlight-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.highlight-list li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}

/* Medium devices (tablets) */
@media (max-width: 992px) {
  .highlight-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* Small devices (phones) */
@media (max-width: 600px) {
  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .highlight-title {
    font-size: 1.5rem;
  }

  .highlight-subtitle {
    font-size: 1.1rem;
  }

  .highlight-list li {
    font-size: 0.9rem;
  }
}

.highlight-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  color: #222;
}

.highlight-block {
  margin-bottom: 40px;
}

.highlight-subtitle {
  font-size: 1.5rem;
  margin-bottom: 15px;
  border-left: 4px solid #b9965d;
  padding-left: 12px;
}

.highlight-list {
  list-style-type: disc;
  padding-left: 25px;
  color: #555;
}

.highlight-list li {
  margin-bottom: 8px;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .highlight-title {
    font-size: 1.6rem;
  }

  .highlight-subtitle {
    font-size: 1.2rem;
  }

  .highlight-list li {
    font-size: 0.95rem;
  }
}


.gallery-slider-section {
  padding: 40px 20px;
  text-align: center;
  background-color: #fff;
}

.gallery-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #222;
}

.gallerySwiper {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

.swiper-slide {
  text-align: center;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  max-height: 280px; /* Controls vertical size */
  object-fit: cover;
  border-radius: 8px;
}

.custom-nav{
  margin-top: 20px;
}

.custom-nav>img{
  cursor: pointer;
}

.video-showcase {
  padding: 40px 20px;
  text-align: center;
  background-color: #E6D4BC;
}

.video-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.video-box {
  cursor: pointer;
  max-width: 300px;
  width: 50%;
}

.thumbnail img {
  width: 100%;
  border-radius: 20px;
  transition: transform 0.3s ease;

}

.thumbnail img:hover {
  transform: scale(1.03);
}

.video-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;
}

.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  background: #ffffff64;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .video-modal-content {
    padding: 15px;
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .video-modal-content {
    padding: 10px;
    max-width: 95%;
  }
}


.close-modal {
  position: absolute;
  top: -30px;
  right: 10px;
  font-size: 35px;
  color: #fff;
  cursor: pointer;
}

.map-section {
  padding: 60px 20px;
  background-color: #f5f5f5;
}

.map-container {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


footer{
  background-color: #0d172c;
  color: #bbbbbb;
  text-align: center;
  padding: 20px;
}

footer a{
  color: #fff;
  
}