/*
 * Portada: cabecera a pantalla completa y bloques de la home.
 *
 * Estaba en un <style> en linea en templates/layouts/master.html.twig. La ruta
 * de la imagen se escribia con asset(), pero public/assets/ queda fuera de
 * AssetMapper y devuelve siempre la misma ruta, asi que puede ir fija aqui.
 */

/* Hero Section Styles */
.hero {
  width: 100%;
  height: 100vh;
  background: url("/assets/img/products/cercado-malla-ganadera-montesfafer.jpg") top center;
  background-size: cover;
  position: relative;
  padding: 0;
}
.hero::before {
  content: "";
  background: rgba(0, 123, 255, 0.8);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero h1 {
  margin: 0 0 10px 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  color: #fff;
  font-family: "Raleway", "Segoe UI", system-ui, sans-serif;
}
.hero .hero-subtitulo {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 50px;
  font-size: 24px;
  font-weight: 400;
}
.hero .btn-get-started {
  font-family: "Raleway", "Segoe UI", system-ui, sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 30px;
  border-radius: 50px;
  transition: 0.5s;
  color: #007bff;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(0, 123, 255, 0.3);
}
.hero .btn-get-started:hover {
  background: #f8f9fa;
  color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 123, 255, 0.4);
}
.hero .hero-img {
  text-align: center;
}
.hero .hero-img img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 28px;
    line-height: 36px;
  }
  .hero .hero-subtitulo {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}

/* Estilos para footer con tiras diagonales */
.footer-diagonal-stripes {
  position: relative;
  overflow: hidden;
}

.footer-diagonal-stripes::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(45deg, rgba(0, 123, 255, 0.1) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0, 123, 255, 0.1) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(0, 86, 179, 0.1) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(0, 86, 179, 0.1) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  z-index: 1;
}

.footer-diagonal-stripes .footer-content {
  position: relative;
  z-index: 2;
}

.footer-diagonal-stripes .copyright-section {
  position: relative;
  overflow: hidden;
}

.footer-diagonal-stripes .copyright-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.03) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.03) 75%);
  background-size: 15px 15px;
  background-position: 0 0, 0 7.5px, 7.5px -7.5px, -7.5px 0px;
  z-index: 1;
}

.footer-diagonal-stripes .copyright-section .copyright-content {
  position: relative;
  z-index: 2;
}
