/* Modern Premium Styling - The Madhya Ganga City */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: #1b4324;
  --primary-light: #2d6b3b;
  --primary-rgb: 27, 67, 36;
  --accent-color: #c99a2c;
  --accent-light: #e4be5b;
  --accent-rgb: 201, 154, 44;
  --bg-light: #faf9f6;
  --bg-white: #ffffff;
  --bg-sage: #f2f6f3;
  --text-dark: #1f2a22;
  --text-muted: #5e6b62;
  --border-color: #e2e8e4;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .display-font {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-weight: 700;
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.appear {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/* Navbar */
.custom-navbar {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(27, 67, 36, 0.08);
  transition: var(--transition-smooth);
  padding: 18px 0;
}

.custom-navbar.shrunk {
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  background-color: rgba(255, 255, 255, 0.95);
}

.navbar-brand img {
  height: 45px;
  transition: var(--transition-smooth);
}

.custom-navbar.shrunk .navbar-brand img {
  height: 38px;
}

.navbar-brand span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
}

.nav-link {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 500;
  padding: 8px 16px !important;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 60%;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-light) !important;
}

/* Custom Buttons */
.btn-primary-custom {
  background-color: var(--primary-color);
  color: var(--bg-white);
  border: 2px solid var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(27, 67, 36, 0.15);
}

.btn-primary-custom:hover {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(27, 67, 36, 0.25);
}

.btn-accent-custom {
  background-color: var(--accent-color);
  color: var(--bg-white);
  border: 2px solid var(--accent-color);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(201, 154, 44, 0.2);
}

.btn-accent-custom:hover {
  background-color: transparent;
  color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201, 154, 44, 0.35);
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  transition: var(--transition-smooth);
}

.btn-outline-custom:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(27, 67, 36, 0.15);
}

/* Hero Section */
.hero-section {
  padding-top: 140px;
  padding-bottom: 80px;
  background: radial-gradient(circle at 80% 20%, rgba(201, 154, 44, 0.08) 0%, rgba(27, 67, 36, 0.03) 50%, var(--bg-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero-logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(27, 67, 36, 0.08);
  border: 1px solid rgba(27, 67, 36, 0.15);
  color: var(--primary-color);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.8rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 15px;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--accent-color);
  margin-bottom: 25px;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 35px;
}

.usp-pill-container {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.usp-pill {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.usp-pill i {
  color: var(--accent-color);
}

.hero-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(27, 67, 36, 0.12);
  border: 4px solid var(--bg-white);
}

.hero-image-wrapper img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  transition: transform 8s ease-out;
}

.hero-image-wrapper:hover img {
  transform: scale(1.05);
}

.hero-badge-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 16px 24px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-badge-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* Quick Highlights section */
.highlights-section {
  padding: 60px 0;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.highlight-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition-smooth);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  opacity: 0;
  transition: var(--transition-smooth);
}

.highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(27, 67, 36, 0.06);
  background-color: var(--bg-white);
  border-color: rgba(27, 67, 36, 0.15);
}

.highlight-card:hover::before {
  opacity: 1;
}

.highlight-icon {
  width: 65px;
  height: 65px;
  border-radius: 16px;
  background-color: rgba(27, 67, 36, 0.05);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 20px auto;
  transition: var(--transition-smooth);
}

.highlight-card:hover .highlight-icon {
  background-color: var(--accent-color);
  color: var(--bg-white);
  transform: scale(1.05);
}

/* Section Header */
.section-tag {
  display: inline-block;
  background-color: var(--bg-sage);
  color: var(--primary-light);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
}

.section-desc {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 40px auto;
  font-size: 1.05rem;
}

/* About Section */
.about-section {
  padding: 100px 0;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.quote-box {
  background: linear-gradient(135deg, rgba(27, 67, 36, 0.02) 0%, rgba(201, 154, 44, 0.05) 100%);
  border-left: 5px solid var(--accent-color);
  padding: 24px 30px;
  border-radius: 0 16px 16px 0;
  margin: 30px 0;
}

.quote-box p {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--primary-color);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 0;
}

.stamp-badge {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: rgba(220, 53, 69, 0.05);
  border: 1px dashed #dc3545;
  border-radius: 12px;
  padding: 15px 20px;
  margin-top: 30px;
}

.stamp-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #dc3545;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.stamp-title {
  color: #dc3545;
  font-weight: 700;
  margin: 0;
  font-size: 1.1rem;
}

/* Lake Spotlight */
.lake-spotlight {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-sage) 100%);
  position: relative;
}

.lake-card {
  background: var(--bg-white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-color);
}

