/* Always show vertical scrollbar to prevent layout shift */
html {
  overflow-y: scroll;
}

/* Prevent horizontal scroll on body */
body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  background: #fff;
  color: #2d3436;
  line-height: 1.6;
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fixed Header/Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-logo img {
  height: 50px;
  width: auto;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-contact a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.header-contact a:hover {
  color: #f39c12;
  transform: translateY(-2px);
}

.header-contact i {
  font-size: 1.1rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #f1c40f;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Hero Slider Section */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  margin-top: 0;
}

.swiper-slide {
  position: relative;
  width: 100%;
  height: 100vh !important;
  background-size: cover;
  background-position: center;
}

.slide-1 { background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('./7.jpg') center/cover; }
.slide-2 { background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('./6.jpg') center/cover; }
.slide-3 { background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('./5.jpg') center/cover; }

.hero-content {
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 650px;
  color: #fff;
  text-align: left;
  padding: 2rem;
  z-index: 10;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.2;
}

.hero-tagline {
  font-size: 1.6rem;
  font-weight: 300;
  color: #f1c40f;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.hero-content p {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.cta-button {
  background: #f1c40f;
  color: #1a1a1a;
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 25px rgba(241, 196, 15, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
}

.cta-button:hover {
  background: #f39c12;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(241, 196, 15, 0.5);
}

/* Swiper Navigation for Hero */
.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev {
  color: #f1c40f !important;
  background: rgba(0,0,0,0.5);
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
}

.heroSwiper .swiper-button-next:after,
.heroSwiper .swiper-button-prev:after {
  font-size: 20px !important;
}

.heroSwiper .swiper-pagination-bullet {
  background: #fff !important;
  opacity: 0.5 !important;
  width: 12px !important;
  height: 12px !important;
}

.heroSwiper .swiper-pagination-bullet-active {
  background: #f1c40f !important;
  opacity: 1 !important;
}

/* Info Bar */
.info-bar {
  background: #1a1a1a;
  padding: 3rem 2rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.info-card {
  background: rgba(255,255,255,0.05);
  border: 2px solid #f1c40f;
  border-radius: 12px;
  padding: 2rem 3rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-width: 280px;
  transition: all 0.3s ease;
}

.info-card:hover {
  background: rgba(241, 196, 15, 0.1);
  transform: translateY(-5px);
}

.info-icon {
  font-size: 3rem;
  color: #f1c40f;
  flex-shrink: 0;
}

.info-content {
  text-align: left;
}

.info-content strong {
  display: block;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.info-content span {
  font-size: 1rem;
  color: #bdc3c7;
}

/* Section */
.section {
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #1a1a1a;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #7f8c8d;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Gallery Section */
.gallery-section {
  background: #f8f9fa;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
  width: auto;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Amenities - Responsive Grid */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}

.amenity-item {
  text-align: center;
  padding: 2rem 1rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.amenity-item:hover {
  background: #f1c40f;
  transform: translateY(-5px);
}

.amenity-item i {
  font-size: 3rem;
  color: #f1c40f;
  margin-bottom: 1rem;
}

.amenity-item:hover i {
  color: #1a1a1a;
}

.amenity-item span {
  display: block;
  font-weight: 500;
  color: #1a1a1a;
  font-size: 0.95rem;
}

/* Form Section */
.form-section {
  background: linear-gradient(135deg, #2c3e50 0%, #1a1a1a 100%);
  padding: 4rem 2rem;
}

.form-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.form-left h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.form-left .highlight {
  color: #f1c40f;
}

.form-left p {
  color: #bdc3c7;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.form-wrapper {
  background: rgba(255,255,255,0.05);
  padding: 2rem;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  color: #fff;
  font-weight: 500;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.input-with-icon {
  position: relative;
}

.input-with-icon i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #f1c40f;
  font-size: 1rem;
}

input, textarea {
  width: 100%;
  padding: 0.9rem 0.9rem 0.9rem 2.8rem;
  border: 2px solid rgba(241, 196, 15, 0.3);
  border-radius: 8px;
  background: rgba(255,255,255,0.95);
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
  color: #2d3436;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #f1c40f;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(241, 196, 15, 0.15);
}

input::placeholder, textarea::placeholder {
  color: #95a5a6;
  font-size: 0.9rem;
}

.submit-btn {
  width: 100%;
  background: #f1c40f;
  color: #1a1a1a;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}

.submit-btn:hover {
  background: #f39c12;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(241, 196, 15, 0.4);
}

/* Form Right Side */
.form-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit-card {
  background: rgba(255,255,255,0.05);
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid #f1c40f;
  backdrop-filter: blur(10px);
}

.benefit-card i {
  font-size: 2rem;
  color: #f1c40f;
  margin-bottom: 0.8rem;
  display: block;
}

.benefit-card h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.benefit-card p {
  color: #bdc3c7;
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

.stats-box {
  background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 25px rgba(241, 196, 15, 0.3);
}

.stats-box h3 {
  font-size: 2.5rem;
  color: #1a1a1a;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.stats-box p {
  color: #1a1a1a;
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

/* Location Section */
.location-section {
  background: #f8f9fa;
}

.map-container {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.map-container iframe {
  border: 0;
  filter: grayscale(0.3);
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: #fff;
  padding: 3rem 2rem 2rem;
  text-align: center;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-links {
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: #f8f8f8;
  text-decoration: none;
  margin: 0 1.5rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-copyright {
  color: #7f8c8d;
  font-size: 0.9rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  background: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  background: #20b85f;
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .amenities-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {
  .header {
    padding: 1rem 2rem;
  }

  .header-contact {
    gap: 1rem;
  }

  .header-contact span {
    display: none;
  }

  .form-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-content {
    left: 3%;
    max-width: 550px;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .info-bar {
    gap: 1.5rem;
  }

  .info-card {
    min-width: 250px;
    padding: 1.5rem 2rem;
  }

  .amenities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .header {
    padding: 0.8rem 1.5rem;
  }

  .header-logo img {
    height: 40px;
  }

  .header-contact {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-slider {
    height: 80vh;
  }

  .swiper-slide {
    height: 80vh !important;
  }

  .hero-content {
    left: 2%;
    max-width: 90%;
    padding: 1.5rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-tagline {
    font-size: 1.3rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .cta-button {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .section {
    padding: 3rem 1.5rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .info-bar {
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 1rem;
  }

  .info-card {
    width: 100%;
    min-width: auto;
  }

  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .form-left h2 {
    font-size: 2rem;
  }

  .form-wrapper {
    padding: 1.5rem;
  }

  .heroSwiper .swiper-button-next,
  .heroSwiper .swiper-button-prev {
    width: 40px !important;
    height: 40px !important;
  }

  .heroSwiper .swiper-button-next:after,
  .heroSwiper .swiper-button-prev:after {
    font-size: 16px !important;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 0.6rem 1rem;
  }

  .header-logo img {
    height: 35px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-tagline {
    font-size: 1.1rem;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    width: 55px;
    height: 55px;
    font-size: 1.8rem;
    bottom: 20px;
    right: 20px;
  }

  input, textarea {
    padding: 0.8rem 0.8rem 0.8rem 2.5rem;
  }

  .input-with-icon i {
    left: 0.8rem;
    font-size: 0.95rem;
  }

  .info-content strong {
    font-size: 1.1rem;
  }

  .info-icon {
    font-size: 2.5rem;
  }

  .featuresSwiper .swiper-slide {
    display: flex;
    justify-content: center;
  }
}

/* Popup Modal Centered, Larger size, Perfect 50% split */
.sidebar-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 500px;
  max-width: 90vw;
  max-height: 90vh;
  background: #1a1a1a;
  border: 2px solid #ffffff;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(241, 196, 15, 0.6);
  transform: translate(-50%, -50%);
  display: none;
  z-index: 1500;
  color: #fff;
  overflow: hidden;
  font-weight: 400;
  box-sizing: border-box;
}

.sidebar-popup[aria-hidden="false"] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-content {
  display: flex;
  flex-wrap: nowrap;
  height: 100%;
  width: 100%;
  gap: 0;
  padding: 0;
  box-sizing: border-box;
  position: relative;
}

/* Perfect 50/50 split */
.popup-image,
.popup-form {
  flex: 1 1 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
}

.popup-image {
  border-right: 2px solid #dfdeda;
  overflow: hidden;
}

.popup-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px 0 0 12px;
}

.popup-form {
  flex-direction: column;
  color: #dbdbdb;
  background: transparent;
  align-items: flex-start;
}

.popup-form h3 {
  margin-bottom: 1.5rem;
  color: #f3f3f3;
  font-size: 1.8rem;
  font-weight: 700;
}

.popup-form label {
  margin-bottom: 0.6rem;
  font-weight: 600;
  color: #ffcc00;
}

.popup-form input {
  margin-bottom: 1.5rem;
  padding: 0.8rem 1.2rem;
  border: 2px solid #f1c40f;
  border-radius: 8px;
  font-size: 1rem;
  color: #1a1a1a;
  background: #fff;
  font-family: 'Poppins', sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.submit-btn-popup {
  background: #fff;
  color: #000000;
  border: 2px solid #f1c40f;
  padding: 1rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 8px;
  font-size: 1.1rem;
  transition: background 0.3s ease, color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
}

.submit-btn-popup:hover {
  background: #f1c40f;
  color: #1a1a1a;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 2.4rem;
  color: #ffffff;
  cursor: pointer;
  font-weight: 700;
  z-index: 2000;
}

/* Responsive for mobile */
/* Align "Get in Touch" left on all viewports */
.popup-form h3 {
  text-align: left;
}

/* Responsive form adjustments for mobile */
@media (max-width: 768px) {
  .popup-content{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
   .popup-image {
    display: none;
  }
  
  .popup-form {
    width: 100%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto; /* enables vertical scrolling */
    max-height: 400px; /* set a max height for scroll container */
  }

  .popup-form h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    text-align: left; /* keep align left */
  }

  .popup-form input,
  .popup-form button {
    width: 100%;
    font-size: 1rem;
    margin-bottom: 1rem; /* add spacing for better vertical flow */
  }
}


/* Right Sidebar */
.right-sidebar {
  position: fixed;
  top: 75%;
  right: 0;
  transform: translateY(-50%);
   background:#fff ;
  display: flex;
  flex-direction: column;
  z-index: 1001;
  width: 60px;
  user-select: none;
}

.sidebar-btn {
  background: none;
  border: 1px solid   #5f5f5f;
  color: #000000;
  font-size: 1.8rem;
  padding: 1rem 0;
  cursor: pointer;
  text-align: center;
  width: 100%;
  transition: background 0.3s ease, color 0.3s ease;
  text-decoration: none;
  display: block;
}



/* Responsive for mobile sidebar */
@media (max-width: 768px) {
  .right-sidebar {
    flex-direction: row;
    bottom: 0;
    top: auto;
    right: 50%;
    transform: translateX(50%);
    width: 100vw;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 0 15px rgba(241, 196, 15, 0.5);
  }

  .sidebar-btn {
    font-size: 1.6rem;
    padding: 1rem 1.2rem;
  }
}
