/* BODY + MAIN */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  color: #111;
}

main {
  flex: 1;
  padding: 40px;
}

/* BREADCRUMB MENU */
.breadcrumb-menu {
  display: flex;
  justify-content: flex-end; 
  gap: 5px;
  margin: 20px 40px 0 40px;
  font-weight: 500;
  font-size: 0.95rem;
}

.breadcrumb-menu a {
  text-decoration: none;
  color: #111;
}

.breadcrumb-menu a:hover {
  color: #ff4500;
}

/* CONTENIDO ALINEADO DERECHA */
.align-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  max-width: 600px;
}

/* CAROUSEL */
.carousel {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-img {
  width: 100%;
  display: none;
  border-radius: 6px;
}

.carousel-img.active {
  display: block;
}

#prev, #next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #eee;
  border: none;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
}

#prev { left: 10px; }
#next { right: 10px; }

/* ABOUT - FOTO ENCIMA DEL TEXTO Y CENTRADO */
.about {
  display: flex;           /* columna vertical */
  flex-direction: column;  /* imagen encima del texto */
  align-items: center;     /* centrar horizontalmente */
  text-align: center;      /* centrar texto */
  gap: 20px;               /* espacio entre foto y texto */
}

.about-photo {
  max-width: 400px;  /* más grande */
  width: 100%;       /* que escale si la pantalla es pequeña */
  border-radius: 6px;
}

.about-text {
  max-width: 700px;  /* evita que el texto quede demasiado ancho */
  line-height: 1.6;
}

/* CONTACT */
.contact {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact input, .contact textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact button {
  padding: 10px 20px;
  border: none;
  background: #111;
  color: #eee;
  cursor: pointer;
}

.contact button:hover {
  background: #ff4500;
}

/* FOOTER OSCURO - ESTÁTICO */
.site-footer {
  background: #111;
  color: #eee;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: center;
  font-size: 0.9rem;
}

.footer-left img { max-width: 140px; }

.footer-center { text-align: center; line-height: 1.8; }

.footer-center a { color: #eee; text-decoration: none; }

.footer-center a:hover { text-decoration: underline; }

.footer-right { text-align: right; display: flex; flex-direction: column; gap: 10px; }

.footer-right svg { width: 28px; height: 28px; stroke: #eee; transition: stroke 0.3s; }

.footer-right svg:hover { stroke: #ff4500; }

#lang-toggle {
  margin-top: 15px;
  background: none;
  border: 1px solid #eee;
  color: #eee;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 0.85rem;
}

/* FOOTER MOBILE */
@media (max-width: 900px) {
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .footer-right { text-align: center; flex-direction: row; justify-content: center; gap: 20px; margin-top: 15px; }
  .about { flex-direction: column; align-items: center; }
  .align-right { align-items: center; text-align: center; max-width: 100%; }
}
