/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fondo degradado */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #fff;
  line-height: 1.6;
  background: linear-gradient(180deg, #000 0%, #333 100%);
  min-height: 100vh;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Header */
.site-header {
  background: rgba(0,0,0,0.9);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.site-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.site-nav a:hover {
  color: #ff9900;
}

/* Hero */
.hero {
  height: 90vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  transition: background-image 0.8s ease-in-out;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

.hero p {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

/* Botones */
.btn-primary {
  background: #ff9900;
  color: #111;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: #e68a00;
}

/* Secciones */
.section-title {
  text-align: center;
  font-size: 2rem;
  margin: 3rem 0 2rem;
  color: #ff9900;
}

/* Producto */
.productos {
  padding: 2rem 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: #111;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.6);
}

.card img {
  max-width: 100%;
  border-radius: 6px;
}

.producto-desc {
  margin-top: 1.5rem;
  text-align: center;
  color: #ddd;
}

/* Sobre */
.sobre {
  padding: 4rem 1rem;
  background: #222;
  text-align: center;
}

/* Contacto */
.contacto {
  padding: 4rem 1rem;
}

.contacto form {
  display: grid;
  gap: 1rem;
  max-width: 600px;
  margin: auto;
}

.contacto input,
.contacto textarea {
  padding: 0.8rem;
  border: none;
  border-radius: 4px;
  width: 100%;
}

.contacto button {
  justify-self: start;
}

/* Footer */
.site-footer {
  background: #000;
  color: #888;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}
.logo img {
  height: 50px; /* ajustá el tamaño */
}
/* Sección principal con dos columnas */
.principal {
  display: flex;
  width: 100%;
  height: 90vh; /* ocupa casi toda la pantalla */
  overflow: hidden;
}

/* Columna izquierda (40%) */
.productos-carousel {
  position: relative;
  width: 40%;
  background: #111; /* fondo oscuro por si carga lento */
}

.productos-carousel img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain; /* ajusta sin recortar el producto */
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.productos-carousel img.active {
  opacity: 1;
}

/* Columna derecha (60%) */
.imagen-fija {
  width: 60%;
}

.imagen-fija img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}