/* ===================================
   CSS Reset & Base Styles
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --primary-color: #c9a050;
  --primary-dark: #a68840;
  --secondary-color: #2c3e50;
  --accent-color: #e8d5b5;
  --text-dark: #1a1a1a;
  --text-light: #666;
  --text-white: #fff;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;

  /* Typography */
  --font-primary: "Poppins", sans-serif;
  --font-heading: "Playfair Display", serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Transitions */
  --transition: all 0.3s ease;
}

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===================================
   Typography
   =================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

.section-label {
  display: inline-block;
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--spacing-sm);
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

/* ===================================
   Buttons
   =================================== */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--text-white);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 160, 80, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border-color: var(--text-white);
}

.btn-secondary:hover {
  background: var(--text-white);
  color: var(--primary-color);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--text-white);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  padding: 1.5rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: 1.8rem;
  color: var(--text-white);
  letter-spacing: 2px;
  font-weight: 700;
}

.navbar.scrolled .logo h1 {
  color: var(--text-dark);
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-top: -5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-white);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}

.navbar.scrolled .nav-link {
  color: var(--text-dark);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-white);
  transition: var(--transition);
}

.navbar.scrolled .mobile-menu-toggle span {
  background: var(--text-dark);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("../assets/images/hero-bg.jpg") center/cover no-repeat;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--text-white);
  z-index: 1;
  max-width: 900px;
  padding: 0 var(--spacing-md);
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: var(--spacing-sm);
  color: var(--accent-color);
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  line-height: 1.1;
}

.hero-description {
  font-size: 1.3rem;
  margin-bottom: var(--spacing-lg);
  color: var(--accent-color);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--text-white);
  z-index: 1;
}

.scroll-indicator span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 0.5rem;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  border: 2px solid var(--text-white);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
  margin: 0 auto;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) rotate(45deg);
  }
  40% {
    transform: translateY(-10px) rotate(45deg);
  }
  60% {
    transform: translateY(-5px) rotate(45deg);
  }
}

/* ===================================
   About Section
   =================================== */
.about {
  padding: var(--spacing-xl) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-badge {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary-color);
  color: var(--text-white);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.badge-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.badge-text {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content .section-title {
  margin-bottom: var(--spacing-md);
}

.features-list {
  margin: var(--spacing-md) 0;
}

.feature-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: var(--spacing-md);
}

.feature-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature-text p {
  color: var(--text-light);
}

/* ===================================
   Properties Section
   =================================== */
.properties {
  padding: var(--spacing-xl) 0;
  background: var(--bg-light);
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-md);
}

.property-card {
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.property-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.property-image {
  position: relative;
  overflow: hidden;
  height: 280px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: var(--transition);
}

.property-card:hover .property-image img {
  transform: scale(1.1);
}

.property-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary-color);
  color: var(--text-white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.property-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.property-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  min-height: 2.6rem;
}

.property-description {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  min-height: 3rem;
}

.property-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.property-features li {
  color: var(--text-light);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.property-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.property-footer > div:last-child {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.property-price {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
}

.price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-heading);
}

.price-amount span {
  font-size: 1rem;
  font-weight: 400;
}

/* ===================================
   Amenities Section
   =================================== */
.amenities {
  padding: var(--spacing-xl) 0;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.amenity-card {
  text-align: center;
  padding: var(--spacing-md);
  background: var(--bg-light);
  border-radius: 8px;
  transition: var(--transition);
}

.amenity-card:hover {
  background: var(--bg-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.amenity-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
}

.amenity-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.amenity-card p {
  color: var(--text-light);
}

/* ===================================
   Gallery Section
   =================================== */
.gallery {
  padding: var(--spacing-xl) 0;
  background: var(--bg-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 300px;
  cursor: pointer;
}

.gallery-item-large {
  grid-column: span 2;
  grid-row: span 2;
  height: auto;
}

.gallery-item-wide {
  grid-column: span 2;
}

.gallery-item-hidden {
  display: none;
  animation: fadeInScale 0.5s ease forwards;
}

.gallery-item-hidden.show {
  display: block;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-caption {
  color: var(--text-white);
  font-size: 1.1rem;
  font-weight: 500;
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials {
  padding: var(--spacing-xl) 0;
  background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: 2rem;
}

.testimonial-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.testimonial-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-8px);
  border-color: var(--accent-color);
}

.testimonial-rating {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  color: #333;
  font-style: italic;
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
  font-size: 0.98rem;
  min-height: 120px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a4d2e 100%);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(41, 98, 69, 0.3);
}

.author-info h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--primary-color);
  font-weight: 600;
}

