/* === FUENTES === */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&family=Poppins:wght@300;500;700;800&display=swap');

:root {
  --nav-bg: rgba(0, 60, 80, 0.95);
  --accent: #00c6ff;
  --accent-light: #00e0ff;
  --dark: #003c50;
  --light-bg: #f9fbfc;
  --text-light: #eafcff;
}

/* === RESET / BASE === */
body {
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
  margin: 0;
  color: #222;
  background: #fff;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* === NAVBAR === */
.navbar {
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease;
  padding: 12px 0;
  z-index: 1100;
}

.navbar.scrolled {
  background: var(--nav-bg);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  margin-left: 10px;
  transition: color 0.25s ease;
}
.navbar .nav-link:hover { color: var(--accent-light); }

/* === LOGO TEXTUAL CELSIUS === */
.logo-text {
  display: flex;
  flex-direction: column;
  text-transform: uppercase;
  text-align: left;
  user-select: none;
  text-shadow: 0 0 5px rgba(0,198,255,0.4);
  transition: transform 0.18s ease, text-shadow 0.18s ease;
}
.logo-text:hover {
  transform: scale(1.03);
  text-shadow: 0 0 10px rgba(0,224,255,0.55);
}
.brand-main {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  color: var(--text-light);
  font-size: 1.45rem;
}
.brand-sub {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #bfeeff;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
}

@media (max-width: 576px) {
  .brand-main { font-size: 1.2rem; }
  .brand-sub { font-size: 0.65rem; }
}

/* === HERO === */
#inicio {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.hero-slide {
  height: 100vh;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,60,80,0.5), rgba(0,60,80,0.85));
  z-index: 1;
}
.carousel-caption {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

/* === SERVICIOS / PARALLAX === */
.parallax-servicios {
  position: relative;
  z-index: 1;
  background-image: url("img/comercial1.jpg");
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  padding: 80px 0;
}
.parallax-servicios::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 25, 50, 0.55);
  z-index: 0;
}
.parallax-servicios .container {
  position: relative;
  z-index: 2;
}
.parallax-servicios h2,
.parallax-servicios p,
.parallax-servicios h5 {
  color: #fff;
}

@media (max-width: 768px) {
  .parallax-servicios { background-attachment: scroll; }
}

/* === SERVICE CARDS === */
.service-card {
  overflow: hidden;
  border-radius: 12px;
  transition: transform .28s ease, box-shadow .28s ease;
  background: #fff;
}
.service-card img {
  height: 220px;
  object-fit: cover;
  transition: transform .4s ease;
}
.service-card:hover img { transform: scale(1.08); }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,60,80,0.18);
}
.service-card h5 {
  color: var(--dark);
  font-weight: 700;
}
.service-card p {
  color: #4b5563;
  font-size: 0.95rem;
}

/* === SECCIÓN VENTA === */
#venta {
  background: linear-gradient(180deg, #007c88, #003c50);
  color: #fff;
  padding: 80px 0;
}
#venta h2 {
  letter-spacing: 1px;
  color: var(--text-light);
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
}
#venta p.lead { color: #c8f0ff; }

.brand-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 30px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(5px);
}
.brand-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}
.brand-logo {
  max-width: 130px;
  height: 70px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}
