/* ====== ESTILOS GENERALES ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #000; /* FONDO NEGRO */
  color: #f4f4f4; /* Texto claro para contraste */
}

/* ====== HEADER Y MENÚ ====== */
header {
  background: #2c3e50;
  color: #fff;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo h1 {
  margin: 0;
  font-size: 26px;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 18px;
  font-size: 16px;
  transition: color 0.3s;
}

nav a:hover,
nav a.active {
  color: #f39c12;
}

/* ====== SECCIONES ====== */
main {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

section {
  margin-bottom: 50px;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 28px;
  color: #f39c12;
}

/* ====== TODAS LAS IMÁGENES ====== */
img {
  width: 260px;        /* Ancho fijo */
  height: 220px;       /* Alto fijo */
  object-fit: cover;   /* Mantiene proporciones */
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  border: 3px solid #f39c12;
  box-shadow: 0 4px 8px rgba(243,156,18,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(243,156,18,0.6);
}

/* ====== SOBRE NOSOTROS ====== */
#sobre {
  background: #1a1a1a; /* gris oscuro sobre fondo negro */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  line-height: 1.8;
  text-align: justify;
}

#sobre h2 {
  margin-bottom: 25px;
  color: #f39c12;
  font-size: 30px;
}

#sobre h3 {
  margin-top: 20px;
  margin-bottom: 10px;
  color: #f1c40f;
  font-size: 22px;
}

#sobre p {
  margin-bottom: 15px;
  font-size: 16px;
  color: #ddd;
}

/* ====== SERVICIOS ====== */
.servicios-contenedor {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.servicio {
  background: #1a1a1a; /* Tarjeta oscura */
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicio:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(243,156,18,0.6);
}

.servicio h3 {
  margin-top: 12px;
  font-size: 20px;
  color: #f39c12;
}

.servicio p {
  font-size: 15px;
  margin-top: 8px;
  color: #ccc;
}

/* ====== FORMULARIO DE CONTACTO ====== */
.form-contacto {
  display: flex;
  flex-direction: column;
  margin-top: 25px;
}

.form-contacto label {
  margin-bottom: 5px;
  font-weight: bold;
  color: #f39c12;
}

.form-contacto input,
.form-contacto textarea {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #444;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  background: #111;
  color: #fff;
}

.form-contacto input:focus,
.form-contacto textarea:focus {
  outline: none;
  border-color: #f39c12;
  box-shadow: 0 0 5px rgba(243, 156, 18, 0.5);
}

.form-contacto button {
  background: #f39c12;
  color: #000;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-contacto button:hover {
  background: #fff;
  color: #000;
}

/* ====== FOOTER ====== */
footer {
  background: #2c3e50;
  color: #fff;
  text-align: center;
  padding: 18px;
  margin-top: 30px;
}


