@font-face {
  font-family: "Pro Sotan Extra Bolditalic";
  src: url("pro-sotan/Pro Sotan Extra Bolditalic.otf") format("opentype");
  font-weight: 800;
  font-style: italic;
}

@font-face {
  font-family: "GoPadel";
  src: url("gopadel-font-family/gopadel-bold.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "GoPadel";
  src: url("gopadel-font-family/gopadel-black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "Microphone";
  src: url("Microphone-Font/MICROPHONE-BF69dc9ef54b3ae.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Open Sans";
  src: url("Open_Sans/OpenSans-VariableFont_wdth,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: "Archivo Black";
  src: url("Archivo_Black/ArchivoBlack-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
  /* Paleta de Colores */
  --primary: #0b1932;
  --secondary: #f2f2f2;
  --accent-red: #ff3131;
  --accent-green: #0bb85e;
  --accent-orange: #ff7f00;
  --bg-primary: #ffffff;
  --border-silver: #aaa9ad;
  --side-padding: 12%;

  /* Tokens de Fuentes */
  --font-title: "Archivo Black", sans-serif;
  --font-body: "Open Sans", sans-serif;
  /*--font-logo: "GoPadel", sans-serif;*/
  --font-logo: "Pro Sotan Extra Bolditalic", sans-serif;
  --font-tagline: "Microphone", serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header Principal */
.main-header {
  padding: 0.5rem 5%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-color: var(--secondary);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.brand-wrapper:hover {
  transform: translateY(-1px);
}

.brand-logo-img {
  height: 4rem;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.875em;
}

.brand-name {
  font-family: var(--font-logo);
  font-size: 2.5rem;
  color: var(--primary);
  margin: 0;
  line-height: 1;
  text-transform: uppercase;
  transform: translateY(0.5rem);
}

.brand-tagline {
  font-family: var(--font-tagline);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--accent-red);
  line-height: 1;
  margin: 0;
  letter-spacing: 0.24rem;
  transform: translateY(0.85rem);
}

/* Sub NavBar */
.sub-nav {
  background-color: var(--primary);
  padding: 10px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.nav-links-group {
  display: flex;
  gap: 25px;
}

.nav-social-icons {
  display: flex;
  gap: 15px;
  border-left: 1px solid rgba(255, 255, 255, 0.1); /* Borde ahora a la izquierda */
  padding-left: 25px;
}

.nav-social-icons a {
  color: var(--accent-green);
  font-size: 1.1rem;
  transition:
    transform 0.3s,
    color 0.3s;
}

.nav-social-icons a:hover {
  color: white;
  transform: translateY(-2px);
}

.sub-nav-link {
  color: var(--secondary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-decoration: none;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  transition: color 0.3s;
}

.sub-nav-link:hover {
  color: var(--accent-orange);
}

.sub-nav-link:not(:last-child)::after {
  content: "/";
  margin-left: 25px;
  color: white;
  opacity: 0.2;
}

/* Layout de Cuadrícula Hero */
.hero-grid {
  display: flex;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  background-color: var(--bg-primary);
  margin-bottom: 50px;
  padding-inline: 5%;
}

/* Panel Izquierdo 50% */
#main-news {
  flex: 0 0 50%;
  background:
    linear-gradient(to top, rgba(11, 25, 50, 0.9), transparent 50%),
    url("p1.png") center/cover no-repeat;
  position: relative;
  border: 1px solid var(--border-silver);
  cursor: pointer;
}

/* Panel Derecho 50% */
.hero-side {
  flex: 0 0 50%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
}

.hero-item {
  position: relative;
  border: 1px solid var(--border-silver);
  overflow: hidden;
  cursor: pointer;
}

#news-1 {
  background:
    linear-gradient(to top, rgba(11, 25, 50, 0.8), transparent 70%),
    url("p2.png") center/cover no-repeat;
}
#news-2 {
  background:
    linear-gradient(to top, rgba(11, 25, 50, 0.8), transparent 70%),
    url("p3.png") center/cover no-repeat;
}
#news-3 {
  background:
    linear-gradient(to top, rgba(11, 25, 50, 0.8), transparent 70%),
    url("p4.png") center/cover no-repeat;
}
#news-4 {
  background:
    linear-gradient(to top, rgba(11, 25, 50, 0.8), transparent 70%),
    url("p5.png") center/cover no-repeat;
}

/* Etiquetas 'Actualidad' */
.tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--accent-green);
  color: white;
  padding: 8px 20px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0;
  z-index: 10;
}

/* Hover Effects */
#main-news:hover,
.hero-item:hover {
  filter: brightness(1.1);
}

/* Títulos en la parte inferior */
.item-title {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  margin: 0;
  font-family: var(--font-title);
  color: var(--secondary);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-main .item-title,
#main-news .item-title {
  font-size: 3rem;
  bottom: 40px;
  left: 40px;
}

/* Título de Sección con Línea Dinámica */
.section-title-container {
  flex: 0 0 100%;
  padding: 0;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--accent-orange);
  display: flex;
  align-items: flex-end;
}

.section-title {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--primary);
  font-size: 1.8rem;
  line-height: 1;
  margin: 0;
  display: inline-block;
  padding: 0 30px 0 0;
  border-bottom: 5px solid var(--accent-orange);
  margin-bottom: -1px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Sección de Contenido Inferior */
