@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Inter:wght@300;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: #ffffff;
}

/* Display Font */
[style*="font-family: 'Playfair Display'"] {
  font-family: 'Playfair Display', serif;
}

/* Hero Animations */
@keyframes fadeInLeftHero {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.animate-fade-in-left {
  animation: fadeInLeftHero 0.8s ease-out 0.2s both;
}

.animate-fade-in-right {
  animation: fadeInRightHero 0.8s ease-out 0.3s both;
}

/* Scroll Reveal for Section Content */
@keyframes scrollRevealUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-reveal {
  animation: scrollRevealUp 0.6s ease-out forwards;
  opacity: 0;
}

/* Button Hover Micro-interaction */
.hover\:scale-105:hover {
  transform: scale(1.05);
}

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

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

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

::-webkit-scrollbar-thumb {
  background: #2563eb;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1d4ed8;
}

/* Mobile menu slide animation */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#mobileMenu:not(.hidden) {
  animation: slideDown 0.3s ease-out;
}

/* Gradient backgrounds */
.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.bg-gradient-to-t {
  background-image: linear-gradient(to top, var(--tw-gradient-stops));
}

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

/* Service card hover effect */
.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

/* Link underline animation */
a.underline-animate {
  position: relative;
  text-decoration: none;
}

a.underline-animate::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2563eb;
  transition: width 0.3s ease;
}

a.underline-animate:hover::after {
  width: 100%;
}

/* Smooth focus states for accessibility */
input:focus, select:focus, textarea:focus {
  outline: none;
  ring: 2px solid #2563eb;
}

/* Form input styling */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  border: 1px solid #e5e7eb;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Responsive text sizing */
@media (max-width: 640px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.875rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
}

/* Print styles */
@media print {
  nav, #contact {
    display: none;
  }
}

