/* Estilos generales */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
}
:root {
  --primary-color: #0078d4;
  --secondary-color: #421d7e;
  --color-fondo: #f3f2f1;
  --text-color: #000000;
  --font-size: 16px;
  --color-input: #c96c0f;
}
body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  background: white url("../img//fondo-png.png") 50% 0 / 76px 76px;
}
header {
  background-color: var(--secondary-color);
  color: white;
  padding: 15px 0;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.nombre-sitio {
  text-align: center;
  margin: 0 auto;
}
.nombre-sitio span {
  color: var(--secondary-color);
}
.contenedor-navegacion {
  border-top: 1px solid #e1e1e1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  background-color: white;
}
.nav-principal {
  padding: 0.3rem 0;
  display: flex;
  justify-content: center; /*da una separacion entre cada div o elemento como el atributo gap*/
}
.nav-principal ul {
  display: flex;
  gap: 30px;
}
.iconos {
  display: flex;
  gap: 1.5rem;
}
.fa-regular,
.fa-solid {
  font-size: 1.8rem;
  color: var(--color-primary);
}
.fa-star {
  color: #ffb900;
  font-size: 1.5rem;
}
.fa-check {
  font-size: 1.2rem;
}
/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0078d4 0%, #421d7e 100%);
  color: white;
  padding: 30px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

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

.cta-button {
  background-color: #1eb31e;
  color: #000;
  border: none;
  padding: 12px 30px;
  font-size: 1.1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
  margin-bottom: 15px;
}
.cta-button-compra {
  background-color: #ffb900;
  color: #000;
  border: none;
  padding: 12px 30px;
  font-size: 1.1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
  margin-bottom: 15px;
}

.cta-button:hover {
  background-color: #179117;
}
.cta-button-compra:hover {
  background-color: #da8927;
}
.color {
  background-color: #ffb900;
}
/* Features Section */
.main-content {
  background-color: var(--color-fondo);
}
.features {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.features h2 {
  text-align: center;
  color: #0078d4;
  font-size: 2rem;
  margin-bottom: 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--primary-color);
}

.feature-card h3 {
  color: #0078d4;
  margin-top: 0;
}

/* Pricing Section */
.pricing {
  display: flex;
  gap: 5rem;
  flex-wrap: wrap;
  padding: 60px 20px;
  align-items: center;
  justify-content: center;
}

.pricing-box {
  background: white;
  max-width: 400px;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}
.office {
  background: white;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}
.office img {
  max-width: 500px;
  height: 100%;
}

.price {
  font-size: 2.5rem;
  color: #0078d4;
  font-weight: bold;
  margin: 5px 0;
}

.price span {
  font-size: 1rem;
  color: #666;
}

/* Footer - Trello Style */
.footer {
  background-color: var(--text-color);
  color: #ffffff;
  padding: 40px 20px;
  margin-top: 60px;
  font-size: 14px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
  padding: 0 15px;
  transition: 0.4s;
}
.footer-section:hover {
  background-color: #262727;
  cursor: pointer;
}
.footer-section h4 {
  color: #f0ec2f;
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-section ul {
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 8px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.767);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: #eea810;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 20px auto 0;
  padding-top: 20px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  transition: color 0.2s ease;
}

.social-icons a:hover {
  color: #fff;
}

.copyright {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.language-selector select {
  background-color: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 14px;
  cursor: pointer;
}

.language-selector select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive footer */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }

  .footer-section {
    width: 100%;
    margin-bottom: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}

/* Estilos para el modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  background-color: var(--text-color);
  margin: 10% auto;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
}
.modal-content h2 {
  color: var(--color-fondo);
  margin: 10px 0;
}
.modal-content h2:hover {
  color: var(--color-input);
}
.close {
  color: #aaa;
  position: absolute;
  right: 25px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: var(--color-input);
}

#contactForm {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#contactForm input {
  background-color: var(--text-color);
  color: var(--color-fondo);
  padding: 12px;
  border: 2px solid var(--primary-color);
  border-radius: 4px;
  font-size: 16px;
}

#contactForm button {
  background-color: var(--color-input);
  color: white;
  padding: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

#contactForm button:hover {
  background-color: #96500a;
}

/* Estilos para la galería de productos */
.product-gallery {
  display: flex;
  gap: 30px;
  padding: 20px 30px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  max-width: 600px;
}

.thumbnails {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 80px;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border: 2px solid #e1e1e1;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail.active {
  border-color: var(--primary-color);
}

.thumbnail:hover {
  border-color: var(--color-input);
}

.main-image {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-image img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
}
