/* ==========================================================================
   Bulma Theme Override & Design System - Static Landing Page Template
   Load AFTER Bulma CSS CDN
   ========================================================================== */

/* =============================================
   1. COLOR PALETTE & THEME TOKENS
   Edit these hex values to re-theme the entire page!
   ============================================= */
:root {
  /* Primary Brand Color (Sleek deep black) */
  --color-primary: #09090b;
  --bulma-primary-h: 240;
  --bulma-primary-s: 10%;
  --bulma-primary-l: 4%;
  --bulma-primary-invert-l: 100%;

  /* Secondary / CTA Accent Color (Modern vibrant blue) */
  --color-secondary: #2563eb;
  --bulma-link-h: 221;
  --bulma-link-s: 83%;
  --bulma-link-l: 53%;

  /* Neutral Background & Surface Colors */
  --color-cream: #f8fafc;
  --color-grey-light: #e2e8f0;
  --color-text: #18181b;
  --color-text-muted: #64748b;
  --color-white: #ffffff;

  /* Bulma Core Overrides */
  --bulma-scheme-main: var(--color-cream);
  --bulma-background: var(--color-white);
  --bulma-border: var(--color-grey-light);
  --bulma-text: var(--color-text);
  --bulma-title-color: var(--color-primary);
  --bulma-subtitle-color: var(--color-text-muted);
  --bulma-text-strong: var(--color-primary);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--color-text);
  background-color: var(--color-cream);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  opacity: 0;
  animation: pageFadeIn 0.4s ease-in-out forwards;
}

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

/* =============================================
   2. TYPOGRAPHY & HELPER UTILITIES
   ============================================= */
.title {
  color: var(--color-primary) !important;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.subtitle {
  color: var(--color-text-muted) !important;
  opacity: 0.95;
}

.text-primary { color: var(--color-primary) !important; }
.text-secondary { color: var(--color-secondary) !important; }
.bg-cream { background-color: var(--color-cream) !important; }
.bg-white { background-color: var(--color-white) !important; }
.bg-primary { background-color: var(--color-primary) !important; color: white !important; }

/* =============================================
   3. NAVIGATION
   ============================================= */
.navbar {
  border-bottom: 1px solid var(--color-grey-light);
  background-color: var(--color-white);
}

.navbar-item .logo-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin-right: 0.6rem;
}

.navbar-item {
  color: var(--color-text);
  font-weight: 500;
}

.navbar-item:hover, .navbar-link:hover {
  color: var(--color-secondary) !important;
  background-color: transparent !important;
}

/* =============================================
   4. HERO SECTION
   TEMPLATE: Change the background image path below
   ============================================= */
.hero.is-vet {
  background: 
    linear-gradient(to right, 
      rgba(248, 250, 252, 0.98) 0%, 
      rgba(248, 250, 252, 0.88) 45%,
      rgba(248, 250, 252, 0.35) 100%
    ),
    url('/static/photos/hero-bg.jpg') center right / cover no-repeat;
  position: relative;
}

.hero.is-vet .title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  color: var(--color-primary) !important;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.hero.is-vet .subtitle {
  font-size: 1.25rem;
  line-height: 1.5;
  margin-top: 1.5rem;
}

/* =============================================
   5. BUTTONS
   ============================================= */
.button.is-primary {
  background-color: var(--color-primary);
  border-color: transparent;
  color: white;
}

.button.is-primary:hover {
  filter: brightness(1.2);
}

.button.is-secondary {
  background-color: var(--color-secondary);
  border-color: transparent;
  color: white;
}

.button.is-secondary:hover {
  filter: brightness(0.9);
}

/* =============================================
   6. STATS & EXPERIENCE COUNTERS
   ============================================= */
.stat-item {
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* =============================================
   7. FEATURES & CAPABILITIES GRID
   ============================================= */
.equip-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--color-grey-light);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.equip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  border-color: var(--color-secondary);
}

.equip-card .title {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem) !important;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-height: 1.25;
}

.equip-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--color-grey-light);
}

/* =============================================
   8. FAQ ACCORDION
   ============================================= */
.faq-list details {
  background-color: var(--color-white);
  border: 1px solid var(--color-grey-light);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-list details[open] {
  border-color: var(--color-secondary);
  background-color: var(--color-cream);
}

.faq-list summary {
  font-weight: 600;
  color: var(--color-primary);
  outline: none;
  user-select: none;
  font-size: 1.05rem;
}

.faq-list summary::marker { display: none; }
.faq-list summary::-webkit-details-marker { display: none; }

.faq-list details p {
  margin-top: 1rem;
  color: var(--color-text);
  line-height: 1.6;
}

/* =============================================
   9. FLOATING WHATSAPP BUTTON
   ============================================= */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 24px;
  right: 24px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.18);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  color: #FFF;
}

/* =============================================
   10. CASES / MEDIA CARDS
   ============================================= */
.case-card {
  background: var(--color-white);
  border-radius: 16px;
  border: 1px solid var(--color-grey-light);
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
  padding: 2rem;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.case-card p {
  flex-grow: 1;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.06) !important;
}

.video-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background-color: #000;
  aspect-ratio: 9/16;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.case-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
  font-weight: bold;
  font-size: 0.75rem !important;
  border-radius: 4px !important;
}

.case-video,
.case-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =============================================
   11. RESPONSIVE BREAKPOINTS
   ============================================= */
@media (max-width: 768px) {
  .hero.is-vet { 
    font-size: 2.5rem; 
    background: 
      linear-gradient(to bottom, 
        rgba(248, 250, 252, 0.96) 0%, 
        rgba(248, 250, 252, 0.88) 60%,
        rgba(248, 250, 252, 0.7) 100%
      ),
      url('/static/photos/hero-bg.jpg') center center / cover no-repeat;
  }
  .hero.is-vet .title { font-size: 2.25rem; }
  .stat-item { padding: 1rem; }
  .stat-number { font-size: 2.5rem; }
}