.author-info p {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
  padding: var(--spacing-xl) 0;
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

.contact-info {
  padding-right: var(--spacing-md);
}

.contact-details {
  margin: var(--spacing-md) 0;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: var(--spacing-md);
}

.contact-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: var(--text-light);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: var(--spacing-md);
}

.social-link {
  padding: 0.75rem 1.5rem;
  background: var(--primary-color);
  color: var(--text-white);
  border-radius: 4px;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.contact-form-wrapper {
  background: var(--bg-white);
  padding: var(--spacing-md);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(201, 160, 80, 0.1);
}

.form-group textarea {
  resize: vertical;
}

/* ===================================
   Footer
   =================================== */
.footer {
  background: var(--secondary-color);
  color: var(--text-white);
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.footer-col h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.footer-subtitle {
  font-size: 0.75rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.newsletter-form input {
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  font-family: var(--font-primary);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    padding: 5rem 2rem;
    transition: var(--transition);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    color: var(--text-dark);
    font-size: 1.1rem;
  }

  .mobile-menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .property-content {
    padding: 1.25rem;
  }

  .property-title {
    font-size: 1.2rem;
  }

  .property-features {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    font-size: 0.85rem;
  }

  .gallery-item-large,
  .gallery-item-wide {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .properties-grid,
  .amenities-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .property-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .property-footer > div:last-child {
    width: 100%;
  }

  .property-footer > div:last-child .btn {
    flex: 1;
    min-width: auto;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
  }

  .property-features {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .property-title {
    font-size: 1.25rem;
    min-height: auto;
  }

  .property-description {
    font-size: 0.9rem;
    min-height: auto;
  }

  .property-image {
    height: 220px;
  }
}

/* ===================================
   Utility Classes
   =================================== */
.img-fluid {
  width: 100%;
  height: auto;
}

.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: var(--spacing-sm);
}
.mt-2 {
  margin-top: var(--spacing-md);
}
.mt-3 {
  margin-top: var(--spacing-lg);
}

.mb-1 {
  margin-bottom: var(--spacing-sm);
}
.mb-2 {
  margin-bottom: var(--spacing-md);
}
.mb-3 {
  margin-bottom: var(--spacing-lg);
}

/* ===================================
   WhatsApp Floating Button
   =================================== */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  box-shadow: 2px 2px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ===================================
   WhatsApp Booking Modal
   =================================== */
.whatsapp-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease;
}

.whatsapp-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-modal-content {
  background-color: var(--bg-white);
  margin: auto;
  padding: 2rem;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  position: relative;
  animation: slideUp 0.3s ease;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.whatsapp-modal-close {
  color: var(--text-light);
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
  margin-top: -10px;
}

.whatsapp-modal-close:hover,
.whatsapp-modal-close:focus {
  color: var(--text-dark);
}

.whatsapp-modal-content h2 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.whatsapp-modal-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.whatsapp-modal-content select {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--bg-white);
  cursor: pointer;
}

.whatsapp-modal-content select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(201, 160, 80, 0.1);
}

.whatsapp-modal-content .btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===================================
   Property Detail Modals
   =================================== */
.property-modal {
  display: none;
  position: fixed;
  z-index: 10001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
  animation: fadeIn 0.3s ease;
  backdrop-filter: blur(5px);
  padding: 20px 0;
}

.property-modal.active {
  display: block;
}

.property-modal-content {
  background-color: var(--bg-white);
  margin: 30px auto;
  padding: 0;
  border-radius: 16px;
  max-width: 1000px;
  width: 92%;
  position: relative;
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  overflow-x: hidden;
}

/* Custom scrollbar for modal */
.property-modal-content::-webkit-scrollbar {
  width: 8px;
}

.property-modal-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.property-modal-content::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.property-modal-content::-webkit-scrollbar-thumb:hover {
  background: #1a4d2e;
}

.property-modal-content h2 {
  position: sticky;
  top: 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a4d2e 100%);
  color: var(--text-white);
  padding: 2rem 4rem 2rem 2.5rem;
  margin: 0;
  border-radius: 16px 16px 0 0;
  z-index: 10;
  font-size: 2rem;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
}