.lake-img-container {
  position: relative;
  height: 450px;
  overflow: hidden;
}

.lake-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 5s ease;
}

.lake-card:hover .lake-img-container img {
  transform: scale(1.03);
}

.lake-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 8px 18px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Amenities Section */
.amenities-section {
  padding: 100px 0;
  background-color: var(--bg-white);
}

.amenities-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

.amenity-tab-btn {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 50px;
  transition: var(--transition-smooth);
}

.amenity-tab-btn.active, .amenity-tab-btn:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
  border-color: var(--primary-color);
  box-shadow: 0 8px 20px rgba(27, 67, 36, 0.15);
}

.amenity-list-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: var(--transition-smooth);
  height: 100%;
}

.amenity-list-card:hover {
  background-color: var(--bg-white);
  border-color: var(--accent-light);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
}

.amenity-list-icon {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  background-color: rgba(201, 154, 44, 0.1);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.amenity-list-card:hover .amenity-list-icon {
  background-color: var(--accent-color);
  color: white;
}

.amenity-list-text {
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0;
}

/* Layout Section */
.layout-section {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.layout-preview-box {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  border: 8px solid var(--bg-white);
}

.layout-preview-box img {
  width: 100%;
  height: auto;
  transition: var(--transition-smooth);
}

.layout-preview-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(27, 67, 36, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.layout-preview-box:hover .layout-preview-overlay {
  opacity: 1;
}

.layout-preview-box:hover img {
  transform: scale(1.02);
}

.btn-zoom {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--bg-white);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  border: none;
  transition: var(--transition-smooth);
}

.btn-zoom:hover {
  background-color: var(--accent-color);
  color: var(--bg-white);
  transform: scale(1.1);
}

/* Location Section */
.location-section {
  padding: 100px 0;
  background-color: var(--bg-white);
}

.landmark-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  border-radius: 12px;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  margin-bottom: 12px;
  transition: var(--transition-smooth);
}

.landmark-item:hover {
  background-color: var(--bg-white);
  border-color: var(--primary-light);
  transform: translateX(5px);
}

.landmark-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(27, 67, 36, 0.05);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.landmark-text {
  font-weight: 500;
  margin-bottom: 0;
}

/* Contact & CTA Form */
.contact-section {
  padding: 100px 0;
  background: radial-gradient(circle at 10% 90%, rgba(201, 154, 44, 0.05) 0%, rgba(27, 67, 36, 0.02) 50%, var(--bg-light) 100%);
}

.contact-card {
  background-color: var(--bg-white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 45px rgba(27, 67, 36, 0.06);
  border: 1px solid var(--border-color);
  height: 100%;
}

.info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background-color: rgba(27, 67, 36, 0.05);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-text h5 {
  font-size: 1.05rem;
  margin-bottom: 5px;
  color: var(--primary-color);
  font-weight: 600;
}

.info-text p {
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.qr-code-box {
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 16px;
  background-color: var(--bg-light);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 170px;
}

.qr-placeholder {
  width: 120px;
  height: 120px;
  background-color: white;
  border: 4px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

/* Contact Form Input fields */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
  color: var(--primary-light);
}

.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 0.25rem rgba(27, 67, 36, 0.1);
}

/* Other Projects Carousel */
.projects-section {
  padding: 80px 0;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
}

.project-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: var(--bg-light);
  transition: var(--transition-smooth);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border-color: var(--accent-light);
}

.project-img-wrapper {
  height: 180px;
  overflow: hidden;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-body {
  padding: 20px;
}

.project-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.project-tag {
  font-size: 0.75rem;
  color: var(--accent-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Footer styling */
.main-footer {
  background-color: var(--primary-color);
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 30px 0;
  border-top: 5px solid var(--accent-color);
}

.footer-title {
  color: var(--bg-white);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
}

.footer-links {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--accent-light);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  margin-top: 50px;
  font-size: 0.9rem;
}

/* Scroll To Top */
.btn-scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: var(--bg-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.btn-scroll-top:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

/* Modal Styling */
.layout-modal .modal-content {
  border-radius: 20px;
  border: none;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.layout-modal .modal-header {
  border-bottom: 1px solid var(--border-color);
  padding: 20px 30px;
}

.layout-modal .modal-body {
  padding: 30px;
  background-color: var(--bg-light);
}

/* Media Queries */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-image-wrapper {
    margin-top: 40px;
  }
  .hero-image-wrapper img {
    height: 400px;
  }
  .about-section {
    padding: 60px 0;
  }
  .lake-img-container {
    height: 300px;
  }
  .contact-card {
    padding: 30px 20px;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .amenity-tab-btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}
