/* ============================================
   NOVA ABA CATÓLICA - LANDING PAGE STYLES
   ============================================ */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Body */
body {
  overflow-x: hidden;
}

/* ============================================
   GLASSMORPHISM CARDS
   (Matching extension design)
   ============================================ */

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px) saturate(1.4);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(217, 119, 6, 0.15);
}

/* ============================================
   CTA BUTTONS
   ============================================ */

.cta-button {
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
  width: 300px;
  height: 300px;
}

/* Semantic button classes */
.btn-primary {
  display: inline-block;
  background: #d97706;
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1.125rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(217, 119, 6, 0.3);
  transform: scale(1);
}

.btn-primary:hover {
  background: #d4af37;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 15px 35px rgba(217, 119, 6, 0.4);
}

.btn-primary-large {
  display: inline-block;
  background: white;
  color: #d97706;
  padding: 1.25rem 3rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: scale(1);
}

.btn-primary-large:hover {
  background: #2d2d2d;
  color: white;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

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

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Apply fade-in animation to sections */
section {
  animation: fadeIn 0.8s ease-out;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
  position: relative;
  animation: fadeIn 1s ease-out;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, #faf8f3);
  pointer-events: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

.font-serif {
  font-family: 'Source Serif 4', serif;
}

.font-sans {
  font-family: 'Inter', sans-serif;
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */

/* Mobile optimizations */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem !important;
    line-height: 1.2;
  }

  h2 {
    font-size: 2rem !important;
    line-height: 1.3;
  }

  .hero-section {
    min-height: 90vh;
  }

  .glass-card {
    padding: 1.5rem !important;
  }
}

/* ============================================
   SCROLL REVEAL (Optional Enhancement)
   ============================================ */

@media (prefers-reduced-motion: no-preference) {
  .glass-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
  }

  .glass-card:nth-child(1) {
    animation-delay: 0.1s;
  }

  .glass-card:nth-child(2) {
    animation-delay: 0.2s;
  }

  .glass-card:nth-child(3) {
    animation-delay: 0.3s;
  }

  .glass-card:nth-child(4) {
    animation-delay: 0.4s;
  }
}

/* ============================================
   FOCUS STATES (Accessibility)
   ============================================ */

a:focus,
button:focus {
  outline: 3px solid #d97706;
  outline-offset: 3px;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .cta-button,
  .hero-section,
  footer {
    display: none;
  }

  body {
    background: white;
  }

  section {
    page-break-inside: avoid;
  }
}

/* ============================================
   CUSTOM SCROLLBAR (Chrome/Safari)
   ============================================ */

::-webkit-scrollbar {
  width: 12px;
}

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

::-webkit-scrollbar-thumb {
  background: #d97706;
  border-radius: 6px;
}

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

/* ============================================
   HOVER EFFECTS ON IMAGES
   ============================================ */

.glass-card img {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.glass-card:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* ============================================
   SHADOW UTILITIES
   ============================================ */

.shadow-3xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
