/* Custom Styles for Lampman Residence Rental */

/* WhatsApp Button Styling */
.whatsapp-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-button:hover {
  transform: scale(1.1);
}

.whatsapp-button img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .whatsapp-button img {
    width: 50px;
    height: 50px;
  }
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

.img-circular-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
}

.img-circular-container img {
  width: 100% !important;
  height: auto !important;
  border-radius: 50% !important;
  aspect-ratio: 1 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease !important;
  cursor: pointer;
  object-fit: cover !important;
  display: block;
}

.img-circular-container img:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25) !important;
  transform: scale(1.05);
}

/* Modal Styles */
.nav-link {
  transition: all 0.3s ease;
}

.nav-link:focus,
.nav-link:hover {
  color: #094359 !important;
}

.nav-link.cta {
  background: rgba(115, 143, 152, 0.7);
  color: #EBD0C4 !important;
  padding: 0.5rem 1.5rem !important;
  border-radius: 50px;
  border: 2px solid #738F98;
  white-space: nowrap;
  font-size: 1rem !important;
}

.nav-link.cta:hover {
  background: rgba(115, 143, 152, 0.85);
  border-color: #738F98;
}

@media (max-width: 768px) {
  .navbar-brand strong {
    font-size: 1rem !important;
    letter-spacing: 0.5px !important;
  }

  .nav-link.cta {
    padding: 0.5rem 1.5rem !important;
    font-size: 1rem !important;
    min-width: max-content;
  }

  .slider-text h1 {
    font-size: 1.8rem !important;
    word-wrap: break-word;
  }

  .slider-text p {
    font-size: 0.95rem !important;
    word-wrap: break-word;
  }

  .ftco-counter.img .row {
    flex-wrap: wrap !important;
  }
}

/* Keep button style consistent on scroll */
.ftco-navbar-light.scrolled .nav-link.cta {
  background: rgba(115, 143, 152, 0.7) !important;
  color: #EBD0C4 !important;
  padding: 0.5rem 1.5rem !important;
  border-radius: 50px;
  border: 2px solid #738F98;
  font-size: 1rem !important;
}

.ftco-navbar-light.scrolled .nav-link.cta:hover {
  background: rgba(115, 143, 152, 0.85) !important;
  border-color: #738F98;
}

.ftco-navbar-light.scrolled .nav-link:not(.cta) {
  color: #000 !important;
}

/* Hero section text styling */
.slider-text h1,
.slider-text h1 span,
.slider-text p,
.slider-text p br,
.hero-wrap .slider-text p {
  color: #738F98 !important;
}

.slider-text p,
.slider-text p * {
  color: #738F98 !important;
}

.slider-text strong,
.slider-text p strong {
  color: #738F98 !important;
}

.hero-wrap .col-xl-10 p {
  color: #738F98 !important;
}

/* Gallery styling */
.ftco-gallery {
  margin-top: 3rem;
  padding: 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 3px solid #ddd;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 0;
  padding: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
}

.gallery-item:hover {
  border-color: #094359;
  box-shadow: 0 8px 25px rgba(9, 67, 89, 0.25);
  transform: translateY(-5px);
}

.gallery-item a {
  display: block;
  width: 100%;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .ftco-gallery {
    margin-top: 2rem;
  }

  .gallery-item {
    margin-bottom: 0;
  }

  .gallery-img {
    height: 100%;
  }

  .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Gallery Filter Buttons */
.filter-btn {
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: rgba(115, 143, 152, 0.85) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(115, 143, 152, 0.3);
}

.filter-btn.active {
  background: rgba(115, 143, 152, 0.95) !important;
  box-shadow: 0 6px 16px rgba(115, 143, 152, 0.4);
}

@media (max-width: 768px) {
  .filter-btn {
    font-size: 0.9rem !important;
    padding: 0.6rem 1.2rem !important;
    gap: 0.5rem;
  }
}

@media (max-width: 576px) {
  .filter-btn {
    font-size: 0.85rem !important;
    padding: 0.6rem 1rem !important;
  }
}
