/* Da Silva Parks - Shared Theme Styles */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Questrial&display=swap');

:root {
  --primary: #273B91;
  --primary-dark: #1a2a6c;
  --secondary: #8C939B;
  --light-gray: #D8DBDF;
  --white: #FFFFFF;
  --muted-blue: #6E8FAE;
  --green: #5FA646;
  --olive: #768E3B;
  --beige: #D8CDBA;
  --orange: #E36F1F;
}

/* Font Classes */
.font-questrial { font-family: 'Questrial', sans-serif; }
.font-lato { font-family: 'Lato', sans-serif; }

/* Force SVG sizing - these classes override defaults */
svg.w-4, svg.h-4 { width: 1rem !important; height: 1rem !important; }
svg.w-5, svg.h-5 { width: 1.25rem !important; height: 1.25rem !important; }
svg.w-6, svg.h-6 { width: 1.5rem !important; height: 1.5rem !important; }
svg.w-7, svg.h-7 { width: 1.75rem !important; height: 1.75rem !important; }
svg.w-8, svg.h-8 { width: 2rem !important; height: 2rem !important; }

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-up { animation: fadeInUp 0.8s ease-out forwards; }
.animate-fade-in { animation: fadeIn 1s ease-out forwards; }
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* Custom Hover Effects */
.card-hover { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card-hover:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(39, 59, 145, 0.15); }
.img-hover { transition: transform 0.5s ease; }
.img-hover:hover { transform: scale(1.05); }
.btn-hover { transition: all 0.3s ease; }
.btn-hover:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(39, 59, 145, 0.25); }

/* Scroll reveal */
.reveal { transition: opacity 0.8s ease, transform 0.8s ease; }
.js-enabled .reveal { opacity: 0; transform: translateY(30px); }
.js-enabled .reveal.active { opacity: 1; transform: translateY(0); }

/* Navigation underline */
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Form styles */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--light-gray);
  outline: none;
  transition: all 0.2s ease;
}
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(39, 59, 145, 0.1);
}

/* Booking form (glass card on image) */
.booking-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.95);
  color: #1f2937;
  outline: none;
  transition: all 0.2s ease;
}
.booking-input::placeholder { color: #6b7280; }
.booking-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(227, 111, 31, 0.25);
}

/* Feature icon containers */
.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Legal pages (Privacy Policy, Terms & Conditions) */
.legal-content { color: #4b5563; line-height: 1.75; }
.legal-content > p { margin-bottom: 1.25rem; }
.legal-content h2 {
  font-family: 'Questrial', sans-serif;
  color: var(--primary);
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.legal-content ul li { margin-bottom: 0.5rem; }
.legal-content a { color: var(--primary); text-decoration: underline; }
.legal-content a:hover { color: var(--orange); }
