@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Inter:wght@400;500;600;700&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: #111827;
  background-color: #ffffff;
}

.playfair {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-text {
  animation: fadeInUp 0.8s ease-out;
}

.hero-image {
  animation: slideInRight 0.8s ease-out 0.2s backwards;
}

/* Card Hover Effect */
.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-4px);
}

/* Service Card Hover */
.service-card {
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
}

/* Gallery Item Hover */
.gallery-item {
  overflow: hidden;
}

.gallery-item img {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* Mobile Navigation */
#mobileMenu {
  transition: all 0.3s ease;
}

#mobileMenu.hidden {
  display: none;
}

/* Button Transitions */
button, a {
  transition: all 0.3s ease;
}

/* Gradient Text Overlay */
.gradient-overlay {
  position: relative;
}

.gradient-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(99, 102, 241, 0.1));
  pointer-events: none;
  border-radius: 1rem;
}

/* Smooth Link Underline */
a {
  position: relative;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
  .playfair {
    font-size: 1.875rem;
  }
  
  h2 {
    font-size: 1.875rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus States for Keyboard Navigation */
a:focus,
button:focus {
  outline: 2px solid #0d9488;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  nav,
  .gradient-overlay {
    display: none;
  }
}
