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

:root {
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

* {
  font-family: var(--font-body);
}

.font-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

html {
  scroll-behavior: smooth;
}

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

#home > div > div > div {
  animation: fadeInUp 0.8s ease-out;
}

#home > div > div > div:nth-child(1) {
  animation-delay: 0.1s;
}

#home > div > div > div:nth-child(2) {
  animation-delay: 0.3s;
}

/* Image entrance */
.hero-image-container {
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* Service card hover */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Gallery items */
.gallery-item {
  position: relative;
}

.gallery-item img {
  transition: transform 0.5s ease;
}

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

/* Testimonial cards */
.testimonial-card {
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  background-color: rgba(255, 255, 255, 0.15);
}

/* Animated underline for nav links */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

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

/* Background pattern */
.bg-pattern {
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0.5px, transparent 0.5px),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0.5px, transparent 0.5px);
  background-size: 50px 50px;
  background-position: 0 0, 25px 25px;
}

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

/* Form focus states */
input:focus, select:focus, textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 78, 137, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .font-display {
    font-size: 2rem;
  }
  
  .service-card {
    margin-bottom: 1rem;
  }
}

/* Print styles */
@media print {
  nav, .mobile-menu-btn {
    display: none;
  }
}