.brand-card:hover .brand-logo { transform: scale(1.1); }
.brand-card h5 { color: #fff; font-weight: 600; }
.brand-card p {
  color: #d9f6ff;
  font-size: 0.95rem;
}
.brand-card .btn {
  background: var(--accent);
  color: var(--dark);
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
.brand-card .btn:hover {
  background: var(--accent-light);
  color: #002835;
  transform: scale(1.05);
}

/* === CONTACTO === */
.contact-section {
  background: linear-gradient(180deg, #007c88, #003c50);
  color: #fff;
}
.contact-section h2 {
  color: var(--text-light);
  letter-spacing: 1px;
}
.contact-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}
.contact-form .form-label {
  color: var(--text-light);
  font-weight: 500;
}
.contact-form .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  transition: all 0.3s ease;
}
.contact-form .form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-light);
  box-shadow: 0 0 10px rgba(0, 224, 255, 0.4);
}
.btn-submit {
  background: linear-gradient(90deg, var(--accent-light), #007c88);
  color: var(--dark);
  font-weight: 600;
  border: none;
  border-radius: 50px;
  padding: 10px 30px;
  transition: all 0.3s ease;
}
.btn-submit:hover {
  background: linear-gradient(90deg, #00f0ff, #009fb3);
  box-shadow: 0 0 15px rgba(0, 224, 255, 0.6);
  transform: scale(1.05);
}

/* === FOOTER === */
.footer {
  background: linear-gradient(135deg, #001b25, #00485e);
  color: #e4f8ff;
  position: relative;
  overflow: hidden;
  padding: 50px 0 20px;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(0,198,255,0.2), transparent 60%);
  z-index: 0;
}
.footer .container { position: relative; z-index: 1; }
.footer h5 { color: #fff; font-weight: 700; }
.footer a { color: #bfeeff; transition: color 0.25s; }
.footer a:hover { color: var(--accent-light); }
.text-accent {
  color: var(--accent-light) !important;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.text-accent:hover {
  color: #66f3ff;
  text-shadow: 0 0 8px rgba(0, 224, 255, 0.6);
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent), #007c88);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 198, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1000;
  animation: pulse 2.5s infinite;
}
.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #eafcff;
  filter: drop-shadow(0 0 6px #00c6ff);
  transition: transform 0.3s ease, filter 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(0, 198, 255, 0.6);
}
.whatsapp-float:hover svg {
  filter: drop-shadow(0 0 12px #00e0ff);
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 15px rgba(0, 198, 255, 0.4); }
  50% { box-shadow: 0 0 25px rgba(0, 198, 255, 0.7); }
}

/* === Navbar con desvanecimiento al scrollear === */
.navbar {
  background: transparent;
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.35s ease;
  opacity: 1;
}

.navbar.hidden {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

#sobre-nosotros {
  background: radial-gradient(ellipse at top left, #0d0d0f 0%, #121214 100%);
  position: relative;
}

#sobre-nosotros .text-accent {
  color: #00bcd4; /* Ajustalo si querés otro color de marca */
}

#sobre-nosotros i {
  transition: transform 0.3s ease, color 0.3s ease;
}

#sobre-nosotros i:hover {
  transform: scale(1.2);
  color: #33e0ff;
}

/* === EFECTO DE COPOS DE NIEVE (mejorado) === */
.snow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* no interfiere con clicks */
  overflow: hidden;
  z-index: 9999;
}

/* copo individual */
.snowflake {
  position: absolute;
  top: -5%; /* comienza ligeramente arriba */
  color: #eafcff;           /* color celeste-hielo */
  opacity: 0.85;
  will-change: transform, opacity;
  user-select: none;
  /* animación: caída + drift (usa la variable --drift que setea el script) */
  animation: fall linear infinite;
  /* duración y delay se establecen desde JS por flake */
}

/* keyframes: baja y se desplaza horizontalmente hacia --drift */
@keyframes fall {
  0% {
    transform: translateY(-10vh) translateX(0);
    opacity: 1;
  }
  70% {
    opacity: 0.9;
  }
  100% {
    transform: translateY(110vh) translateX(var(--drift, 20px));
    opacity: 0.25;
  }
}

/* === MÉTODOS DE PAGO - FOOTER === */
.payment-methods h6 {
  color: #bfeeff;
  letter-spacing: 1px;
}

.payment-logos img {
  height: 40px;
  opacity: 0.85;
  transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 0 5px rgba(0, 198, 255, 0.3));
}

.payment-logos img:hover {
  transform: scale(1.1);
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(0, 224, 255, 0.6));
}

@media (max-width: 576px) {
  .payment-logos img {
    height: 32px;
  }
}