.property-modal-price {
  background: linear-gradient(135deg, var(--accent-color) 0%, #f4e8c1 100%);
  padding: 1.25rem 2.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-heading);
  text-align: center;
  border-bottom: 3px solid var(--primary-color);
  box-shadow: 0 2px 8px rgba(201, 160, 80, 0.3);
}

/* Intro paragraphs after price */
.property-modal-content > p {
  padding: 0 2.5rem;
  margin: 1.5rem 0;
  line-height: 1.9;
  color: #333;
  font-size: 1.05rem;
}

.property-modal-content > p:first-of-type {
  margin-top: 2rem;
  padding: 0.75rem 2.5rem;
  background: linear-gradient(
    135deg,
    rgba(201, 160, 80, 0.1) 0%,
    rgba(244, 232, 193, 0.15) 100%
  );
  border-left: 4px solid var(--accent-color);
  font-weight: 600;
  color: var(--accent-color);
}

.property-modal-content > p:last-of-type {
  margin-bottom: 0;
}

.property-modal-close {
  color: var(--text-white);
  position: absolute;
  top: 1.75rem;
  right: 2rem;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
  z-index: 11;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.property-modal-close:hover,
.property-modal-close:focus {
  color: var(--accent-color);
  transform: rotate(90deg) scale(1.1);
  background: rgba(255, 255, 255, 0.2);
}

.property-modal-section {
  padding: 2.5rem;
  border-bottom: 2px solid var(--border-color);
  animation: fadeInUp 0.5s ease backwards;
}

.property-modal-section:first-of-type {
  padding-top: 3rem;
  margin-top: 1.5rem;
}

.property-modal-section:nth-child(3) {
  animation-delay: 0.1s;
}
.property-modal-section:nth-child(4) {
  animation-delay: 0.2s;
}
.property-modal-section:nth-child(5) {
  animation-delay: 0.3s;
}
.property-modal-section:nth-child(6) {
  animation-delay: 0.4s;
}
.property-modal-section:nth-child(7) {
  animation-delay: 0.5s;
}

.property-modal-section:last-of-type {
  border-bottom: none;
}

.property-modal-section h3 {
  font-size: 1.75rem;
  margin: 0 0 1.75rem 0;
  color: var(--primary-color);
  font-weight: 700;
  border-left: 5px solid var(--accent-color);
  padding-left: 1rem;
  display: inline-block;
}

.property-modal-section > p {
  margin: 0;
  padding: 0;
  line-height: 1.9;
  color: #333;
  font-size: 1.05rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.property-modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  padding: 0.5rem;
}

.property-modal-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 3px solid transparent;
}

.property-modal-gallery img:hover {
  transform: scale(1.08) translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--accent-color);
  z-index: 1;
}

