:root {
	--fontSizeBannerTitle: 160px;
	--fontSizeBannerSubtitle: 55px;
	--fontSizeBannerSubtitle2: 40px;
	--fontSizeS: 18px;
	--fontSizeM: 22px;
	--fontSizeL: 28px;
	--fontSizeXL: 34px;
}

@media (min-width: 1200px) and (max-width: 1400px) {
	:root {
		--fontSizeBannerTitle: 40px;
		--fontSizeBannerSubtitle: 55px;
		--fontSizeBannerSubtitle2: 40px;
		--fontSizeS: 18px;
		--fontSizeM: 22px;
		--fontSizeL: 28px;
		--fontSizeXL: 34px;
	}
	
}

@media (max-width:1024px) {
	:root {
		--fontSizeBannerTitle: 40px;
		--fontSizeBannerSubtitle: 30px;
		--fontSizeBannerSubtitle2: 20px;
		--fontSizeS: 16px;
		--fontSizeM: 20px;
		--fontSizeL: 24px;
		--fontSizeXL: 28x;
	}

}

div.link-v2 {
	font-size: var(--fontSizeS);
	font-family: Ubuntu;
	display: block;
	padding: 20px;
	padding-bottom:10px;
	text-decoration:none;
	color: #ff0000;
	height:100%;
	transition: color 0.3s;
}

div.link-v2:hover {
	color: #000;
	transition: color 1s;
}

a.link-v2 {
	font-size: var(--fontSizeS);
	font-family: Ubuntu;
	display: block;
	padding: 20px;
	padding-bottom:10px;
	text-decoration:none;
	color: #ff0000;
	height:100%;
	transition: color 0.3s;
}

a.link-v2:hover {
	color: #000;
	transition: color 1s;
}


a.nav-option-v2 {
	font-size: var(--fontSizeS);
	font-family: Ubuntu;
	display: block;
	padding: 20px;
	padding-bottom:10px;
	text-decoration:none;
	color: #fff;
	height:100%;
	transition: color 0.3s;
}

a.nav-option-v2.active {
	display: block;
	text-decoration:none;
	color:#ff0000;

}

a.nav-option-v2:hover {
	color: #ff0000;
	transition: color 1s;
}


.font-title-v2 {
	font-size: var(--fontSizeBannerTitle);
	line-height:80%;
	font-family: Teko;
	font-weight:600;
	color:#fff;
}

.font-subtitle-v2 {
	font-size: var(--fontSizeBannerSubtitle);
	line-height:80%;
	font-family: Teko;
	letter-spacing: 2px;
	font-weight:400;
	color:#fff;
}

.font-subtitle2-v2 {
	font-size: var(--fontSizeBannerSubtitle2);
	line-height:80%;
	font-family: Teko;
	letter-spacing: 2px;
	font-weight:300;
	color:#fff;
}


.banner-text {
    position: absolute;
    left: 20%;
    top: 30%;
    transform: translateY(-0%);
    display: flex;
    flex-direction: column;
    gap: 20px;
	border-radius: 50%;;
    z-index: 2;
}

@media (max-width:1024px) {
	.banner-text {
		position: absolute;
		left: 15%;
		top: 18%;
		transform: translateY(-0%);
		display: flex;
		flex-direction: column;
		gap: 20px;
		border-radius: 50%;;
		z-index: 2;
	}

}


.btn-provar {
	border-radius:30px;
	border: 2px solid #fff;
	color:#fff;
	padding:10px 20px 10px 20px;
	background-color:rgba(0,0,0,0.7);
	font-size: var(--fontSizeM);
	font-family: Ubuntu;
}

.btn-provar:hover {
	color:#fff;
	background-color:#ff0000;
	transition: all 0.6s;
}

@media (max-width:1024px) {
	.btn-provar {
		border-radius:30px;
		border: 2px solid #fff;
		color:#fff;
		padding:10px 20px 10px 20px;
		background-color:rgba(0,0,0,0.7);
		font-size: var(--fontSizeS);
		font-family: Ubuntu;
	}
}

.btn-apuntar {
	border-radius:30px;
	border: 2px solid #fff;
	background-color:rgba(255,0,0,0.75);
	color:#fff;
	padding:10px 20px 10px 20px;
	font-size: var(--fontSizeM);
	font-family: Ubuntu;
}

.btn-apuntar:hover {
	color:#fff;
	background-color:#ff0000;
	transition: all 0.6s;
}

@media (max-width:1024px) {
	.btn-apuntar {
		border-radius:30px;
		border: 2px solid #fff;
		background-color:rgba(255,0,0,0.75);
		color:#fff;
		padding:10px 20px 10px 20px;
		font-size: var(--fontSizeS);
		font-family: Ubuntu;
		}

}


.news-v2 {
	float:left;
	border:2px solid #fff;
}

.news-v2:hover {
	border:2px solid #ff0000;
	transition: all 0.6s;
}

/* Contenedor iconos */
.social-icons {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
	border-radius: 50%;;
    z-index: 2;
}

@media (max-width:1024px) {
	.social-icons {
		position: absolute;
		left: 30px;
		top: 100px;
		transform: translateY(0%);
		display: flex;
		flex-direction: column;
		gap: 0px;
		border-radius: 50%;;
		z-index: 2;
	}
	
	

}



/* Estilo iconos */
.social-icons a {
    color: white;
    font-size: 22px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
	color:#fff;
	border-radius: 50%;;
    justify-content: center;
    transition: all 0.3s ease;
	text-decoration:none;

}

