/* =============================================
   Tudor House - Main Stylesheet
   ============================================= */

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
  background-color: #e0f2fe;
  color: #0c4a6e;
}

/* =============================================
   Fade In Up Animation
   ============================================= */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animation Delays */
.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-400 {
  transition-delay: 400ms;
}

/* =============================================
   Custom Utilities
   ============================================= */

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Card Hover Effect */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Image Hover Zoom */
.img-zoom {
  overflow: hidden;
}

.img-zoom img {
  transition: transform 0.7s ease-in-out;
}

.img-zoom:hover img {
  transform: scale(1.1);
}

/* Button Hover Effect */
.btn-hover {
  transition: all 0.3s ease;
}

.btn-hover:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.2);
}

.btn-hover:active {
  transform: scale(0.98);
}

/* =============================================
   Navigation
   ============================================= */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #0ea5e9;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* =============================================
   Hero Section
   ============================================= */
.hero-gradient {
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.9) 0%,
    rgba(15, 23, 42, 0.5) 50%,
    transparent 100%
  );
}

/* =============================================
   Decorative Elements
   ============================================= */
.blob {
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: blob-morph 8s ease-in-out infinite;
}

@keyframes blob-morph {
  0%,
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  50% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  }
}

/* Slow Zoom Animation */
@keyframes slow-zoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

.animate-slow-zoom {
  animation: slow-zoom 20s ease-out forwards;
}

/* =============================================
   Scroll Indicator
   ============================================= */
.scroll-indicator {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-10px) translateX(-50%);
  }
  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

/* =============================================
   Form Styles
   ============================================= */
.form-input {
  transition: all 0.3s ease;
}

.form-input:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

/* =============================================
   Mobile Menu
   ============================================= */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateX(0);
}
