
/* ===== Reset básico ===== */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0; 
  padding: 0; 
  color: #333;
}

h1, h2, h3 {
  font-weight: 800;
}

p {
  font-weight: 300;
}

/* ===== Header de navegación ===== */
/* Header transparente inicial */
/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;           /* evita sorpresas con padding */
  background: transparent;
  color: white;
  display: flex;
  justify-content: space-between;   /* logo a la izq, menú ocupa su bloque */
  align-items: center;
  padding: 15px 24px;               /* reduce padding lateral para dar aire */
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Navbar al hacer scroll */
.navbar.scrolled {
  background: #333333c3;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px; /* espacio entre imagen y texto */
}

.logo img {
  height: 40px; /* ajusta tamaño del logo */
  width: auto;
}

.logo span {
  font-size: 1.5rem;
  font-weight: bold;
  color: #c49b63; /* tono dorado café */
  font-family: 'Poppins', sans-serif;
}


/* Menú */
.nav-links {
  display: flex;
  flex-wrap: wrap;                  /* si no cabe, baja a otra línea */
  justify-content: flex-start;      /* alinea a la izquierda */
  gap: 20px;
  /* IMPORTANTE: quitar margin-left:auto para que no se pegue a la derecha */
}

/* Ítems */
.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #c49b63;
}


/* ===== Hero principal ===== */
.hero {
  background: url('../img/hero-cafe-gfk.jpg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* centrado vertical */
  align-items: flex-start;   /* contenido alineado a la izquierda */
  color: white;
  text-shadow: 2px 2px 4px #000;
  padding-left: 60px;        /* margen interno */
}

.hero h1 {
  font-size: 3rem;
  text-align: left;
}

.hero button {
  margin-top: 20px;
  padding: 10px 20px;
  background: #c49b63;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 1rem;
  align-self: flex-start;    /* botón alineado a la izquierda */
}

/* ===== Especialidades ===== */
.productos {
  padding: 80px;
  text-align: center;
}

.grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  width: 340px;
  text-align: center;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.card img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
}

.card h3 {
  margin: 10px 0 5px;
}

.card p {
  font-size: 0.9rem;
  color: #555;
}

/* ===== Sobre nosotros ===== */
.about {
  background: url('../img/about-us-gfk.jpg') no-repeat center center/cover;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  text-shadow: 2px 2px 4px #000;
  background-attachment: fixed; /* efecto parallax */
}

.about-content {
  background: rgba(0,0,0,0.5);
  padding: 20px 40px;
  border-radius: 8px;
}

/* ===== Galería Café (carrusel auto-scroll) ===== */
.galeria-cafe {
  padding: 40px 20px;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.carousel {
  display: flex;
  width: max-content;
  animation: scroll 20s linear infinite;
}

.slide {
  min-width: 250px;
  margin: 0 10px;
}

.slide img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* ajusta según cantidad de imágenes */
}

/* ===== Horarios y Ubicación ===== */
.horarios-ubicacion {
  padding: 40px 20px;
  background: #f4f4f4;
}

.horarios-ubicacion h2 {
  text-align: center;
  margin-bottom: 30px;
}

.info {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.horarios {
  flex: 1;
  text-align: left;
  font-size: 1rem;
}

.horarios i {
  font-size: 1.5rem;
  color: #c49b63;
  margin-right: 8px;
}

.map-container {
  flex: 1;
  border: 2px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
}

/* ===== Tira de imágenes =====*/
.coffee-strip {
  display: flex;
  flex-wrap: nowrap;     /* todas en una sola línea */
  gap: 0;                /* sin espacio entre imágenes */
}

.coffee-item {
  position: relative;
  flex: 0 0 auto;
  width: 358px;          /* tamaño cuadrado fijo */
  height: 358px;
  overflow: hidden;
}

.coffee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* recorta para que quede cuadrada */
  display: block;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.coffee-item:hover .overlay {
  opacity: 1;
}

.overlay a {
  color: #fff;
  font-size: 2rem;
  transition: transform 0.3s ease;
}

.overlay a:hover {
  color: #c49b63; /* tono dorado café */
  transform: scale(1.2);
}

/* ===== Sección de contacto ===== */

.contact-section {
  padding: 60px 40px;
  background: #f9f9f9;
  color: #333;
}

.contact-section h2 {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  margin-bottom: 10px;
  color: #c49b63;
}

.contact-section p {
  text-align: center;
  margin-bottom: 40px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.contact-form, .contact-info {
  flex: 1 1 300px;
  max-width: 500px;
}

.contact-form label {
  display: block;
  margin: 10px 0 5px;
  font-weight: 600;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
}

.contact-form button {
  margin-top: 15px;
  padding: 12px 20px;
  background: #c49b63;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #a67c52;
}

.contact-info h3 {
  margin-bottom: 15px;
  color: #c49b63;
}

.contact-info p {
  margin: 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}


/* ===== Footer ===== */
footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 20px;
}

.social-icons {
  margin-top: 10px;
}

.social-icons a {
  color: white;
  margin: 0 10px;
  font-size: 1.5rem;
  text-decoration: none;
}

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