/*-- GEN --*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --fontb: "Google Sans", sans-serif;
  --font2: "Young Spark", sans-serif;
  --font1: "Work Sans", sans-serif;
  --white: #fff;
  --black: #000;
  --red: #d91a2a;
}

img {
  width: 100%;
  height: auto;
}

/*-- Fonts --*/
html {
  font-family: var(--fontb);
  font-size: 100%; /* 1rem = 16px */
  overflow-x: hidden;
  width: 100%;
}

body {
  line-height: 1.6;
  color: #000;
  background-color:var(--black);
  padding-top: 80px;
  overflow-x: hidden;
  width: 100%;
}

h1,h2,h3,h4,h5,h6, p {
  font-family: var(--font1);
  margin-bottom: 1rem;
}

/*-- Header --*/
header {
    background-color: #ffffff;
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: #000;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
}

.logo {
  width: 200px;
}

/*--- Header nav --*/
.side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: black;
  transition: right 0.3s ease-in-out;
  z-index: 1050; /* Asegura que esté por encima del header */
}

.menu-icon {
  cursor: pointer;
  width: 24px;
  height: 24px;
}


.side-menu ul {
  list-style: none;
  text-align: center;
  padding: 0;
}

.side-menu ul li {
  margin: 1rem 0;
}

.side-menu ul li a {
  font-family: var(--font1);
  color: var(--white);
  text-decoration: none;
  font-size: 1.5rem;
}

.side-menu ul li a:hover{
    color:var(--red);
}

/*-- Section 1 --*/
.presentation h1 {
  font-family:var(--font2);
  font-size:3em;
}

.presentation h2 {
  font-size:1.5em;
}

.presentation img.icons {width:24px; filter:invert(17%) sepia(80%) saturate(5640%) hue-rotate(348deg) brightness(88%) contrast(92%);}

#icono-abrir, #icono-cerrar {cursor:pointer; width:24px; filter:invert(17%) sepia(80%) saturate(5640%) hue-rotate(348deg) brightness(88%) contrast(92%);}

/*-- Section 1 mov --*/
@media (max-width:475px) {
  .presentation h1 {
    width: 200px;
    font-family:var(--font1);
    font-weight: 400;
    font-size:1.2em;
    text-transform:uppercase;
    background-color:#ffffff59;
    border-radius:60px;
    margin:20px auto;
  }
}

/*-- Section 2--*/
#porque {padding:100px 0;}
.box {
  transition: transform 0.2s ease;
}
.box:hover {
  transform: translateY(-5px);
}

/*-- Section Values--*/
.values {background-color:#000; padding:40px 20px;}
.values h2 {color:var(--white); text-align: center;}
.values .values_boxes {display:grid; grid-template-columns: repeat(2, 1fr); grid-gap:20px; margin:20px 0;}
.values_boxes .box:first-child {grid-column: span 2;}
.values .values_boxes .box {background-color:var(--white); border-radius:10px; padding:5px; text-align: center;}
.values .values_boxes .box p {line-height: 1.2em; font-weight: 800;}
.values img.icons {width: 70px;}

/*-- Section Real Food --*/
.line-realfood {display:flex; flex-direction:column; background-color:#000; min-height: 450px; border:none; padding:50px 20px;}
.line-realfood h2 {color:#fff; padding:10px 0px; text-align: center; margin-bottom: 0px;}
.line-realfood p {margin:0px;}
.line-realfood img {padding:0px;}

/*-- Section Iberian & Orygo --*/
#iberian-orygo {padding:40px 0;}
.iberian-orygo__content {padding:20px 0;}
.iberian-orygo__content img {width: 250px; display:block; margin:0px auto; border-radius:20px;margin-bottom:20px;}
.iberian-orygo__content .cta {display:block; margin:0 auto;}
.iberian-orygo__content .cta a:hover {background-color:#000; color:#fff;}
.iberian-orygo__content p, ul {padding:10px; text-align: justify;}
.iberian-orygo__content li {list-style: none;}

/*-- Section contact --*/
#contacto h2 {
    font-family:var(--font2);
    font-weight: 400;
    text-align: center;
    font-size:3em;
    margin-bottom:40px;
}

input, select, textarea {
  font-family: var(--font1);
  color: #000;
  font-size: 1.2em;
  width: 100%;
  border: 1px solid #000;
  border-radius: 10px;
  padding: 5px 10px;
  margin-bottom: 1em;
}

input[type="checkbox"] {
  width: auto;
  margin:0;
}

button.send {
  width: 100%;
  font-size: 1.2em;
  background-color: var(--red);
  color: var(--white);
  margin-top:10px;
  padding: 10px 20px;
  border: 0;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

label.acepta-privacidad {
  display: flex;
  align-items: center;
  font-size: 0.9em;
  gap: 10px;
}

label.acepta-privacidad a {
  color: var(--red);
  text-decoration: underline;
}


/*-- Section Footer --*/
.prefooter {
  display:flex;
  flex-direction: column;
  text-align: center;
  line-height: 3em;
  background-color:#2b2b2b;
  padding:10px 20px;
}
.prefooter a {
  color:#fff;
  text-decoration:none;
}
.prefooter a:hover {
  color:var(--red);
}
.footer {
  background-color:#000;
  padding:25px 0px;
  text-align:center;
  line-height: 1em;
  color:#fff;
}
.footer p {
  font-size:11px;
  margin:0px;
}

/*-- Responsive Mov  --*/
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: center;
  }

  .logo {
    order: 2;
    margin: 0 auto;
    padding: 0.5rem 0;
  }

  .hamburger {
    display: block;
    position: absolute;
    left: 1rem;
    top: 0;
    z-index: 20;
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    transition: left 0.3s ease-in-out;
    z-index: 15;
  }

  .nav-menu.show {
    left: 0;
  }

  .nav-menu ul {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 0;
    list-style: none;
  }

  .nav-menu li {
    list-style: none;
  }

  .nav-menu a {
    color: #000;
    font-size: 1.5rem;
    font-weight: bold;
    border-bottom: 2px solid #000;
    padding-bottom: 0.3rem;
    text-decoration: none;
  }

  .nav-menu a:hover {
    color: var(--red);
  }

  /*-- presentation --*/
  .presentation {
  background-image: url("../img/distribuidor-alpha-spirit-asturias-mov.webp");
  background-repeat:no-repeat;
  background-size:cover;
  background-position: bottom;
  min-height:900px;
  }

}