/* ===========================
   PALETA DE COLORES FullOps
=========================== */
:root {
  --harbor-sky: #0A2B30;
  --dockside: #2B2B28;
  --pearl: #E2E222;
  --sandstone-dark: #0A2B34;
  --sandstone-light: #D1A574;
  --azure-accent: #00A6FF;
}

/* ===========================
   ESTILOS BASE
=========================== */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--dockside);

  /* Fondo */
  background-image: url("fondo.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* NAV */
header {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  max-width: 1100px;
  margin: auto;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.menu a {
  text-decoration: none;
  color: var(--dockside);
  font-weight: bold;
}

/* SECTIONS */
.section {
  padding: 80px 20px;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

/* 🎯 Sección Servicios: títulos y textos generales en blanco */
#servicios,
#servicios h2,
#servicios > p {
  color: white;
}

/* 🔙 Restaurar color negro SOLO dentro de las tarjetas */
#servicios .card,
#servicios .card h3,
#servicios .card p {
  color: var(--dockside); /* tu color negro/gris oscuro */
}

/* Seccion Nosotros */
.alt {
  background: rgba(10, 43, 48, 0.50); /* fondo oscuro elegante */
  color: white;                       /* texto blanco */
  border-radius: 25px;                /* opcional, estilo como el hero */
  backdrop-filter: blur(6px);         /* efecto vidrio */
}


/* HERO */
.hero {
  max-width: 1100px;              /* ancho más elegante */
  margin: 40px auto;              /* separa del header y centra */
  padding: 120px 20px;
  
   background: linear-gradient(
    135deg,
    rgba(10, 43, 48, 0.45),   /* harbor-sky con transparencia */
    rgba(0, 166, 255, 0.30)   /* azure-accent con transparencia */
  );
  color: #ffffff;
  border-radius: 25px;            /* <<< bordes redondeados */
  backdrop-filter: blur(6px);     /* efecto vidrio */
  overflow: hidden;               /* evita que contenido sobresalga */
}

.hero .btn {
  background: #ffffff;
  color: var(--azure-accent);
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* FORM */
.contact-form {
  display: grid;
  max-width: 500px;
  margin: auto;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 5px;
  border: 1px solid var(--sandstone-dark);
}

.contact-form button {
  padding: 12px;
  border: none;
  background: var(--azure-accent);
  color: #ffffff;
  border-radius: 5px;
  cursor: pointer;
}
/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: var(--dockside);
  color: #ffffff;
}
/* ===========================
   BOTÓN FLOTANTE WHATSAPP
=========================== */

.whatsapp-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  z-index: 1000;
}

.whatsapp-text {
  background: #25D366;
  color: white;
  padding: 10px 15px;
  border-radius: 20px;
  font-size: 15px;
  font-family: Arial, sans-serif;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  transition: transform 0.2s ease;
}

.whatsapp-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.whatsapp-container:hover .whatsapp-icon,
.whatsapp-container:hover .whatsapp-text {
  transform: scale(1.05);
}
/* ================
   MENÚ MÓVIL
================ */

.hamburger {
  font-size: 30px;
  cursor: pointer;
  display: none;
}

/* Sidebar (oculto por defecto) */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background: var(--harbor-sky);
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: 0.3s ease;
  z-index: 999;
}

.mobile-menu a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  padding: 10px 20px;
}

/* Cuando se abre */
.mobile-menu.open {
  left: 0;
}

/* ================
   RESPONSIVE
================ */

@media (max-width: 768px) {
  /* Mostrar hamburguesa en móvil */
  .hamburger {
    display: block;
  }

  /* Ocultar menú normal en móvil */
  .menu {
    display: none;
  }
}
/* ===========================
   MENSAJE DE ÉXITO DEL FORM
=========================== */
.form-message {
    margin-top: 15px;
    padding: 12px 20px;
    background: var(--azure-accent); /* azul de tu paleta */
    color: white;
    border-radius: 10px;
    font-weight: bold;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Ocultar automáticamente el mensaje después de 4s */
.form-message.hide {
    opacity: 0;
    transition: opacity 1s ease;
}

