/* Reset */
body, html {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Arial, sans-serif;
}

/* Logo + site title */
.navbar-brand {
  text-decoration: none;
}
.navbar-brand img {
  height: 60px;
  width: auto;
  display: block;
}
.site-title h1 {
  font-size: 1rem;
  margin: 0;
  line-height: 1.1;
  color: #000;
}
.site-title p {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
}

/* Navbar */
.navbar { 
  min-height: 70px; 
}
.navbar-toggler { 
  border: none; 
}
.navbar-toggler:focus { 
  outline: none; 
  box-shadow: none; 
}
.navbar-nav .nav-link { 
  padding: 0.5rem 0.9rem; 
  font-weight: 500; 
  color: #333; 
}
.navbar-nav .nav-link:hover { 
  color: #198754; 
}
.dropdown-menu { 
  border-radius: 8px; 
  box-shadow: 0 8px 20px rgba(0,0,0,0.08); 
  z-index: 2000; /* ensure above content */
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 75vh;
  object-fit: cover;
  display: block;
}
.hero-text {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 900px;
  text-align: center;
  color: white;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
}
.hero-text-mobile {
  background: #f8f8f8;
  border-radius: 6px;
}
.hero-text h1,
.hero-text-mobile h1 {
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

/* Mobile adjustments */
@media (max-width:768px) {
  .hero-img {
    height: auto;
    object-fit: contain;
  }
  .navbar-collapse {
    background: #f8f6f1;
    padding: 1rem;
  }
  .dropdown-menu {
    position: static;
    float: none;
    box-shadow: none;
    background: #f8f6f1;
    margin-top: 0.5rem;
  }
}
/* Animations */
.animate-fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}
.animate-fade-in.delay-1 { animation-delay: 0.3s; }
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Retreat Cards */
.program-card img {
  height: 250px; /* Ensures uniform size */
  object-fit: cover;
}
.program-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* Special Offer */
.offer {
  background: linear-gradient(135deg, #fff5f5, #ffeaea);
}

/* Why Choose Us */
.icon-circle {
  background: #fff;
  border-radius: 50%;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.feature-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
/* Circle feature images */
.feature-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

/* Hover effect */
.feature-img:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Fullscreen modal */
.image-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
  text-align: center;
}

/* Modal image */
.image-modal img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}

/* Close button */
.close-btn {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #f00;
}
