/* styles.css - NetCear Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700;14..32,800&display=swap');

/* Tailwind base + utilities via CDN are used, but we add custom overrides */
:root {
  --primary: #00A8A8;
  --primary-dark: #008080;
  --secondary: #0A1C2E;
  --accent: #0066CC;
  --dark-bg: #0B2B3B;
  --light-bg: #F8F9FA;
  --gray-text: #6B7280;
  --border: #E5E7EB;
  --success: #10B981;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1F2937;
  background-color: #FFFFFF;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Custom container */
.container-custom {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container-custom {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-custom {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  font-weight: 600;
  background-color: var(--primary);
  color: white;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: 1px solid #D1D5DB;
  border-radius: 0.5rem;
  font-weight: 600;
  background-color: transparent;
  color: #374151;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-outline:hover {
  background-color: #F9FAFB;
  transform: translateY(-1px);
}

/* Cards */
.card {
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  padding: 1.5rem;
}

.card:hover {
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

/* Stats */
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header sticky */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: white;
  backdrop-filter: blur(8px);
  background-color: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--border);
}


/* Utility */
.text-primary { color: var(--primary); }
.bg-primary-light { background-color: rgba(0,168,168,0.1); }

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20b359;
}

.whatsapp-float i {
    font-size: 28px;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

/* Animaciones suaves al hacer scroll (sin librerías) */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Opcional: otros efectos que puedas necesitar */
.fade-in {
    opacity: 0;
    transition: opacity 0.7s ease;
}
.fade-in.visible {
    opacity: 1;
}

/* 1. Ocultar el menú por defecto en TODO tamaño de pantalla */
.nav-menu {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: #ffffff !important;
    z-index: 99999 !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

/* 2. Cuando tu JavaScript hace .classList.add('menu-visible'), esto lo activa */
.nav-menu.menu-visible {
    display: flex !important;
}

/* 3. Estilo de los elementos internos */
.nav-menu nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 30px !important;
}

.nav-menu a {
    color: #1f2937 !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

#closeMenu {
    position: absolute !important;
    top: 20px !important;
    right: 30px !important;
    font-size: 40px !important;
    background: transparent !important;
    border: none !important;
    color: #1f2937 !important;
    cursor: pointer !important;
}