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

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

/* TYPOGRAPHY */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}

/* HERO ENTRANCE ANIMATION */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* BUTTON HOVER EFFECTS */
a[class*="bg-gray-900"],
button[class*="bg-gray-900"] {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

a[class*="bg-gray-900"]:hover,
button[class*="bg-gray-900"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* SERVICE CARD HOVER */
div[class*="border-gray-200"] {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

div[class*="border-gray-200"]:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* GLASS MORPHISM EFFECT */
.backdrop-blur {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* IMAGE FALLBACK GRADIENTS */
img {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-size: cover;
}

/* SMOOTH SCROLL */
html {
  scroll-behavior: smooth;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
}

/* LINK UNDERLINE ANIMATION */
a {
  position: relative;
}

a:not([class])::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.3s ease;
}

a:not([class]):hover::after {
  width: 100%;
}

/* SECTION PADDING CONSISTENCY */
section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  section {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

/* STAR RATING */
.star {
  display: inline-block;
  color: #fbbf24;
}

/* TESTIMONIAL CARDS */
.testimonial-card {
  transition: all 0.3s ease;
}

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

/* MOBILE MENU */
#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) translateY(12px);
}

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

#mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-12px);
}

