/* Simran Medical Clinic - Custom Styles */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom font rendering */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Navigation active state */
.nav-link.active {
  color: #059669;
  font-weight: 600;
}

/* Hero overlay gradient */
.hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(2, 44, 34, 0.75) 0%,
    rgba(5, 150, 105, 0.45) 100%
  );
}

/* Hero background image */
.hero-bg {
  background-image: url('../images/photo-1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Star rating color */
.star-filled {
  color: #f59e0b;
  fill: #f59e0b;
}

/* Card hover lift */
.card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(5, 150, 105, 0.12);
}

/* Mobile menu animation */
#mobile-menu {
  transition: max-height 0.35s ease, opacity 0.35s ease;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}
#mobile-menu.open {
  max-height: 400px;
  opacity: 1;
}

/* Lightbox overlay */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
#lightbox.active {
  display: flex;
}
#lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 0.75rem;
  object-fit: contain;
}

/* Gallery image hover */
.gallery-item {
  overflow: hidden;
  cursor: pointer;
  border-radius: 0.75rem;
}
.gallery-item img {
  transition: transform 0.4s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-item:hover img {
  transform: scale(1.06);
}

/* Service icon circle */
.service-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  flex-shrink: 0;
}

/* Section divider */
.section-divider {
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, #059669, #34d399);
  border-radius: 2px;
  margin: 0.75rem auto 0;
}

/* Google Maps badge */
.google-badge {
  background: linear-gradient(135deg, #059669, #047857);
  color: white;
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

/* Review card quote */
.review-card::before {
  content: '\201C';
  font-size: 4rem;
  color: #d1fae5;
  line-height: 1;
  display: block;
  margin-bottom: -1rem;
  font-family: Georgia, serif;
}

/* CTA button primary */
.btn-primary {
  background: linear-gradient(135deg, #059669, #047857);
  color: white;
  border: none;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #047857, #065f46);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35);
}

/* Navbar scroll shadow */
nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Rating badge */
.rating-badge {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  font-weight: 700;
  border-radius: 0.5rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.9rem;
}

/* About page image */
.about-image-wrap {
  position: relative;
}
.about-image-wrap::after {
  content: '';
  position: absolute;
  inset: -12px 12px 12px -12px;
  border: 3px solid #059669;
  border-radius: 0.75rem;
  z-index: -1;
}

/* Map iframe */
.map-frame {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

/* Footer */
footer a:hover {
  color: #6ee7b7;
}

/* Responsive nav */
@media (max-width: 768px) {
  .hero-bg {
    background-position: center top;
  }
}

/* Scroll to top visibility */
#scroll-top {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}
