@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100&display=swap');

@font-face {
  font-family: "rustic";
  src: url("rustic.otf") format("opentype");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', sans-serif;
}
.fas {
  font-size: 1.2em;
}

.loguito{
  display: flex;
  justify-content: center;
  grid-column: 2 / 3;
}

.navbar {
  background-color: #EDCB54;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
}
.navbar .logo {
  height: 60px;
  width: 60px;
  grid-column: 2 / 3;
}
.navbar .menu {
  grid-column: 3 / 8;
  display: flex;
}
.navbar ul li {
  margin-right: 3em;
  list-style: none;
}
.navbar ul li a {
  text-decoration: none;
  color: black;
  cursor: pointer;
}
.navbar ul li a:hover {
  color: #fff;
}
.navbar .menu-bar {
  display: none;
}
.navbar .shop {
  grid-column: 8 / 9;
  justify-content: flex-end;
}

.txtlogo {
    font-size: 40px;
    font-family: 'rustic';
    
  }

.hero {
  height: 83vh;
  background-image: linear-gradient(rgba(16, 16, 16, .8), rgba(16, 16, 16, .9)) , url('https://images.unsplash.com/photo-1493256338651-d82f7acb2b38?fm=jpg&q=60&w=3000&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTR8fGJhcmJlcnxlbnwwfHwwfHx8MA%3D%3D');
  background-size: cover;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(8, 1fr);
  position: relative;
}
.hero .info-content {
  grid-column: 7 / 10;
  grid-row: 3 / 7;
  color: #fff;
  z-index: 1;
}
.hero .info-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8em;
}
.hero .info-content h1 {
  font-weight: 900;
  font-size: 5em;
  color: #EDCB54;
}
.hero .info-content p {
  font-family: 'Montserrat', sans-serif;
}
.hero .info-content .btn {
  font-size: 1em;
  color:#fff;
  background: none;
  padding: 10px 20px;
  border-radius: 30px;
  border:1px solid#EDCB54;
  margin-top: 10px;
}
.hero .info-content .btn:hover {
  background-color: #EDCB54;
  color:#181818;
}
.radio-section {
  display: grid;
  height: 80px;
  align-items: center;
  background-color: #181818;
  color: #fff;
  grid-template-areas: 
    "listen-online follow-me social-network" 
}

.radio-section .listen-online {
  grid-template-areas: listen-online;
  display: flex;
  justify-content: center;
  background-color: #EDCB54;
  color:#181818;
  padding: 26px;
}
.radio-section .listen-online .fas {
  margin-right: 15px;
  font-size: 1.5em;
}
.redes {
  grid-template-areas: follow-me;
  text-align: center;
  font-size: 25px;
}

.radio-section .social-network {
  grid-template-areas: social-network;
}
.radio-section .social-network .fab {
  font-size: 1.4em;
  color: #EDCB54;
  margin-right: 15px;
  justify-content: flex-end;
}

.listen-online a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.listen-online h3 {
  margin: 0;
  text-decoration: none;
  margin-right: 10px;
  color: black;
}

.listen-online img {
  width: 25px;
  margin-left: auto; /* empuja la imagen a la derecha */
}

/* Sobre Nosotros */

