/* BallfishChile - Estilos personalizados y utilidades complementarias */
@import url('https://fonts.googleapis.com/css2?family=Abel&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

:root {
  --font-montserrat: 'Montserrat', sans-serif;
  --font-abel: 'Abel', sans-serif;
  --font-open-sans: 'Open Sans', sans-serif;
  --color-primary: #0284c7; /* Sky 600 */
  --color-primary-dark: #0369a1;
  --color-ocean-dark: #0f172a;
  --color-accent: #38bdf8;
  --color-teal: #14b8a6;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-open-sans);
}

h1, h2, h3, .font-heading {
  font-family: var(--font-montserrat);
}

.font-abel {
  font-family: var(--font-abel);
}

/* Video hero background styling */
.hero-video-container {
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

/* Glassmorphism & custom backdrop filters */
.glass-header {
  background: rgba(10, 15, 29, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
}

.glass-card-glow {
  background: rgba(10, 15, 29, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 20px -5px rgba(14, 165, 233, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-glow:hover {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.6), 0 0 25px rgba(14, 165, 233, 0.2);
  transform: translateY(-4px);
}

.glass-card-amazon {
  background: rgba(8, 20, 24, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(20, 184, 166, 0.25);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 20px -5px rgba(20, 184, 166, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-amazon:hover {
  border-color: rgba(45, 212, 191, 0.5);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.6), 0 0 25px rgba(45, 212, 191, 0.2);
  transform: translateY(-4px);
}

/* Background image overlay container with subtle animation */
.bg-ambient-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.bg-ambient-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Light caustics and subtle breathing */
@keyframes ambientGlow {
  0%, 100% { opacity: 0.38; transform: scale(1); }
  50% { opacity: 0.48; transform: scale(1.02); }
}

.animate-ambient-glow {
  animation: ambientGlow 12s ease-in-out infinite;
}

.card-hover-effect {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover-effect:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.25);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #020617;
}
::-webkit-scrollbar-thumb {
  background: #0284c7;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #38bdf8;
}
