@import url('fonts.css');

/* Reset y base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Gothic';
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #d7d0c6;
  overflow-x: hidden;
}

body p.textos{
	font-family: 'Gothic';
	padding: 50px;
}

body.contact{
      background-image: url('img/contactbg.png');
      background-size: cover;       /* Asegura que la imagen cubra todo el fondo */
      background-position: center;  /* Centra la imagen */
      background-repeat: no-repeat; /* Evita que se repita */
}

body.novedades{
	background-image:  url("img/moodboardsback.jpg");
}

html{
	scroll-behavior: smooth;
}

/* Cabecera */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background-color: rgba(255, 255, 255, 0.3);
  color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(4px);
  z-index: 1000;
  padding: 0 20px;
}

/* Para el contenedor superior derecho */
.header-top-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;  /* Espacio entre los elementos */
  position: absolute;
  top: 10px; /* Para que esté en la parte superior */
  right: 20px; /* Alineación a la derecha */
  z-index: 1000;
}

.language-switch a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  margin-left: 5px;
}

.language-switch a:hover {
  text-decoration: underline;
}

.header-social {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  margin-left: 25px;
}

.logo img {
  height: 80px;
}

/* Botón hamburguesa */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: black;
  cursor: pointer;
}

/* Navegación */
.site-nav {
  flex-grow: 1;
  display: flex;
  align-items: flex-end;
  height: 100%;
  margin-right: 0;
}

.site-nav ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.site-nav li {
  flex: 1;
  text-align: center;
}

.site-nav a {
  display: block;
  padding: 10px 0;
  text-decoration: none;
  color: black;
  transition: background 0.3s;
}

.site-nav a.active{
  font-family: 'GothicB';
}

.site-nav a:hover {
  /*background-color: rgba(0, 0, 0, 0.1);*/
  font-family: 'GothicB';
}

/* Hero Section */
.hero-section {
  font-family: 'Didot';
  height: 100vh;
  background: no-repeat center center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-top: 0;
  transition: opacity 0.8s ease-in-out;
  /* inicialmente opacidad 1, y luego cambiaremos a 0 para hacer el fade */
}

.hero-section h1{
	font-family: font-family: 'Didot';
}

.hero-section-product {
  position: relative;
  height: 400px; /* ajusta según tu diseño */
  background: url('img/hero-bg.jpg') center/cover no-repeat; /* opcional si tienes una imagen */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease-in-out;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dot {
  height: 12px;
  width: 12px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
  background-color: white;
}


.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: white;
  background-color: rgba(0,0,0,0);
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
  transition-duration: 200ms;
}

.left-arrow {
  left: 20px;
}

.right-arrow {
  right: 20px;
}

.arrow:hover {
  font-size: 4rem;
  transition-duration: 200ms;
  color: grey;
  /*background-color: rgba(0,0,0,0.7);*/
}


.hero-section h1 {
  font-size: 7rem;
  color: white;
  opacity: 0.7;
  font-family: 'Didot';
  /*text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);*/
  cursor: pointer;
}

.hero-subtitle {
  position: absolute;
  bottom: 20px;
  right: 30px;
  color: white;
  font-size: 3rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}


/* Contenido principal */
main {
  font-family: 'Didot';
  flex: 1;
  padding-top: 140px; /*Utilizamos el padding para que los títulos no estén detrás de la cabecera.*/
  min-height: calc(100vh - 100px - 150px); /*Ajustamos el tamaño mínimo del main al tamaño de la ventana. Restamos la altura del pie.*/
  /*background-color: #d7d0c6;*/
}

.main-content {
  text-align: center;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.main-content h2.novedades{
	
}

.main-content p.ruta{
	width: 100%;
	/*border:solid red thin;*/
	padding-left: 40px;
	text-align: left;
	font-size: 0.75rem;
	font-family: 'Gothic';
	color: black;
	margin-top: -15px;
	margin-bottom: 45px;
	text-shadow: none;
}

.main-content p.ruta a{
	font-family: 'Gothic';
	color: black;
	text-decoration: none;
	margin-bottom: 30px;
	margin-right: 5px;
	margin-left: 5px;
}

.main-content p.ruta a:hover{
	text-decoration: underline;
}

.main-content-moodboards {
  text-align: center;
  /*margin-top: -140px; /*Compensamos los 140px de main para evitar el espacio entre las imágenes y hero section*/
  margin-bottom: 150px;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
  /*background-image: url("img/moodboardsback.png"); /*Colocamos el fondo en body para evitar cortes por los padding. */
  background-position: center;
  background-repeat: repeat-y;
  background-size: cover;
}

.main-content-moodboards a{
	display: block;
    height: auto;
	width: auto;
}

.main-content-moodboards img{
    width: 100%;
    height: auto;
    object-fit: cover; /* Asegura que la imagen cubra sin deformarse */
    display: block;
}

.main-content h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2rem;
  color: #333;
  text-shadow: none;
}

/* Pie de página */
.site-footer {
  background-color: rgba(255, 255, 255, 0.3);
  color: black;
  text-align: center;
  padding: 8px;
  font-size: 0.75em;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-sections {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
}

.footer-col {
  flex: 1 1 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 80px;
  margin-bottom: 0px;
}

.footer-col a {
  font-size: 1em;
  text-decoration: none;
  color: black;
  line-height: 1.2;
}

.footer-col a:hover {
  color: #000;
  text-decoration: underline;
}

.footer-image {
  height: 45px;
  object-fit: contain;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 2px 0;
}

.social-icon {
  height: 16px;
  width: 16px;
  object-fit: contain;
}

.copyright {
  font-size: 0.9em;
  margin: 0;
  line-height: 1.1;
}

/*RESPONSIVE*/
@media (max-width: 768px) {
  .site-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: auto;
    padding: 10px 15px;
    position: absolute;
    z-index: 1000;
	background-color: rgba(255, 255, 255, 0.3);
  }

  .logo {
    display: flex;
    align-items: center;
    margin: 0;
  }

  .logo img {
    height: 60px;
  }

  .hamburger {
    display: block;
    position: absolute;
    top: 40px; /* debajo de iconos sociales */
    right: 15px;
    margin: 0;
    background: none;
    border: none;
    font-size: 2rem;
    color: black;
    cursor: pointer;
    z-index: 900;
  }

  .header-top-right {
    position: absolute;
    top: 10px;
    right: 15px;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 5px;
    margin: 0;
    z-index: 1001;
  }

  .header-social {
    display: flex;
    gap: 8px;
  }

  .language-switch {
    display: flex;
    gap: 5px;
  }

  .hero-section h1{
	font-size: 3rem;
  }
	
  .site-nav {
    width: 100%;
    align-items: center;
    flex-direction: column;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 10px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
  }

  .site-nav ul.active {
    max-height: 500px;
    opacity: 1;
  }

  .site-nav li {
    width: 100%;
  }

  .site-nav a {
    padding: 12px;
  }

  /* HERO FIX */
  main {
    padding-top: 0; /* Quitamos padding que empujaba la hero */
  }

  .hero-section {
    margin-top: 0;
  }

  .main-content-moodboards {
    margin-top: 0;
  }
	
  /* FOOTER */
  .site-footer {
    min-height: auto;
    padding: 12px;
  }

  .footer-sections {
    flex-direction: column;
    align-items: center;
  }

  .footer-col {
    width: 100%;
    margin-bottom: 0px;
  }

  .footer-social {
    margin: 6px 0;
  }
}

