/* Reset básico */
:root {
  --color-primary: #2563eb;
  --color-secondary: #1e40af;
  --color-bg: #f9fafb;
  --color-dark: #1f2937;
  --color-gray: #6b7280;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
header {
  background: rgb(10, 2, 83);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  height: 90px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

nav {
  display: flex;
  gap: 2rem;
}
h1{
    color: #ffffff;
}

nav a {
  font-weight: 500;
  transition: color 0.3s ease;
  color: #f8f6f6;
}

nav a:hover {
  color: var(--color-primary);
}

/* Header y menú */
.navbar {
  background-color: #2c3e50;
  color: white;
  padding: 1rem 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 50px;
  height: auto;
}

.logo h1 {
  font-size: 1.5rem;
  margin: 0;
}

.desktop-menu a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: white;
}
/* Menú móvil */
.mobile-menu {
  position: absolute;
  top: 60px;
  right: 20px;
  background-color: white;
  color: #333;
  flex-direction: column;
  display: none;
  width: 200px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  padding: 12px 20px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.3s ease;
}

.mobile-menu a:hover {
  background-color: #f0f0f0;
}

/*hero*/
.hero {
  background:linear-gradient(rgba(5, 7, 12, 0.2), rgba(5,7,12,0.2)), url(imagen/8.jpg) no-repeat center center/cover ;
  position: relative;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/*container*/

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-section {
  padding: 60px 20px;
  background-color: #fff;
}

.about-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
  color: #2c3e50;
}

.about-content {
  display: flex;
  flex-wrap: nowrap;
  gap: 40px;
  align-items: flex-start;
}

.text-content {
  flex: 1;
  max-width: 70%;
}

.text-content p, .text-content li {
  margin-bottom: 15px;
}

.text-content h3 {
  font-size: 1.5rem;
  margin: 30px 0 15px;
  color: #2c3e50;
}

.text-content ul {
  list-style-type: none;
  padding-left: 0;
}

.image-content {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.image-content img {
  width: 200px;
  height: 600px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
/*productos*/
.info{
  margin: auto;
  flex-direction: column;
  align-items: center;
}
.info h2{
  text-align: center;
  margin-bottom: 20px;
}
.info p{
  text-align: center;
  margin-bottom: 20px;
}
.productos{
    width: 95%;
    display: flex; 
    text-align: center;

}

.grid-layout3{
	margin: auto;
	display: grid;
	grid-template-columns: auto auto auto auto auto;
	grid-template-rows: auto auto auto auto auto;
}
.caja2{
    height: 150px;
	  width: 150px;
	  align-items: center;
    display: flex;
    position: relative;
    margin: 15px;
}
.productos .caja{
    position: relative;
}
.caja2 img{
  width: 100%;
  height: 80%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


/* Footer */
footer {
  background-color: rgb(10, 2, 83);
  color: #9ca3af;
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.copy {
  text-align: center;
  margin-top: 2rem;
  color: #9ca3af;
  font-size: 0.875rem;
  border-top: 1px solid #eef0f3;
  padding-top: 1rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
    
}

.footer-section h3 {
  font-size: 1.1rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.copyright {
  text-align: center;
  margin-top: 2rem;
  color: #6b7280;
  font-size: 0.875rem;
  border-top: 1px solid #374151;
  padding-top: 1rem;
}
.btn-primary{
  margin: 10px;
}


/* Responsive para pantallas pequeñas */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
    align-items: stretch;
  }

  .text-content {
    max-width: 100%;
  }

  .image-content {
    margin-top: 30px;
    justify-content: center;

  }
  .image-content img{
    width: 300px;
     height: 300px;
  }
  
}
/* Responsive */
@media (max-width: 768px) {
  .desktop-menu {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin: 9px;
  }

  .mobile-menu {
    right: 15px;
    width: 80%;
  }
  nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
  .logo img{
    margin: 10px;
  }
  .info h2{
    max-width: 90%;
    font-size: 1rem;
    margin-bottom: 10px;
  }
  .info p{
    max-width: 90%;
    font-size: 12px;
    margin: 5px;
  }
  .hero{
    max-width: 100%;
  }
  .hero-content h2 {
    max-width: 90%;
    font-size: 1.3rem;
     margin: auto;
  }
  .hero-content p{
    max-width: 90%;
    font-size: 14px;
    margin: auto;
  }
  .grid-layout3{
        margin: auto;
        display: grid;
        grid-template-columns: auto ;
        grid-template-rows: auto ;
    }
    .caja2 img{
        height: 150px;
        width: 200px;
    }
    .copy{
      font-size: 12px;
    }
  

}