.sobre{
  height: 600px;
  background-image: linear-gradient(rgba(16, 16, 16, .8), rgba(16, 16, 16, .9)) , url(../img/patron.jpg;
}

.titol{
  padding-top: 80px;
  font-size: 30px;
  text-align: center;
  color: #EDCB54;
  margin-bottom: 20px;
}

.divider{
  margin-top: 20px;
  background-color: #EDCB54;
  width: 50px;
  height: 3px;
  margin: 0 auto;
}

.sobre-content{
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 45px;
  gap: 20px;
}

.sobre-content img{
  display: flex;
  border-radius: 50%;
}

.sobre-content p{
  color: white;
  width: 300px;
}

/* Separacion Whatsapp */

.separacion{
  height: 240px;
  background-color: #EDCB54;
  align-items: center;
  text-align: center;
}

.separacion h2{
  padding-top: 20px;
  text-align: center;
}

.separacion h3{
  padding-top: 35px;
  text-align: center;
  font-style: italic;
}

.separacion a{
  display: inline-block;
  margin: 0 auto;
  text-align: center;
}

.separacion img{
  margin-top: 20px;
}


/* Contacto */

/* ABOUT SECTION */

.fondo{
  border-radius: 50px;
  width: 500px;
}

.fondo:hover{
  border-radius: 50px;
  width: 500px;
  filter: opacity(.8);
}

.logo{
  width: 500px;
  padding-right: -100px;
}

.logo:hover{
  filter: opacity(.6);
}

.about{
  background-image: linear-gradient(rgba(16, 16, 16, .8), rgba(16, 16, 16, .9)) , url(../img/ChriStern45.jpg);
}

.about h2 {
  display: block !important;    /* Força que ocupi tota la línia */
  width: 100% !important;       /* Ocupa el 100% de la pantalla */
  text-align: center !important;/* Força el centrat absolut */
  font-size: 2em;
  font-weight: bold;
  margin-left: auto !important; /* Centrat de marges */
  margin-right: auto !important;
  margin-bottom: .3em;
  color: #EDCB54;
  padding-top: 40px;
}

.about .divider, .products .divider {
  background-color: #EDCB54;
  width: 50px;
  height: 3px;
  margin: 0 auto;
}

.about .about-content {
  width: 100%;
  justify-content: center;
  display: grid;
  display: flex;
  align-items: center;
}

.about .about-info {
  margin: 4em;
}

.about .about-info h3 {
  text-transform: uppercase;
  margin-bottom: 1em;
}

.banner {

  background-image:
    url(../img/fondo2.jpeg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: auto;
  width: 100vw;
  max-width: 100%;
  align-items: center;
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  height: 100vh;
  display: flex;
  justify-content: center;
  color: white;
}

.contenedor {
  display: grid;
  /* Defineix 3 columnes fixes per a pantalles grans */
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px;
  padding: 20px;
  margin-bottom: 60px;
}

.item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

/* ─── AQUÍ ESTÀ EL TRUC PER A LES LÍNIES ─── */
.item:not(:last-child) {
  /* Afegeix una línia a la dreta de cada ítem, excepte a l'últim */
  border-right: 3px solid #EDCB54; /* Pots canviar el color (#ccc) pel que vulguis */
  padding-right: 20px;          /* Espai entre el text i la línia perquè no quedi enganxat */
}


/* Opcional: Para asegurarte de que las imágenes no hagan cosas raras */
.item img {
  display: block;
  object-fit: contain;
  width: 50px;
  filter: brightness(0) invert(1);
}

@media (min-width: 769px) {
  .item:not(:last-child) {
    border-right: 3px solid #EDCB54; /* Línia a la dreta */
    padding-right: 20px;          
  }
}

/* ─── RESPONSIVE SENSE LÍNIES (MÒBILS) ─── */
@media (max-width: 768px) {
  .contenedor {
    grid-template-columns: 1fr; /* Es posen un sota l'altre */
    gap: 40px; /* Un pèl més d'espai lliure entre elements perquè es vegi endreçat */
  }

  .item:not(:last-child) {
    border: none; /* Ens assegurem que no hi hagi cap vora */
    padding-bottom: 0;
  }
}

/* Opcional: Imatges */
.item img {
  display: block;
  object-fit: contain;
  width: 50px;
}

.contenedor .divider{
  background-color: #EDCB54;
  width: 3px;
  height: 50px;
  
}

.banner .rating {
  grid-column: 3 / 4;
}
.banner .rating {
  text-align: center;
}

.maps{
      width: 100vh;
    }


.banner h2 {
  font-size: 3em;
}

.secundary-info h3 {
  margin-bottom: 10px;
  font-size: 30px;
}

.contacto{
  background-image: linear-gradient(rgba(16, 16, 16, .8), rgba(16, 16, 16, .9)) , url(https://img.freepik.com/vector-premium/patron-costuras-estilo-hipster-herramientas-cortes-pelo-masculinos-impresion-peluqueria-masculina-conjunto-accesorios-peluqueria-hombres-sobre-fondo-negro_156811-482.jpg);
}


/* ==========================================================================
   CENTRAT ABSOLUT DEL TÍTOL "ON SOM?" I EL MAPA
   ========================================================================= */

/* Corregim el contenidor de la secció del mapa */
body .banner {
  display: flex !important;
  flex-direction: column !important; /* Posem els elements un sota de l'altre */
  align-items: center !important;    /* Centra el títol i el mapa a la pantalla */
  justify-content: center !important;
  height: auto !important;           /* Deixem que s'adapti al contingut */
  padding: 60px 20px !important; 
  margin-bottom: 100px;    /* Un bon espaiat a dalt i a baix */
}

/* Forcem el div intern a ocupar tot l'espai i centrar el text */
body .secundary-info {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;    /* Força que l'iframe del mapa es centri */
  text-align: center !important;     /* Força que el text de l'H2 es centri */
}

/* Assegurem que l'H2 de "On som?" es quedi clavat al mig */
body .secundary-info h2 {
  text-align: center !important;
  display: block !important;
  width: 100% !important;
  color: #EDCB54 !important;
  font-size: 3em;
  margin-bottom: 20px !important;    /* Espai entre el títol i el mapa */
}

/* Fem que el mapa sigui responsiu i es vegi bé a tot arreu */
body .maps {
  max-width: 100% !important;        /* Evita que el mapa surti de la pantalla en mòbils */
  border-radius: 15px !important;    /* Un toc estètic amb les vores arrodonides, a joc amb la web */
}