* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}

/* Display Font for Headlines */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
}

/* Hero Entrance Animation */
@keyframes heroEnter {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  animation: heroEnter 0.8s ease-out forwards;
  animation-delay: 0.1s;
}

.hero-image {
  animation: heroEnter 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

/* Section Reveal Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-item {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 1;
}

/* Smooth transitions */
a, button {
  transition: all 0.3s ease;
}

/* Mobile Menu Styling */
#mobile-menu {
  transition: all 0.3s ease-out;
}

#mobile-menu.hidden {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

#mobile-menu:not(.hidden) {
  max-height: 400px;
  opacity: 1;
}

/* Hamburger Animation */
#mobile-menu-btn span {
  transition: all 0.3s ease;
  display: block;
  transform-origin: center;
}

#mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

#mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

#mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* FAQ Toggle */
.faq-content {
  transition: all 0.3s ease-out;
  max-height: 0;
  overflow: hidden;
}

.faq-content.active {
  max-height: 500px;
}

.faq-toggle span:last-child {
  transition: transform 0.3s ease;
}

.faq-toggle.active span:last-child {
  transform: rotate(45deg);
}

/* Form Focus States */
input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

/* Smooth Link Animations */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: rgb(6, 182, 212);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Button Hover Effects */
button, .btn {
  position: relative;
  overflow: hidden;
}

/* Image Fallback */
img {
  transition: opacity 0.3s ease;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f3f4f6;
}

::-webkit-scrollbar-thumb {
  background: #06b6d4;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0891b2;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  html {
    scroll-behavior: auto;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .gallery-item {
    height: 200px;
  }
}

/* Print Styles */
@media print {
  nav, #contact-form, #mobile-menu-btn {
    display: none;
  }
}

