/* ======== ESTILO GENERAL ARCARDIA ======== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #f7f5f2;
  color: #3b3b3b;
  scroll-behavior: smooth;
}

/* ======== ENCABEZADO ======== */
header {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.8em;
  letter-spacing: 3px;
  font-weight: 700;
  color: #7b6a58;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #3b3b3b;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover,
nav a.activo {
  color: #7b6a58;
}

/* ======== HERO ======== */
.hero {
  background: url('inicio.jpg') center/contain no-repeat;
  background-color: #fff; /* color de fondo si hay espacios */
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.4);
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero h1 {
  font-size: 2.8em;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 25px;
}

.btn {
  background-color: #7b6a58;
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #a08972;
}

/* ======== SECCIONES ======== */
.descripcion {
  padding: 60px 15%;
  background-color: #fff;
}

.descripcion h2 {
  color: #7b6a58;
  font-size: 1.8em;
  margin-top: 30px;
}

.descripcion h3 {
  color: #a08972;
  margin-top: 15px;
}

.descripcion p {
  margin-top: 10px;
  line-height: 1.7;
}

.link-externo {
  display: inline-block;
  margin-top: 20px;
  color: #7b6a58;
  text-decoration: underline;
}

/* ======== FORMULARIO ======== */
.formulario {
  background-color: #f3eee8;
  padding: 60px 15%;
  text-align: center;
}

.formulario h2 {
  color: #7b6a58;
  font-size: 1.8em;
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: 0 auto;
}

label {
  text-align: left;
  margin: 10px 0 5px;
  color: #3b3b3b;
}

input, select {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 15px;
}

button {
  background-color: #7b6a58;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 25px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: #a08972;
}

.mensaje {
  margin-top: 15px;
  color: #7b6a58;
  font-weight: bold;
}

/* ======== COLECCIÓN DE PRODUCTOS ======== */
.coleccion {
  padding: 60px 10%;
  text-align: center;
}

.coleccion h1 {
  font-size: 2.2em;
  color: #7b6a58;
  margin-bottom: 15px;
}

.coleccion p {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #3b3b3b;
}

.grid-productos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.producto {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 20px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.producto:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.producto img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
  object-fit: cover;
  height: 250px;
  background-color: #e8e6e4;
}

.producto h2 {
  color: #7b6a58;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.producto p {
  font-size: 0.95em;
  color: #3b3b3b;
  margin-bottom: 10px;
  line-height: 1.5;
  min-height: 80px;
}

.precio {
  font-weight: bold;
  color: #a08972;
  font-size: 1.1em;
}

.btn-producto {
  display: inline-block;
  margin-top: 10px;
  background-color: #7b6a58;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-producto:hover {
  background-color: #a08972;
}

/* ======== FOOTER ======== */
footer {
  background-color: #fff;
  text-align: center;
  padding: 30px 15px;
  border-top: 1px solid #e0e0e0;
  font-size: 0.9em;
}

footer h3 {
  color: #7b6a58;
  margin-bottom: 10px;
}

footer a {
  color: #7b6a58;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ======== RESPONSIVE ======== */
@media (max-width: 768px) {
  nav a {
    margin: 0 8px;
    font-size: 0.9em;
  }

  .hero h1 {
    font-size: 2em;
  }

  .descripcion, .formulario {
    padding: 40px 8%;
  }

  .coleccion {
    padding: 40px 5%;
  }

  .producto img {
    height: 200px;
  }
}