.property-amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  padding: 0.5rem;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 2px solid transparent;
  font-weight: 500;
  font-size: 1.05rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.amenity-item:hover {
  background: linear-gradient(135deg, var(--accent-color) 0%, #f4e8c1 100%);
  transform: translateX(8px) scale(1.02);
  border-color: var(--primary-color);
  box-shadow: 0 6px 20px rgba(201, 160, 80, 0.3);
}

.amenity-item span {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.property-map {
  width: 100%;
}

.property-modal-footer {
  padding: 2.5rem;
  text-align: center;
  background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
  border-radius: 0 0 16px 16px;
  border-top: 3px solid var(--accent-color);
}

.property-modal-footer .btn {
  min-width: 250px;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(41, 98, 69, 0.3);
  transition: all 0.3s ease;
}

.property-modal-footer .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(41, 98, 69, 0.4);
}

/* Responsive adjustments for property modals */
@media (max-width: 968px) {
  .property-modal-content {
    margin: 15px auto;
    width: 95%;
    max-height: calc(100vh - 30px);
  }

  .property-modal-content h2 {
    font-size: 1.5rem;
    padding: 1.5rem 4rem 1.5rem 1.5rem;
  }

  .property-modal-price {
    font-size: 1.5rem;
    padding: 1rem 1.5rem;
  }

  .property-modal-content > p {
    padding: 0 1.5rem;
    margin: 1.25rem 0;
    font-size: 1rem;
  }

  .property-modal-content > p:first-of-type {
    margin-top: 1.5rem;
    padding: 0.625rem 1.5rem;
  }

  .property-modal-section {
    padding: 1.5rem;
  }

  .property-modal-section:first-of-type {
    padding-top: 2rem;
    margin-top: 1rem;
  }

  .property-modal-section h3 {
    font-size: 1.4rem;
    margin: 0 0 1.25rem 0;
  }

  .property-modal-section > p {
    margin: 0;
    padding: 0;
    font-size: 1rem;
  }

  .property-modal-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .property-modal-gallery img {
    height: 180px;
  }

  .property-amenities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .property-modal {
    padding: 10px 0;
  }

  .property-modal-content {
    margin: 10px auto;
    width: 98%;
    border-radius: 12px;
    max-height: calc(100vh - 20px);
  }

  .property-modal-content h2 {
    font-size: 1.25rem;
    padding: 1.25rem 3.5rem 1.25rem 1rem;
    border-radius: 12px 12px 0 0;
  }

  .property-modal-close {
    top: 1.25rem;
    right: 1rem;
    font-size: 28px;
    width: 35px;
    height: 35px;
  }

  .property-modal-price {
    font-size: 1.25rem;
    padding: 0.875rem 1rem;
  }

  .property-modal-content > p {
    padding: 0 1rem;
    margin: 1rem 0;
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .property-modal-content > p:first-of-type {
    margin-top: 1.25rem;
    padding: 0.5rem 1rem;
  }

  .property-modal-section {
    padding: 1.25rem;
  }

  .property-modal-section:first-of-type {
    padding-top: 1.75rem;
    margin-top: 0.75rem;
  }

  .property-modal-section h3 {
    font-size: 1.2rem;
    margin: 0 0 1rem 0;
    padding-left: 0.75rem;
    border-left: 3px solid var(--accent-color);
  }

  .property-modal-section > p {
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .property-modal-gallery {
    grid-template-columns: 1fr;
    gap: 0.875rem;
    padding: 0.25rem;
  }

  .property-modal-gallery img {
    height: 200px;
    border-radius: 10px;
  }

  .property-amenities-grid {
    grid-template-columns: 1fr;
    gap: 0.875rem;
    padding: 0.25rem;
  }

  .amenity-item {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    gap: 0.75rem;
  }

  .property-modal-footer {
    padding: 1.5rem 1rem;
  }

  .property-modal-footer .btn {
    min-width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1.05rem;
  }
}

/* Jageshwar Gallery - Hidden Images */
.jageshwar-hidden {
  display: none;
}

.jageshwar-hidden.show {
  display: block;
  animation: fadeInScale 0.5s ease-out;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Property Modal Gallery - Hidden Images */
.kotabag-hidden,
.nainital-hidden,
.ramnagar-hidden,
.rishikesh-hidden {
  display: none;
}

.kotabag-hidden.show,
.nainital-hidden.show,
.ramnagar-hidden.show,
.rishikesh-hidden.show {
  display: block;
  animation: fadeInScale 0.5s ease-out;
}
