/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Source Sans Pro', sans-serif; color: #222; }

/* Header */
header {
  background-color: #172808;
  color: #ffffff;
  padding: 10px 20px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 1000;
}
.logo { display: flex; flex-direction: column; color: #fdde6c; }
.logo {
  text-decoration: none;
  color: inherit;
}

.logo h1 { font-family: 'Merriweather', serif; font-weight: 700; font-size: 1.5rem; color: #ffffff; margin-bottom: 2px; }
.logo span { font-size: 0.9rem; color: #ffffff; }

nav { display: flex; align-items: center; gap: 20px; z-index: 9999; }
nav a { font-weight: 600; color: #ffffff; text-decoration: none; transition: color .3s; }
nav a:hover { color: #fdde6c; }
.contact-btn {
  font-weight: 600; background-color: #fdde6c; color: #172808;
  padding: 8px 15px; border: none; border-radius: 5px; cursor: pointer; transition: background-color .3s;
}
.contact-btn:hover { background-color: #e6c200; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; z-index: 10000; }
.hamburger div { width: 25px; height: 3px; background-color: #fdde6c; }

/* Mobile Nav */
@media (max-width: 768px) {
  nav {
    display: none; position: absolute; top: 100%; left: 0; width: 100%;
    background-color: #172808; flex-direction: column; gap: 15px; padding: 15px 0;
  }
  nav.active { display: flex; }
  .hamburger { display: flex; }
  nav a, .contact-btn { text-align: center; }
}

/* Section Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  color: #172808; line-height: 1.3; margin-bottom: 15px; font-weight: 700;
}
.section-heading {
  text-align: center; font-size: 2rem; font-weight: 700; color: #172808; margin-bottom: 30px; position: relative;
}
.section-heading::after {
  content: ""; display: block; width: 60px; height: 3px; background: #fdde6c; margin: 10px auto 0; border-radius: 2px;
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; } h2 { font-size: 1.6rem; } h3 { font-size: 1.2rem; } .section-heading { font-size: 1.6rem; }
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Projects */
.projects-section { text-align: center; padding: 30px 20px; background: #f5f5f5; }
.projects-section h1 {color: #172808; font-size: 2rem; margin: 15px 15px 5px; }
.projects-container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; justify-content: center; margin-top: 25px;
}
.project-card {
  background: #fff; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  overflow: hidden; transition: transform .3s ease; text-align: left; padding-bottom: 20px;
}
.project-card:hover { transform: translateY(-8px); }
.project-card img { width: 100%; height: 200px; object-fit: cover; }
.project-card h3 { color: #172808; font-size: 1.2rem; margin: 15px 15px 5px; }
.project-card p { margin: 5px 15px; font-size: 0.9rem; color: #333; }
.project-card h4 { margin: 5px 15px 5px; font-weight: 700; color: #172808; }
.project-card ul { list-style: none; margin: 10px 15px; padding: 0; }
.project-card ul li { font-size: 0.75rem; color: #555; margin: 4px 0; position: relative; padding-left: 18px; }
.project-card ul li::before { content: "✔"; position: absolute; left: 0; color: #172808; }
.enquire-btn {
  display: block; background: #1e3610; color: #ffffff; text-align: center; font-weight: 700;
  margin: 15px; padding: 10px; border-radius: 6px; text-decoration: none; transition: background .3s;
}
.enquire-btn:hover { background: #e2c95e; }

/* Projects Responsive */
@media (min-width: 1201px) { .projects-container { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1200px) { .projects-container { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .projects-container { grid-template-columns: 1fr; gap: 20px; }
  .project-card { width: 95%; margin: 0 auto; }
  .project-card img { height: 160px; }
}

/* About Section (with BG image + overlay) */
.about-section {
  position: relative; padding: 80px 20px;
  background: url("green-front.jpg") no-repeat center center / cover;
  text-align: center; color: #fff;
}
.about-section::before {
  content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.35); z-index: 1;
}
.about-section .container { position: relative; z-index: 2; }
.about-section h2 { color: #ffffff; font-size: 2rem; }
.about-section p { max-width: 800px; margin: 20px auto 0; color: #f1f1f1; line-height: 1.6; font-size: 1.1rem; }
@media (max-width: 768px) { .about-section p { font-size: 1rem; } }

/* Amenities */
.amenities-section { padding: 30px 20px; background: #172808; text-align: center; }
.amenities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; margin-top: 25px; }
.amenity {
  background: #fdde6c; color: #172808; padding: 25px 15px; border-radius: 12px; font-weight: 600; font-size: 1rem;
  transition: transform .3s, box-shadow .3s; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.amenity i { margin-right: 8px; }
.amenity:hover { transform: translateY(-8px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }
@media (max-width: 1024px) { .amenities-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .amenities-grid { grid-template-columns: 1fr; } }

/* Gallery */
.gallery-section { padding: 30px 20px; background: #f9f9f9; text-align: center; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 25px; }
.gallery-grid img {
  width: 100%; border-radius: 14px; box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform .4s ease, box-shadow .4s ease; cursor: pointer;
}
.gallery-grid img:hover { transform: scale(1.07); box-shadow: 0 8px 20px rgba(0,0,0,0.25); }

/* Lightbox */
#lightbox {
  position: fixed; z-index: 2000; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.85); display: none; align-items: center; justify-content: center; padding: 20px;
}
#lightbox.active { display: flex; }
#lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 12px; }

/* Hero (inline inquiry) */
.hero-section {
  position: relative; background: url('Aqua_retreat1.jpg') center/cover no-repeat;
  color: #fff; text-align: center; padding: 40px 20px;
}
.hero-section::after {
  content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.5); z-index: 0;
}
.hero-section h1, .hero-section h3, .hero-section p { position: relative; z-index: 1; }
.hero-section h1 { font-size: 3rem; color: #fff; }
.hero-section h3 { font-size: 1.7rem; color: #fff; }

.hero-form {
  position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 15px;
  max-width: 950px; margin: 25px auto 0; background: #fff; padding: 25px;
  border-radius: 12px; box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}
.hero-form input, .hero-form select, .hero-form textarea {
  padding: 12px 14px; border: 1px solid #ccc; border-radius: 6px; font-size: 15px;
  flex: 1 1 calc(25% - 10px); min-width: 180px; background: #fff;
}
.hero-form textarea { flex: 1 1 100%; resize: none; }
.hero-form .consent {
  display: flex;
  align-items: flex-start;  /* align checkbox top with text */
  font-size: 12px;
  color: #555;
  line-height: 1.4;
  gap: 5px;                /* small space */
  flex-wrap: wrap;         /* text wraps below if needed */
}

.hero-form .consent input[type="checkbox"] {
  margin-top: 2px;         /* aligns better with first line of text */
}


.hero-form button {
  flex: 1 1 100%; background: #fdde6c; color: #172808; font-weight: 700; padding: 14px;
  border: none; border-radius: 6px; cursor: pointer; transition: .3s;
}
.hero-form button:hover { background: #e6c200; }
@media (max-width: 768px) {
  .hero-form { flex-direction: column; gap: 12px; padding: 20px; }
  .hero-form input, .hero-form select, .hero-form textarea, .hero-form button { flex: 1 1 100%; min-width: 100%; }
}

/* Thank You Popup (simple) */
.popup {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); display: flex; justify-content: center; align-items: center; z-index: 1300;
}
.popup-content {
  background: #fff; padding: 20px; border-radius: 10px; text-align: center; max-width: 400px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.close { float: right; font-size: 20px; cursor: pointer; }

/* Modal (project enquiry) */
.modal {
  display: none; position: fixed; z-index: 1200; inset: 0;
  background: rgba(0,0,0,0.7); justify-content: center; align-items: center; padding: 15px;
}
.modal-content {
  position: relative; background: #fff; width: 90%; max-width: 800px; display: flex;
  border-radius: 12px; overflow: hidden; animation: fadeIn .3s ease-in-out; flex-direction: row;
}
.close-btn {
  position: absolute; top: 12px; right: 15px; font-size: 28px; font-weight: bold; color: #333; cursor: pointer; z-index: 10;
}
.modal-left { flex: 1; min-height: 260px; }
.modal-left img { width: 100%; height: 100%; object-fit: cover; }
.modal-right { flex: 1; padding: 20px; }
.modal-right h2 { margin-bottom: 15px; font-size: 20px; text-align: center; }
.modal-right form input, .modal-right form textarea, .modal-right form select {
  width: 100%; margin-bottom: 12px; padding: 12px; border: 1px solid #ccc; border-radius: 6px; font-size: 14px;
}
.modal-right form textarea { resize: none; height: 80px; }
.consent { font-size: 12px; line-height: 1.4; color: #555; display: flex; align-items: flex-start; gap: 6px; margin-bottom: 12px; }
.consent input { margin-top: 3px; }
.modal-right form button {
  background: #f5c518; border: none; padding: 14px; width: 100%; cursor: pointer; font-weight: bold; border-radius: 6px; transition: background .3s ease;
}
.modal-right form button:hover { background: #e6b800; }
@media (max-width: 768px) {
  .modal-content {
    flex-direction: column;
  }

  .modal-left {
    flex: none !important;
    width: 100% !important;
    min-height: auto !important;  /* overrides desktop min-height */
    height: auto !important;
    max-height: 220px;            /* optional: keep it compact */
  }

  .modal-left img {
    width: 100%;
    height: auto !important;      /* no stretching */
    object-fit: cover;
    display: block;
  }

  .modal-right {
    width: 100%;
    padding: 15px;
  }

  .modal-right h2 {
    margin: 10px 0 15px;
    font-size: 20px;
    text-align: left;  /* or center if you want */
  }
}



/* Footer */
footer {
  background-color: #172808; color: #ffffff; padding: 25px 20px; text-align: center;
}
.footer-projects {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 20px;
}
.footer-projects .project {
  background-color: #1e3610; padding: 15px; border-radius: 8px; text-align: center; width: 150px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2); display: flex; flex-direction: column; align-items: center;
}
.footer-projects .project img { width: 100px; height: 100px; margin-bottom: 10px; object-fit: cover; }
.footer-projects .project span { display: block; color: #fdde6c; font-weight: 600; font-size: 0.85rem; margin: 2px 0; }
.footer-disclaimer p { font-size: 0.8rem; line-height: 1.5; color: #ffffff; max-width: 1000px; margin: 0 auto 15px; }
#read-more-btn, #read-less-btn { color: #fdde6c; cursor: pointer; text-decoration: underline; font-weight: 600; }
.footer-bottom { font-size: 0.8rem; color: #fdde6c; margin-top: 10px; }
.footer-bottom a { color: #fdde6c; text-decoration: none; font-weight: 600; }
.footer-bottom a:hover { text-decoration: underline; }
@media (max-width: 768px) {
  .footer-projects { flex-direction: column; align-items: center; }
  .footer-projects .project { width: 90%; max-width: 300px; }
  .footer-projects .project img { width: 80px; height: 80px; }
  .footer-disclaimer p, .footer-bottom { font-size: 0.75rem; }
}

/* Animations (keyframes) */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }

/* Reveal-on-scroll helpers */
.reveal-up, .reveal-fade, .reveal-zoom { opacity: 0; transform: translateY(24px); }
.reveal-fade { transform: none; }
.reveal-zoom { transform: scale(.97); }
.is-visible.reveal-up { animation: fadeInUp .7s ease-out forwards; }
.is-visible.reveal-fade { animation: fadeIn .7s ease-out forwards; }
.is-visible.reveal-zoom { animation: zoomIn .6s ease-out forwards; }

body {
  font-family: Arial, sans-serif;
}

/* Popup overlay */
.popup-overlay {
  position: fixed;
  top:0; left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  display: none;
}

/* Popup content */
.popup-content {
  background: #fff;
  border-radius: 12px;
  max-width: 300px;
  width: 90%;
  max-height: 90vh;   /* always fit inside screen height */
  text-align: center;
  position: relative;
  padding-bottom: 15px;
  animation: slideDown 0.5s ease;
  overflow: hidden;   /* ❌ no scrolling */
}

/* Close button */
.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

/* Image */
.popup-image {
  width: 100%;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  max-height: 60vh;   /* make image responsive */
  object-fit: contain; /* keeps full image visible */
}


/* Slide down animation */
@keyframes slideDown {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Project Header - USPs + Title */
.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin: 30px auto 40px;
  gap: 20px;
  max-width: 1200px;
  text-align: center;
}

/* USP Icons Container */
.usp-icons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Individual USP Badge (Gradient Style) */
.usp {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  /* Gradient background */
  background: linear-gradient(270deg, #1e3610, #4caf50, #81c784);
  background-size: 400% 400%;

  color: #ffffff;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, color 0.25s ease;

  cursor: default;

  /* Animate gradient */
  animation: gradientShift 6s ease infinite;
  -webkit-animation: gradientShift 6s ease infinite; /* Safari/Chrome */
  background-clip: padding-box;
}

.usp:hover {
  color: #fff;
  transform: translateY(-2px) scale(1.05);
}


/* Title Block (centered) */
.title-block {
  flex: 1;
  text-align: center;
}

.title-block h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.title-block h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 5px;
  color: #444;
}

.title-block h4 {
  font-size: 1rem;
  font-weight: 400;
  color: #666;
}

/* Gradient Animation */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .project-header {
    flex-direction: column;
    gap: 15px;
  }

  /* If you have left/right containers */
  .usp-icons.left { order: 1; }
  .title-block { order: 2; }
  .usp-icons.right { order: 3; }

  .usp-icons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .usp {
    font-size: 0.85rem;
    padding: 6px 12px;
    animation: gradientMove 6s ease infinite;
    -webkit-animation: gradientMove 6s ease infinite;
  }

  .title-block h1 {
    font-size: 1.5rem;
  }

  .title-block h3 {
    font-size: 1rem;
  }

  .title-block h4 {
    font-size: 0.9rem;
  }
}

/* Floating Buttons Container */
.fab-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 9999;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Hidden state when scrolling down */
.fab-container.hidden {
  transform: translateY(120%);
  opacity: 0;
}

/* Round Button Style */
.fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse 2s infinite;
}

/* Call Button */
.fab-call {
  background: #28a745;
}

/* WhatsApp Button */
.fab-whatsapp {
  background: #25D366;
}

/* Hover Effect */
.fab:hover {
  transform: scale(1.2) rotate(-5deg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  animation: shake 0.6s;
}

/* Pulse Animation */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Shake Animation on Hover */
@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .fab {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
}

/* === Global Gradient Buttons === */
button,
.enquire-btn,
.hero-form button,
.modal-right form button,
.footer a.button,
.fab,
.contact-btn {
  background: linear-gradient(270deg, #1e3610, #4caf50, #e8f5e9); /* dark → medium → very light */
  background-size: 400% 400%;
  color: #fff !important;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: gradientShift 6s ease infinite; /* moving gradient */
}

/* Hover effect */
button:hover,
.enquire-btn:hover,
.hero-form button:hover,
.modal-right form button:hover,
.footer a.button:hover,
.fab:hover,
.contact-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

/* Gradient animation */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* === Gradient Headings === */
h1, h2, h3, h4, h5, h6,
.section-heading {
  background: linear-gradient(90deg, #1e3610, #4caf50, #e8f5e9);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 8s ease infinite;
}

/* ================================
   Insta Video Section (Godrej)
================================ */
.insta-video-section {
  padding: 60px 20px;
  background: #f9f9f9;
}

.three-col-layout {
  display: flex;
  justify-content: center;
  align-items: stretch; /* ✅ all columns same height */
  gap: 30px;
  flex-wrap: wrap;
}

/* Common column styles */
.side-column, 
.center-column {
  flex: 1 1 300px; /* ✅ equal width */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Equal card style */
.equal-card {
  width: 100%;
  max-width: 320px; /* ✅ same for all three */
  aspect-ratio: 3/4; /* ✅ force equal height ratio */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  background: #fff;
}

/* Side images */
.side-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ✅ crop nicely */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.side-img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* Video wrapper */
.insta-video-wrapper {
  width: 100%;
  height: 100%;
}

.insta-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ✅ fill like image */
  border-radius: 12px;
}

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
}

.section-header .underline {
  display: block;
  width: 80px;
  height: 4px;
  background: #01a4cd; /* brand accent */
  margin: 0 auto;
  border-radius: 2px;
}

/* Responsive - Tablet */
@media (max-width: 992px) {
  .three-col-layout {
    flex-direction: column;
    gap: 25px;
  }

  .equal-card {
    max-width: 420px;
    aspect-ratio: auto; /* natural height on tablet */
  }
}

/* Responsive - Mobile */
@media (max-width: 576px) {
  .equal-card {
    max-width: 100%;
  }
}

