@import url("https://fonts.googleapis.com/css2?family=Inria+Serif:wght@400;700&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --hv-primary: #570723;
  --hv-primary-container: #7a0f2e;
  --hv-secondary: #00696e;
  --hv-surface: #fff8f6;
  --hv-surface-low: #faf2f0;
  --hv-text: #1e1b1a;
  --hv-text-muted: #574144;
  --hv-font-headline: 'Plus Jakarta Sans', sans-serif;
  --hv-font-body: 'Inter', sans-serif;
  --hv-font-poppins: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--hv-surface);
  color: var(--hv-text);
  font-family: var(--hv-font-body);
  overflow-x: hidden;
}

/* Font Utilities */
.font-headline {
  font-family: var(--hv-font-headline);
}

.font-poppins {
  font-family: var(--hv-font-poppins);
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

/* Color Utilities */
.text-hv-primary {
  color: var(--hv-primary) !important;
}

.text-hv-secondary {
  color: var(--hv-secondary) !important;
}

.text-hv-muted {
  color: var(--hv-text-muted) !important;
}

/* ==========================================================================
   HEADER & NAVBAR STYLES (#570723 Background & High Contrast Text)
   ========================================================================== */
   
   
   .navbar {
    --bs-navbar-padding-x: 0;
    --bs-navbar-padding-y: 0.2rem !important;
    }
.hv-navbar {
  background-color: #570723 !important;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hv-navbar.scrolled {
  background-color: rgba(87, 7, 35, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hv-logo {
  height: 55px;
  width: auto;
  object-fit: contain;
}

/* Header Links - Pure White for Contrast */
.hv-navbar .nav-link {
  font-family: var(--hv-font-headline);
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
}

.hv-navbar .nav-link:hover {
  color: #ffffff !important;
  transform: translateY(-1px);
}

.hv-navbar .nav-link.active {
  color: #ffffff !important;
  font-weight: 700;
  border-bottom: 2px solid #ffffff;
}

/* Header Specific Button */
.btn-hv-header {
  background-color: #ffffff;
  color: #570723;
  font-family: var(--hv-font-headline);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 50rem;
  padding: 0.6rem 1.4rem;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.btn-hv-header:hover {
  background-color: var(--hv-surface);
  color: #570723;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Mobile Offcanvas Drawer */
.hv-offcanvas {
  background-color: #570723 !important;
  color: #ffffff;
}

.hv-offcanvas .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
}

.hv-offcanvas .nav-link.active,
.hv-offcanvas .nav-link:hover {
  color: #ffffff !important;
  font-weight: 700;
}

/* ==========================================================================
   BUTTONS & UI COMPONENTS
   ========================================================================== */
.btn-hv-primary {
  background-color: var(--hv-primary);
  color: #ffffff;
  font-family: var(--hv-font-headline);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 50rem;
  padding: 0.65rem 1.6rem;
  border: none;
  box-shadow: 4px 4px 10px rgba(87, 7, 35, 0.2);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-hv-primary:hover,
.btn-hv-primary:focus {
  background-color: var(--hv-primary-container);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 6px 6px 14px rgba(87, 7, 35, 0.3);
}

.btn-hv-secondary {
  background-color: var(--hv-secondary);
  color: #ffffff;
  font-family: var(--hv-font-headline);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 50rem;
  padding: 0.65rem 1.6rem;
  border: none;
  box-shadow: 4px 4px 10px rgba(0, 105, 110, 0.2);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-hv-secondary:hover {
  background-color: #004d51;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  font-family: var(--hv-font-headline);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 50rem;
  padding: 0.65rem 1.6rem;
  border: none;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-whatsapp:hover {
  background-color: #1ebc57;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(87, 7, 35, 0.15);
  color: var(--hv-primary);
  font-family: var(--hv-font-headline);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 50rem;
  padding: 0.65rem 1.6rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-glass:hover {
  background: #ffffff;
  color: var(--hv-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(87, 7, 35, 0.1);
}

/* Floating Particles Background Container */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

@keyframes floatParticle {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
  50% { transform: translateY(-30px) rotate(180deg); opacity: 1; }
}

.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: floatParticle linear infinite;
}

/* Glassmorphism Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 1.5rem;
}

.glass-card-dark {
  background: rgba(87, 7, 35, 0.04);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(87, 7, 35, 0.08);
  border-radius: 1.5rem;
}

/* 3D Effects & Animations */
.perspective {
  perspective: 1200px;
}

.card-3d {
  transition: transform 0.5s cubic-bezier(.23, 1, .32, 1), box-shadow 0.5s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.card-3d:hover {
  transform: rotateY(-4deg) rotateX(4deg) translateZ(12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(87, 7, 35, 0.12);
}

.shadow-3d {
  box-shadow: 0 4px 8px rgba(87, 7, 35, 0.04),
              0 12px 24px rgba(87, 7, 35, 0.06),
              0 32px 64px rgba(87, 7, 35, 0.08);
}

/* Text Shimmer Effect */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.text-shimmer {
  background: linear-gradient(90deg, #570723 30%, #00696e 50%, #570723 70%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

/* Floating Badges & Animations */
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float-badge {
  animation: floatBadge 3.5s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(87, 7, 35, 0.15); }
  50% { box-shadow: 0 0 40px rgba(87, 7, 35, 0.3); }
}

.glow-pulse {
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.animated-gradient {
  background: linear-gradient(135deg, #570723, #7a0f2e, #00696e, #570723);
  background-size: 300% 300%;
  animation: gradientShift 8s ease infinite;
}

.icon-3d-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
}

.card-3d:hover .icon-3d-wrapper {
  transform: rotateY(360deg) scale(1.08);
}

.badge-pill-custom {
  background: rgba(87, 7, 35, 0.08);
  color: var(--hv-primary);
  font-family: var(--hv-font-headline);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.4rem 1rem;
  border-radius: 50rem;
  letter-spacing: 0.5px;
}

/* Floating Actions */
.floating-quick-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  text-decoration: none;
}

.float-btn:hover {
  transform: scale(1.1);
  color: white;
}

.float-whatsapp { background-color: #25d366; }
.float-phone { background-color: var(--hv-primary); }

/* Footer Styles */
.hv-footer {
  background: rgba(87, 7, 35, 0.05);
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
  border-top: 1px solid rgba(87, 7, 35, 0.08);
}

.hv-footer-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: rgba(87, 7, 35, 0.06);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.hv-footer-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.hv-footer-link {
  color: var(--hv-text-muted);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
}

.hv-footer-link:hover {
  color: var(--hv-secondary) !important;
  transform: translateX(2px);
}

.hv-social-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.6);
  color: var(--hv-primary);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.hv-social-icon:hover {
  background: var(--hv-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(87, 7, 35, 0.15);
}

.hv-input {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(87, 7, 35, 0.15);
  border-radius: 0.75rem;
  font-size: 0.875rem;
  padding: 0.6rem 1rem;
}

.hv-input:focus {
  background: #ffffff;
  border-color: var(--hv-primary);
  box-shadow: 0 0 0 0.25rem rgba(87, 7, 35, 0.15);
  outline: none;
}



/* Modal Glass & Animation Enhancements */
.modal-content.glass-card {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border-radius: 1.5rem !important;
}

/* .modal-backdrop.show {
  opacity: 0.65;
  background-color: #570723;
} */