@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&display=swap');

:root {
  --verde: #6D6D52;
  --crema: #e1e0d6;
  --blanco: #ffffff;
  --oscuro: #2c2c24;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Nunito', sans-serif; }

body { background-color: var(--verde); overflow-x: hidden; }

/* =========================================
   HEADER UNIFICADO ESTILO LIMPIO
   ========================================= */
.header {
  background-image: url("../img/madera_grande.jpg");
  background-size: cover;
  background-position: center;
  height: 90px; /* Altura unificada */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10%;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .logo img {
  height: 180px; /* Tamaño más uniforme */
  width: auto;
  transition: transform 0.3s;
}

.header .logo img:hover {
  transform: scale(1.05);
}

.header .nav-links {
  list-style: none;
}

.header .nav-links li {
  display: inline-block;
  padding: 0 20px;
}

.header .nav-links a {
  font-weight: 700;
  color: black;
  text-decoration: none;
  font-size: 20px;
}

.header .nav-links li a:hover {
  color: var(--verde);
  transform: scale(1.05);
  transition: 0.3s;
}

/* Hamburguesa móvil */
.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: black;
}
/* Hero Catas */
.hero-catas {
  height: 50vh;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/cata2.JPG') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-catas h1 { font-size: 3.5rem; text-transform: uppercase; letter-spacing: 3px; }

/* Split Sections */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 550px;
  background-color: var(--crema);
}

.split-section.reversed .split-image { order: 2; }
.split-section.reversed .split-text { order: 1; }

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

.split-text {
  padding: 8% 10%;
  color: var(--oscuro);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.subtitle { color: var(--verde); font-weight: bold; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 2px; }
.split-text h2 { font-size: 2.8rem; margin: 1rem 0; line-height: 1.1; }
.split-text p { margin-bottom: 1.2rem; line-height: 1.7; font-size: 1.1rem; }

/* Estilo para los items de catas */
.experiencia-item h3 { font-size: 1.8rem; color: var(--verde); margin-bottom: 0.5rem; }
.separator { border: 0; height: 1px; background: rgba(0,0,0,0.1); margin: 2rem 0; }

/* Footer */
.contacto-section {
  background-image: url("../img/madera_grande.jpg");
  background-size: cover;
  padding: 80px 20px;
  text-align: center;
}

.contacto-section h2 { font-size: 2.2rem; color: black; }
.contacto-icons a { font-size: 2.5rem; color: black; margin: 0 15px; transition: 0.3s; }
.contacto-icons a:hover { color: var(--verde); transform: scale(1.2); }

/* Hamburguesa móvil */
.hamburger { display: none; font-size: 1.8rem; cursor: pointer; color: black; }

/* Responsive */
@media (max-width: 768px) {
  .split-section { grid-template-columns: 1fr; min-height: auto; }
  .split-section.reversed .split-image { order: 1; }
  .split-section.reversed .split-text { order: 2; }
  .split-image { height: 350px; }
  .hero-catas h1 { font-size: 2.5rem; }
  .header .nav-links {
    display: none; flex-direction: column; position: absolute; top: 90px; right: 0; 
    width: 250px; background: rgba(255,255,255,0.98); padding: 2rem;
  }
  .header .nav-links.active { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 85px; right: 0; width: 250px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    height: 40rem;
    gap: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active { display: flex; }
  
  .nav-links a { color: black; font-size: 1.2rem; display: block; }

  .hamburger { display: block; font-size: 1.8rem; cursor: pointer; color: black; }

}