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

body {
  font-family: 'Bebas Neue', sans-serif;
  background: #fff;
  color: #fff;
}

/* CONTAINER */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* SECTION */
.section-principal {
  min-height: 100vh;
  background: #000;
}

/* HEADER */
.header {
  background: linear-gradient(180deg, #0b2a55, #081f3f);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo img {
  height: 78px;
}

.main-nav ul {
  font-family: Bebas Neue;
  font-size: 14pt;
  display: flex;
  list-style: none;
  gap: 24px;
  cursor: pointer;
}


.header-cta button {
  font-family: Bebas Neue;
  font-size: 12pt;
  margin-left: 8px;
  background-color: white;
  padding: 8px 16px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
}

.header-cta button:hover {
  background: #0b2a55;
  color: #fff;
  border: 2px solid #fff;
  text-decoration: none;
}

/* HERO */
.hero {
  position: relative;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url("images/aem.jpg") center/cover no-repeat;
}


.hero-title {
  font-family: "Bebas Neue", sans-serif;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
  position: relative;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
}

.hero-dots {
  position: absolute;
  bottom: 24px;
  display: flex;
  gap: 8px;
}

.hero-dots span {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.4;
}

/* RESULTS BAR */
.results-bar {
  background: linear-gradient(180deg, #0b2a55, #081f3f);
  padding: 32px 0;
}

.results-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.result-block {
  text-align: center;
  flex: 1;
}

.score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 4rem;
}

.team-logo {
  width: 100px;
}

.divider {
  width: 2px;
  height: 90px;
  background: rgba(255,255,255,0.3);
}

.btn-chronicle {
  background-color: white;
  font-family: Bebas Neue;
  color: #0b2a55;
  font-size: 12pt;
  margin-top: 12px;
  padding: 6px 16px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-chronicle:hover {
  background: #0b2a55;
  color: #fff;
  border: 2px solid #fff;
  text-decoration: none;
}

/* TABLET */
@media (max-width: 1023px) {
  .main-nav {
    display: none;
  }

  .results-container {
    flex-direction: column;
    gap: 24px;
  }

  .divider {
    display: none;
  }
}

/* MOBILE */
@media (max-width: 475px) {
  .header-container {
    height: 64px;
  }

  .hero-title {
    font-size: 2.2rem;

  }

  .score {
    font-size: 2.2rem;
  }
}

/* =========================
   SECCIÓ CARDS – ACTUALITAT
   ========================= */

.section-cards {
  background: #fff;
  color: #0b2a55;
  padding: 80px 0;
}

.cards-slider {
  display: flex;
  gap: 48px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
}

.cards-slider::-webkit-scrollbar {
  display: none;
}

.card {
  flex: 0 0 420px;
  scroll-snap-align: start;
}

.card img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 24px;
}

.card h2 {
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.card p {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
  max-width: 360px;
}

.btn-read {
  background: #0b2a55;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 6px 18px;
  font-family: Bebas Neue;
  font-size: 12pt;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.btn-read:hover {
  background: #fff;
  color: #0b2a55;
  border: 2px solid #0b2a55;
  text-decoration: none;
}


/* TABLET */
@media (max-width: 1023px) {
  .card {
    flex: 0 0 360px;
  }
}

/* MOBILE */
@media (max-width: 475px) {
  .section-cards {
    padding: 48px 0;
  }

  .card {
    flex: 0 0 300px;
  }

  .card h2 {
    font-size: 22px;
  }
}

/* =========================
   SECCIÓ EQUIPACIÓ
   ========================= */

.section-equipacio {
  width: 100%;
  min-height: 100vh;
}

.equipacio-wrapper {
  display: flex;
  height: 100%;
  min-height: 100vh;
}

.equipacio-image {
  flex: 1;
}

.equipacio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.equipacio-content {
  flex: 1;
  background: linear-gradient(180deg, #0b2a55, #081f3f);
  color: #fff;
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.equipacio-content h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

.price {
  font-size: 48px;
  margin-bottom: 32px;
}

.price span {
  font-size: 20px;
  margin-left: 4px;
}

.btn-outline {
  display: inline-block;
  width: fit-content;
  padding: 10px 28px;
  border-radius: 30px;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  text-decoration: none;
  font-family: Bebas Neue;
  font-size: 12pt;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.btn-outline:hover {
  background-color: #fff;
  color: #0b2a55;
}

/* =========================
   SECCIÓ PROPERS PARTITS
   ========================= */

.section-partits {
  background: #fff;
  color: #0b2a55;
  padding: 100px 0;
}

.section-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 64px;
}

.partits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

.partit-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
}

.partit-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partit-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 42, 85, 0.75);
}

.partit-info {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 32px;
  z-index: 2;
}

.equips {
  display: flex;
  gap: 16px;
  align-items: center;
}

.equips img {
  width: 130px;
}

.dades {
  text-align: right;
  color: #fff;
}

.dades .data {
  font-size: 32px;
}

.dades .hora {
  font-size: 22px;
}

.dades .lloc {
  font-size: 14px;
  letter-spacing: 1px;
}

.partits-cta {
  display: flex;
  justify-content: center;
  gap: 64px;
}

.btn-entrades {
  background: #0b2a55;
  color: #fff;
  border: 2px solid #0b2a55;
  border-radius: 30px;
  padding: 10px 36px;
  font-family: Bebas Neue;
  font-size: 14pt;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.btn-entrades:hover {
  background: #fff;
  color: #0b2a55;
}

/* TABLET */
@media (max-width: 1023px) {
  .partits-grid {
    grid-template-columns: 1fr;
  }

  .partits-cta {
    gap: 32px;
  }
}

/* MOBILE */
@media (max-width: 475px) {
  .section-partits {
    padding: 64px 0;
  }

  .section-title {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .equips img {
    width: 56px;
  }

  .dades .data {
    font-size: 26px;
  }
}

/* =========================
   SECCIÓ FES-TE SOCI
   ========================= */

.section-soci {
  position: relative;
  min-height: 100vh;
  background: url("images/soci.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.soci-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.soci-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 24px;
}

.soci-content h2 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1;
  margin-bottom: 24px;
}

.soci-subtitle {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 32px;
}

/* Reutilitzem exactament el mateix botó */
.section-soci .btn-outline {
  margin: 0 auto;
}

/* TABLET */
@media (max-width: 1023px) {
  .soci-content h2 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
  }
}

/* MOBILE */
@media (max-width: 475px) {
  .section-soci {
    min-height: 80vh;
  }

  .soci-content h2 {
    font-size: 2.5rem;
  }
}


/* =========================
   SECCIÓ FUTBOL BASE
   ========================= */

.section-futbol-base {
  background: #fff;
  color: #0b2a55;
  padding: 100px 0;
}

.futbol-base-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.futbol-card img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 16px;
}

.futbol-card p {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  max-width: 360px;
}

/* TABLET */
@media (max-width: 1023px) {
  .futbol-base-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* MOBILE */
@media (max-width: 475px) {
  .section-futbol-base {
    padding: 64px 0;
  }
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
  background: #0b2a55;
  color: #fff;
  padding: 64px 0 40px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.footer-crest {
  width: 200px;
  opacity: 0.9;
}

.footer-logos {
  display: flex;
  gap: 64px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-logos img {
  height: 100px;
  opacity: 0.9;
}

.footer-bottom p {
  font-family: Arial, sans-serif;
  font-size: 12px;
  opacity: 0.7;
}

/* TABLET */
@media (max-width: 1023px) {
  .footer-logos {
    gap: 40px;
  }
}

/* MOBILE */
@media (max-width: 475px) {
  .site-footer {
    padding: 48px 0 32px;
  }

  .footer-logos img {
    height: 32px;
  }
}


/* =========================
   ARTICLE – CAPÇALERA
   ========================= */

.article-header {
  padding: 50px 0 20px;
  text-align: center;
  background: #fff;
}

.article-header-container {
  max-width: 900px;
}

.article-eyebrow {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #0b2a55;
  margin-bottom: 4px;
}

.article-section {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800
  font-size: 16px;
  color: #0b2a55;
  margin-bottom: 32px;
}

.article-title {
  font-family: Bebas Neue;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.05;
  color: #0b2a55;
  margin-bottom: 40px;
}

.article-date {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 14px;
  color: #0b2a55;
}

/* =========================
   ARTICLE – COS
   ========================= */

.article-body {
  background-color: white;
  padding: 40px 0 40px;
}

.article-body-container {
  max-width: 1000px;
}

.article-image img {
  width: 100%;
  display: block;
}

.article-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 12px;
  color: #8a8a8a;
}

.article-text {
  margin-top: 40px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #0b2a55;
}

.article-text p {
  margin-bottom: 24px;
}

.article-text h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  margin: 48px 0 16px;
  color: #0b2a55;
}

/* MOBILE */
@media (max-width: 475px) {
  .article-body-container {
    max-width: 100%;
    padding: 0 20px;
  }

  .article-caption {
    flex-direction: column;
    gap: 4px;
  }
}


/* =========================
   ARTICLE – GALERIA
   ========================= */

.article-gallery {
  padding: 1px 0 80px;
  background-color: white;
}

.article-gallery-container {
  max-width: 1100px;
}

.gallery-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gallery-slider img {
  flex: 0 0 auto;
  width: 320px;
  height: 220px;
  object-fit: cover;
  scroll-snap-align: start;
}

/* Amagar scrollbar (opcional) */
.gallery-slider::-webkit-scrollbar {
  display: none;
}

/* TABLET */
@media (max-width: 1023px) {
  .gallery-slider img {
    width: 280px;
    height: 190px;
  }
}

/* MOBILE */
@media (max-width: 475px) {
  .article-gallery {
    padding: 60px 0 80px;
  }

  .gallery-slider img {
    width: 240px;
    height: 160px;
  }
}

/* =========================
   ARTICLE – FITXA TÈCNICA
   ========================= */

.article-technical {
  padding: 60px 0 120px;
}

.technical-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  margin-bottom: 24px;
  color: #0b2a55;
}

.article-technical p {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
  color: #0b2a55;
}

.article-technical strong {
  font-weight: 600;
}



