/* Estilos generales */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #716853;
  color: #333;
}

/* Header */
header {
  background-color: #5C2300;
  padding: 20px;
  position: relative;
}

.logo {
  width:100px;
  position: absolute;
  top: 14px;
  left: 20px;
  
}

.correosventas {
  color: #fff;
  position: absolute;
  top: 20px;
  right: 20px;
  font-weight: bold;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  margin: 0;
  padding-top: 60px;
}

nav ul li {
  background: #5C2300;
  padding: 10px 20px;
  margin: 0 5px;
  transition: all 0.3s ease;
  border-radius: 5px;
}

nav ul li:hover {
  background: #f7f7f7;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
  font-weight: bold;
}

nav ul li a:hover {
  color: #4655cb;
}

/* Hero Section */
.hero {
  background: url('img/cafe.jpg') no-repeat center center;
  background-size: cover;
  color: #fff;
  padding: 0;
  height: 100vh;
  min-height: 500px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero h1, .hero .btn {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  margin: 0 0 30px 0;
  padding: 0 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  max-width: 800px;
}

.hero .btn {
  background-color: #5C2300;
  padding: 15px 60px;
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  border-radius: 5px;
  margin-top: 20px;
  transition: all 0.3s ease;
  font-weight: bold;
  border: 2px solid #000;
}

.hero .btn:hover {
  background-color: #000;
  color: #f7ad01;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Secciones generales */
.section-container {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-container h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #f7ad01;
  margin-bottom: 40px;
  position: relative;
}

.section-container h2::after {
  content: '';
  display: block;
  width: 100px;
  height: 3px;
  background: #4655cb;
  margin: 15px auto;
}

/* Servicios */
.services-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.service-item-flex {
  background-color: #fffaef;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  transition: all 0.3s ease;
}

.service-item-flex:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-item-flex .text {
  flex: 1;
  min-width: 300px;
  padding: 30px;
}

.service-item-flex .text h3 {
  color: #4655cb;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.service-item-flex .text p {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.6;
}

.service-item-flex .images {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  background-color: #f7f7f7;
}

.service-item-flex .images img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  border: 3px solid #f7ad01;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-item-flex .images img:hover {
  width: 200px;
  height: 200px;
  border-radius: 8px;
  transform: scale(1.1);
  z-index: 10;
  border-color: #4655cb;
}

/* Sobre Nosotros */
.about-section {
  background-color: #fffaef;
}

.about-wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content {
  padding: 20px;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

/* Contacto */
form {
  max-width: 600px;
  margin: 0 auto;
  background-color: #fffaef;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #4655cb;
}

form input, form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

form textarea {
  height: 150px;
  resize: vertical;
}

form button {
  background-color: #f7ad01;
  color: #000;
  border: none;
  padding: 12px 30px;
  font-size: 1.1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
}

form button:hover {
  background-color: #4655cb;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 60px;
}

/* Responsive */
@media (max-width: 968px) {
  nav ul {
    flex-direction: column;
    padding-top: 100px;
  }
  
  .correosventas {
    position: static;
    text-align: center;
    margin: 10px 0;
  }
  
  .logo {
    position: static;
    display: block;
    margin: 0 auto 20px auto;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero .btn {
    padding: 12px 40px;
    font-size: 1.2rem;
  }
  
  .service-item-flex .images img {
    width: 120px;
    height: 120px;
  }
  
  .service-item-flex .images img:hover {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 768px) {
  .service-item-flex {
    flex-direction: column;
  }
  
  .service-item-flex .text,
  .service-item-flex .images {
    min-width: 100%;
  }
  
  .service-item-flex .images {
    padding: 20px 10px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero .btn {
    padding: 10px 30px;
    font-size: 1rem;
  }
  
  .section-container h2 {
    font-size: 2rem;
  }
  
  .service-item-flex .text h3 {
    font-size: 1.5rem;
  }
  
  .service-item-flex .text p {
    font-size: 1rem;
  }
  
  .service-item-flex .images img {
    width: 100px;
    height: 100px;
  margin: 5px;
  border-width: 2px;
  }
  
  .service-item-flex .images img:hover {
    width: 130px;
    height: 130px;
  }
}