/* style.css */

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fafafa;
  color: #333;
  line-height: 1.6;
}

/* Contenedor general de ancho máximo */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
header {
  background-color: #2874A6;
  color: #fff;
  padding: 20px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header img {
  height: 60px;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
}

nav a:hover {
  background-color: #1f5b81;
  color: #e0e0e0;
}

/* Hero / sección principal en home */
.hero {
  background: linear-gradient(to right bottom, #2874A6cc, #1f5b81cc), url('images/soft.png') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
  position: relative;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Productos (cards) */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin: 60px 0;
}

.product-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.product-card .card-body {
  padding: 20px;
}

.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #2874A6;
}

.product-card p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #555;
}

.product-card .btn {
  display: inline-block;
  padding: 10px 16px;
  background-color: #2874A6;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.product-card .btn:hover {
  background-color: #1f5b81;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Contenido de producto */
.content {
  background-color: #fff;
  padding: 40px 20px;
  margin: 40px 0;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.07);
}

.content h1 {
  font-size: 2rem;
  color: #2874A6;
  margin-bottom: 20px;
}

.content p {
  font-size: 1.1rem;
  color: #444;
}

/* Footer */
footer {
  background-color: #2874A6;
  color: #fff;
  padding: 30px 0 20px 0;
  text-align: center;
}

footer p {
  margin-bottom: 10px;
}

footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 8px;
  font-weight: 500;
  transition: color 0.3s;
}

footer a:hover {
  color: #d9eaf1;
}

/* Contactenos enlaces */
.contact-links {
  margin-top: 20px;
}

.contact-links a {
  display: inline-block;
  margin: 8px 15px 8px 0;
  padding: 10px 16px;
  background-color: #fff;
  color: #2874A6;
  border: 2px solid #2874A6;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}

.contact-links a:hover {
  background-color: #2874A6;
  color: #fff;
}

/* Responsividad */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  nav {
    flex-wrap: wrap;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .product-card img {
    height: 140px;
  }
  .hero {
    padding: 60px 10px;
  }
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fafafa;
  color: #333;
  line-height: 1.6;
  padding-left: 15px;   /* <--- nuevo */
  padding-right: 15px;  /* <--- nuevo */
}