.content-body {
  display: flex;
  padding: 20px var(--side-padding) 40px;
  gap: 40px;
  background-color: var(--bg-primary);
  align-items: flex-start;
}

.left-container {
  flex: 0 0 70%;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.news-column {
  flex: 0 0 45%;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.news-card-thumb {
  width: 100%;
  aspect-ratio: 3 / 2;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.news-card-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-card-tag {
  font-family: var(--font-body);
  color: var(--accent-red);
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: capitalize;
}

.news-card-content h4 {
  margin: 0;
  font-family: var(--font-title);
  font-size: 1.2rem;
  color: var(--primary);
  line-height: 1.1;
  font-weight: 900;
}

.news-card-content p {
  margin: 5px 0 0 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

/* Variante sin imagen */
.news-card.no-image {
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

.right-sidebar {
  flex: 0 0 30%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-left: 30px;
  border-left: 1px solid #eee;
}

.sidebar-widget h3 {
  margin: 0 0 15px 0;
  font-family: var(--font-title);
  font-size: 0.8rem;
  text-transform: uppercase;
  border-bottom: 3px solid var(--accent-orange);
  padding-bottom: 5px;
  margin-bottom: 15px;
  color: var(--primary);
}

.sidebar-widget p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

.ad-placeholder {
  background-color: #f9f9f9;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #999;
  border: 1px dashed var(--border-silver);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.middle-ad-banner {
  flex: 0 0 100%; /* Ocupa todo el ancho del contenedor flex */
  background-color: #f2f2f2;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--border-silver);
  margin: 20px 0 40px 0;
  font-family: var(--font-body);
  color: #888;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.9rem;
}

.sidebar-large-ad {
  height: 600px !important; /* Más alto */
  background-color: #ececec !important; /* Tono distinto */
  border: 1px solid var(--border-silver) !important; /* Borde sólido */
  margin-top: 20px;
  font-weight: 700;
}

/* Estilos para noticias miniatura en Sidebar */
.sidebar-news-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  align-items: flex-start;
  cursor: pointer;
}

.sidebar-news-item:hover .side-content h4 {
  color: var(--accent-red);
}

.side-thumb {
  flex: 0 0 100px;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.side-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.side-tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--accent-red);
  font-weight: 400;
}

.side-content h4 {
  margin: 0;
  font-family: var(--font-title);
  font-size: 0.95rem;
  line-height: 1.2;
  color: var(--primary);
  text-transform: none; /* Mantener mayúsculas/minúsculas naturales */
  font-weight: 900;
}

/* Footer Principal */
.main-footer {
  background-color: var(--primary);
  color: var(--bg-primary);
  padding: 80px var(--side-padding) 30px;
  /*margin-top: 60px;*/
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-section {
  flex: 1;
}

.footer-logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 3.5rem;
  width: auto;
  object-fit: contain;
}

.footer-logo {
  font-family: var(--font-logo);
  font-size: 2rem;
  margin: 0;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: translateY(0.5rem);
}

.footer-logo-tagline {
  font-family: var(--font-tagline);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--secondary);
  line-height: 1;
  margin: 0;
  letter-spacing: 0.24rem;
  transform: translateY(0.85rem);
}

.footer-section h3 {
  font-family: var(--font-title);
  font-size: 0.9rem;
  text-transform: uppercase;
  margin: 0 0 25px 0;
  color: var(--secondary);
  letter-spacing: 1px;
}
/* Sección Clubes de Padel */
.clubs-section {
  position: relative;
  padding: 100px var(--side-padding);
  background-color: var(--bg-primary);
  overflow: hidden;
  margin-top: 60px;
}

.clubs-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("bg-clubes.webp") center/cover no-repeat;
  filter: blur(2px) brightness(0.3) saturate(1.2);
  z-index: 1;
  transform: scale(1.1); /* Evita bordes blancos al desenfocar */
}

.clubs-content {
  position: relative;
  z-index: 2;
}

.carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 50px;
}

.clubs-track {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 0;
  scrollbar-width: none; /* Firefox */
  flex: 1;
}

.clubs-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.club-card {
  flex: 0 0 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  transition: transform 0.3s ease;
}

.club-card:hover {
  transform: translateY(-5px);
}

.club-logo {
  width: 100%;
  aspect-ratio: 1 / 1;
  /*background: white;*/
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border-radius: 2px;
  box-shadow: 0 10px 20px rgba(32, 31, 31, 0.3);
}

.club-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.3s;
}

.club-card:hover .club-logo img {
  filter: grayscale(0%);
  opacity: 1;
}

.club-label {
  color: white;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  line-height: 1.3;
}

.carousel-nav {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s;
}

.carousel-nav:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
}

.footer-section p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.8;
  margin: 8px 0;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-links a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.7;
  transition: all 0.3s ease;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-links a i {
  width: 20px; /* Ancho fijo para alinear el texto verticalmente */
  text-align: center;
  color: var(--accent-green); /* Mantengo el verde para los iconos social */
}

.social-links a:hover {
  opacity: 1;
  color: var(--accent-orange);
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  font-family: var(--font-body);
  font-size: 0.8rem;
  opacity: 0.5;
  margin: 0;
  letter-spacing: 0.5px;
}
