/* Comportamiento general */
html {
  scroll-behavior: smooth;
}

/* Hero Background */
.hero-bg {
  background-color: #0e325d;
  background-image: linear-gradient(to right,
      rgba(14, 50, 93, 0.9) 0%,
      rgba(14, 50, 93, 0.5) 50%,
      rgba(14, 50, 93, 0.2) 100%),
    url('../images/inicio.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Estilos del Modal */
#inquiry-modal {
  transition: opacity 0.3s ease-in-out, visibility 0.3s;
}

.modal-active {
  opacity: 1 !important;
  visibility: visible !important;
}

/* =========================================
   ANOKA CUSTOM STYLES
   ========================================= */

/* 2. Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.animate-fade-in-up {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
}

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

/* 3. Brand Colors Override (Optional if not using Tailwind config in JS) */
/* Estos son útiles si Tailwind no carga la configuración extendida */
:root {
  --color-brand-deep: #0e325d;
  --color-brand-accent: #00a96b;
  --color-brand-ice: #e0f7fa;
}

/* Utility classes for raw CSS usage if needed */
.text-brand-deep {
  color: var(--color-brand-deep);
}

.text-brand-accent {
  color: var(--color-brand-accent);
}

.bg-brand-deep {
  background-color: var(--color-brand-deep);
}

.bg-brand-accent {
  background-color: var(--color-brand-accent);
}

.bg-brand-ice {
  background-color: var(--color-brand-ice);
}

/* 4. Cookie Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(15, 23, 42, 0.95);
  /* brand-dark with opacity */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  padding: 1.5rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.5s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1), 0 -2px 4px -1px rgba(0, 0, 0, 0.06);
  padding-bottom: env(safe-area-inset-bottom, 20px);
  /* iPhone Home Indicator fix */
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-content {
  max-width: 80rem;
  /* max-w-7xl */
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .cookie-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.cookie-btn {
  background-color: #00A96B;
  /* brand-accent */
  color: white;
  padding: 0.75rem 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0.25rem;
  transition: background-color 0.3s;
  white-space: nowrap;
}

.cookie-btn:hover {
  background-color: #059669;
  /* emerald-600 */
}

/* Custom Notification Modal Styles (Anoka Luxury UI/UX) */
#anoka-notification-modal {
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

#anoka-notification-modal.modal-active {
  opacity: 1 !important;
  visibility: visible !important;
}

#anoka-notification-modal .modal-card {
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#anoka-notification-modal.modal-active .modal-card {
  transform: scale(1);
}

@keyframes popCheck {
  0% { transform: scale(0); opacity: 0; }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.animate-pop-check {
  animation: popCheck 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}