/* Base Styles & Resets */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Typography Overrides */
h1.hero-title {
  font-family: "Playfair Display", serif;
  text-transform: capitalize;
}

p.hero-subtitle {
  font-family: "Inconsolata", monospace;
}

.about-text {
  font-family: "Merriweather", serif;
  font-size: 18px;
  font-style: italic;
}

p.text-gray-600.font-sans.italic.text-sm.leading-relaxed.mb-6.line-clamp-4 {
  font-family: Helvetica;
  font-size: 18px;
}

/* Animations */
@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

.shake-animation {
  animation: shake 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* Helper Classes */
.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.quote-icon {
  color: #e5e7eb;
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  line-height: 1;
  margin-bottom: -1rem;
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
}

/* Hamburger Menu & Mobile Navigation */
#mobile-menu {
  transition: transform 0.3s ease-in-out;
  transform: translateX(100%);
}

#mobile-menu.open {
  transform: translateX(0);
}

/* Carousel/Testimonials */
.card-item {
  scroll-snap-align: center;
}

/* Specific Page Styles */
.hero-bg {
  background-size: cover;
  background-position: center;
  opacity: 0.15; /* Adjusted to match one of the files, check specifics */
}