/* Hover efecto deportivo */
.social-icons a:hover {
    background: #000; /* puedes poner color corporativo */
    border-color: #000;
	color:#ff0000;
	border-radius: 50%;;
    transform: scale(1.1);
}

.social-icon {
    color: white;
    font-size: 22px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
	color:#fff;
	border-radius: 50%;;
    justify-content: center;
    transition: all 0.3s ease;
	text-decoration:none;

}

/* Hover efecto deportivo */
.social-icon:hover {
    background: #000; /* puedes poner color corporativo */
    border-color: #000;
	color:#ff0000;
	border-radius: 50%;;
    transform: scale(1.1);
}

.hero-image {
    position: relative;
    width: 100%;
    max-height: 600px;
    overflow: hidden;
}


.imagen-container {
  position: relative;
  width: 100%;
}

.imagen-container img {
  width: 100%;
  display: block;
}

.imagen-container::after {
  content: "";
  position: absolute;
  inset: 0;
  
  background: 
  
   linear-gradient(to bottom,
      rgba(0,0,0,0.8) 0%,
      rgba(0,0,0,0) 35%
    ),
  radial-gradient(circle, 
              rgba(0,0,0,0) 50%, 
              rgba(0,0,0,0.9) 85%);
}


.imagen-container-bottom {
  position: relative;
  width: 100%;
}

.imagen-container-bottom img {
  width: 100%;
  display: block;
}

.imagen-container-bottom::after {
  content: "";
  position: absolute;
  inset: 0;
  background: 
   linear-gradient(to bottom,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,0) 65%,
      rgba(0,0,0,0.8) 95%
    );
}

.btnTop {
	float:left;
	opacity: 0;
	animation: fadeUp 1.2s cubic-bezier(.22,1,.36,1) 0.8s forwards;
}


@keyframes btnTop {
  to {
    opacity: 1;
    transform: translateY(-30px);
  }
}


.fade-up {
	float:left;
	display:inline;
	opacity: 0;
	transform: translateY(200px);
	animation: fadeUp 2.5s cubic-bezier(.22,1,.36,1) forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(-10px);
  }
}



/* SECCIO NOSALTRES */

.NOSALTRES-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-image: url('https://www.clubatletismebadalona.com/img/IMG_4072.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  align-items: center;
  justify-content: flex-start;
  padding: 0 50px;
  color: white;
  font-family: 'Arial', sans-serif;
}

/*  background-image: linear-gradient(to right,  rgba(0,0,0,0) 60%, rgba(0,0,0,0.6) 75%,rgba(0,0,0,0.9) 100%),url('https://www.clubatletismebadalona.com/img/IMG_4072.jpg') ;
*/

.NOSALTRES-section::before {
  content: "";
  position: absolute;
  inset: 0;
}

.NOSALTRES-content {
  position: relative; /* sobre el overlay */
  width: 100%;
}

.subtitle {
  color: #ff0000; /* rojo de acento */
  font-size: var(--fontSizeL);
  font-family: Teko;
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.title {
  font-size: var(--fontSizeBannerSubtitle);
  font-weight: 900;
  margin-bottom: 20px;
  line-height:  var(--fontSizeBannerSubtitle);
}

.description {
  font-size: var(--fontSizeS);
  font-family:Ubuntu;
  font-weight:300;
  margin-bottom: 30px;
  line-height: 1.6;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 30px;
}

.stat h2 {
  color: #ff0000;
  font-size: var(--fontSizeBannerSubtitle);
  font-weight:800;
  margin: 0;
  line-height:80%;
}

.stat p {
  font-size: var(--fontSizeL);
  font-family:Teko;
  margin: 0;
  font-weight:400;
  text-transform: uppercase;
}




/* SECCIO SECCIONES */

.SECCIONS-section {
  position: relative;       /* necesario para el pseudo-elemento */
  display: inline-block;    /* ajusta el ancho al contenido */
  z-index: 1;               /* texto por encima del fondo */
}

.SECCIONS-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;              /* fondo hasta la mitad */
  height: 400px;
  background-color: red;
  z-index: -1;             /* detrás del texto */
}


.SECCIONS-DETAIL-section {
  position: relative;
  width: 100%;
  min-height:500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0 50px;
  color: white;
  font-family: 'Arial', sans-serif;
}

/* SECCIO PROVA */

.PROVA-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-image: url('https://www.clubatletismebadalona.com/img/IMG_4433.jpg') ;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  align-items: center;
  justify-content: flex-start;
  padding: 0 50px;
  color: white;
  font-family: 'Arial', sans-serif;
}

/*  background-image: linear-gradient(to left,  rgba(0,0,0,0) 30%, rgba(0,0,0,1) 55%,rgba(0,0,0,1) 100%),url('https://www.clubatletismebadalona.com/img/IMG_4433.jpg') ;
*/
.PROVA-section::before {
  content: "";
  position: absolute;
  inset: 0;
}

.PROVA-content {
  position: relative; /* sobre el overlay */
  width: 100%;
}

/* SECCIO CONTACTE */

.contact-section{
  background:url('https://www.clubatletismebadalona.com/img/SM400339.jpg') center/cover no-repeat;  
  min-height:100vh;  
  display:flex;
  align-items:center;

}

.form-wrapper{
  position:relative;
  z-index:2;
}
.contact-box{
  background:rgba(0,0,0,0.7);
  padding:40px;
  color:white;
}

.custom-input{
  border-radius:50px;
  border:none;
  padding:14px 20px;
}

textarea.custom-input{
  border-radius:20px;
}

