/* =========================================
   1. VARIABLES 
   ========================================= */
:root {
  --primary-blue: #0056b3; /* El azul clásico de tu captura */
  --secondary-blue: #004494; /* Azul oscuro para hover */
  --bg-light: #f4f6f9; /* Gris super clarito para el fondo */
  --text-dark: #333333;
  --text-gray: #666666;
  --card-border: #e0e0e0; /* Borde gris sutil de las tarjetas */
  --white: #ffffff;
}

/* =========================================
   2. RESETEO BÁSICO
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* Fuente normalita de Windows/Web, cero tipografías raras */
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

/* =========================================
   3. ENCABEZADO Y NAVEGACIÓN (Como la foto 1)
   ========================================= */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--primary-blue);
  padding: 15px 40px;
  color: var(--white);
}

.logo h2 {
  font-size: 1.6rem;
  font-weight: bold;
}

.logo span {
  color: #99ccff; /* Un celestito suave para el "Tech" */
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 5px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--white);
  padding: 10px 15px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: bold;
  transition: background-color 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
  background-color: var(--secondary-blue);
}

/* =========================================
   4. HERO / BANNER PRINCIPAL (Sencillo y limpio)
   ========================================= */
.hero {
  background-color: var(--white);
  text-align: center;
  padding: 50px 20px;
  border-bottom: 1px solid var(--card-border);
}

.hero h1 {
  color: var(--primary-blue);
  margin-bottom: 10px;
  font-size: 2.2rem;
}

.hero p {
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto 20px auto;
}

/* =========================================
   5. SECCIONES Y TARJETAS (Grid)
   ========================================= */
.featured-services,
.about-section,
.services-page,
.gallery-section,
.contact-section {
  padding: 50px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  color: var(--primary-blue);
  margin-bottom: 10px;
  font-size: 2rem;
}

/* Subtítulo simulando el de tu captura ("Catálogo de Equipos...") */
.featured-services::before,
.services-page::before {
  display: block;
  text-align: center;
  color: var(--text-gray);
  margin-bottom: 40px;
  font-size: 0.95rem;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

/* Tarjetas blancas con borde gris como en tu imagen */
.card {
  background-color: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 25px 20px;
  text-align: center;
  /* Sombra súper leve, casi ni se nota */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 4px 10px rgba(0, 86, 179, 0.1);
}

.card h3 {
  color: var(--text-dark);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

/* =========================================
   6. BOTONES E IMÁGENES
   ========================================= */
.service-img {
  width: 100%;
  height: 160px;
  /* object-fit contain para que las laptops/PCs se vean completas como en tu foto */
  object-fit: contain;
  margin-bottom: 15px;
}

.price {
  font-size: 1.1rem;
  color: var(--primary-blue);
  font-weight: bold;
  margin-bottom: 15px;
}

/* Botón igualito al "$750.00" de tu captura */
.btn-primary {
  display: inline-block;
  padding: 8px 25px;
  background-color: var(--white);
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  border-radius: 20px; /* Bordes redondeados */
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary:hover {
  background-color: var(--primary-blue);
  color: var(--white);
}

/* =========================================
   7. GALERÍA Y CONTACTO
   ========================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.gallery-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--card-border);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  background-color: var(--white);
  padding: 30px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
}

.contact-info,
.contact-form {
  flex: 1;
  min-width: 280px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: var(--text-dark);
  font-weight: bold;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.map-placeholder {
  height: 150px;
  background-color: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #adb5bd;
  margin-top: 15px;
  color: var(--text-gray);
}

/* =========================================
   8. FOOTER
   ========================================= */
.footer {
  text-align: center;
  padding: 20px;
  background-color: var(--primary-blue);
  color: var(--white);
  margin-top: 40px;
}

/* =========================================
   9. RESPONSIVE DESIGN (Celulares)
   ========================================= */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    padding: 15px;
  }

  .nav-menu ul {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
  }

  .contact-container {
    flex-direction: column;
  }
}

/* Tarjetas blancas por defecto (estado normal) */
.card {
  background-color: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* Sombra muy suavecita */
  /* Transición de 0.3 segundos para que el cambio no sea de golpe */
  transition: all 0.3s ease;
}

/* EL EFECTO HOVER INTENSO (Cuando pasas el mouse) */
.card:hover {
  border: 1px solid var(--primary-blue); /* El borde azul intenso de tu foto */
  box-shadow: 0 8px 20px rgba(0, 86, 179, 0.15); /* Sombra más grande y azulada */
  transform: translateY(-4px);
}
/* Tarjeta normal (Le ponemos 2px de grosor para que no dé saltos) */
.card {
  background-color: var(--white);
  border: 2px solid var(--card-border); /* <-- AQUÍ ESTÁ EL 2PX */
  border-radius: 8px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

/* EL EFECTO HOVER GRUESO E INTENSO */
.card:hover {
  border: 2px solid var(--primary-blue); /* <-- BORDE AZUL GRUESO DE 2PX */
  box-shadow: 0 8px 20px rgba(0, 86, 179, 0.15);
  transform: translateY(-4px);
}
