/* ===== Kumsal Bungalov — custom styles on top of Tailwind ===== */

/* Header: transparent over hero, solid after scrolling */
#site-header.scrolled {
  background: rgba(28, 39, 48, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.nav-link {
  position: relative;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #7dd9da;
  transition: width 0.25s;
}
.nav-link:hover::after {
  width: 100%;
}

/* Amenity chips in the About section */
.amenity {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border: 1px solid #ecd5ae;
  border-radius: 0.75rem;
  padding: 0.7rem 0.9rem;
  color: #5c371c;
  box-shadow: 0 1px 4px rgba(92, 55, 28, 0.08);
}
.amenity i {
  color: #26a3a8;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Property detail cards */
.amenity-card {
  background: #fff;
  border: 1px solid #ecd5ae;
  border-radius: 1rem;
  padding: 1.5rem;
  color: #5c371c;
  box-shadow: 0 1px 4px rgba(92, 55, 28, 0.08);
}
.amenity-card i {
  color: #26a3a8;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

/* Gallery */
.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}
.gallery-item img {
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.07);
}

/* Contact cards */
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  padding: 1.1rem 1.4rem;
  transition: background 0.2s, transform 0.2s;
}
.contact-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* Scroll-reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}
