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

body {
  font-family: "Rubik", sans-serif;
}

#mainHeader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 1000;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0%,
    transparent 100%
  );
}

#mainHeader.scrolled {
  background: #011ea0;
  box-shadow: none;
}

.nav-container {
  max-width: 1400px;
  height: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  padding: 0 40px;
  gap: 20px;
}

nav a {
  position: relative;
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.5px;
  transition: opacity 0.2s;
  text-transform: uppercase;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: white;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

nav a:hover::after {
  transform: scaleX(1);
}

.nav-left {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.nav-logo {
  color: white;
  grid-column: 2;
  justify-self: center;
}

.nav-logo img {
  height: auto;
  display: block;
  width: 80px;
}

.social-logo img {
  width: 90%;
  height: auto;
  display: block;
  width: 120px;
  height: 120px;
}

#mainHeader.scrolled .nav-logo {
  color: #fff;
}

/* Hamburger meni */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  position: absolute;
  right: 40px;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}

.nav-right {
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

@media (max-width: 768px) {
  .nav-container {
    grid-template-columns: auto 1fr auto;
    justify-items: start;
    padding: 0 20px;
    position: relative;
  }

  .nav-left {
    display: none;
  }

  .nav-logo {
    grid-column: 1;
    justify-self: start;
  }

  .nav-logo svg,
  .nav-logo img {
    width: 60px;
  }

  .nav-right {
    position: absolute;
    top: 100px;
    right: 0;
    left: 0;
    background: #011ea0;
    flex-direction: column;
    width: 100%;
    padding: 20px;
    gap: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    justify-content: flex-start;
  }

  .nav-right.active {
    transform: translateX(0);
  }

  .hamburger {
    display: flex;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    background: #011ea0;
    padding: 20px;
    gap: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .mobile-menu.active {
    transform: translateX(0);
  }

  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

.hero {
  width: 100%;
  height: 70vh;
  background: url("../images/inter_bg.avif") center no-repeat;
  background-size: cover;
  background-position: top center;
}

.hero::before {
  content: "";
  display: block;
  height: 80px;
}

#mainFooter {
  background-color: #000;
  color: #fff;
  padding: 40px 95px;
}

.footer-container {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-left h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.footer-divider {
  background-color: #444;
  width: 100%;
  height: 2px;
  margin: 10px 0 20px 0;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copyright {
  font-size: 14px;
  color: #999;
}

@media (min-width: 768px) {
  .footer-links {
    justify-content: space-between;
  }
}

@media (max-width: 767px) {
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-copyright {
    text-align: left;
  }
}

.social-section {
  background-color: #011ea0;
  padding: 60px 5%;
}

.social-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.social-container h3 {
  color: #fff;
  font-size: 24px;
  margin: 0;
  letter-spacing: 2px;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #ccc;
  transition:
    color 0.3s,
    transform 0.3s;
}

.social-links a:hover {
  color: #011ea0;
  transform: scale(1.1);
}

.social-links svg {
  width: 24px;
  height: 24px;
}

.match-banner {
  width: 100%;
  background: #011ea0;
  position: relative;
  overflow: hidden;
}

.match-banner-inner {
  width: 100%;
  max-width: none;
  padding: 60px 95px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (max-width: 768px) {
  .match-banner-inner {
    padding: 40px 20px;
  }
}

@media (max-width: 480px) {
  .match-banner-inner {
    padding: 30px 15px;
  }

  .match-title {
    font-size: clamp(32px, 10vw, 60px);
    letter-spacing: 1px;
  }
}

.match-title {
  font-weight: 700;
  font-style: normal;
  font-size: clamp(48px, 8vw, 100px);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
}

.match-divider {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
}

.match-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
}

.match-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.match-label::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
}

.match-sponsors {
  display: flex;
  align-items: center;
  gap: 22px;
}

#dynamic-text::after {
  content: "|";
  animation: blink 0.7s infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%,
  50%,
  100% {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0;
  }
}

.news-filter-bar {
  background-color: #011ea0;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.news-filter-bar::-webkit-scrollbar {
  display: none;
}

.news-filter-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 2rem;
  flex-wrap: nowrap;
  justify-content: flex-start;
  box-sizing: border-box;
}

.filter-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 18px 8px;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
}

.filter-link:hover {
  color: #ffffff;
}

.filter-link.active {
  color: #ffffff;
  border-bottom: 3px solid #ffffff;
}
/* LATEST NEWS SECTION */

.latest-news {
  background: #000;
  color: #fff;
  padding: 60px 5%;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.news-header h2 {
  font-size: 24px;
  letter-spacing: 2px;
}

.all-news {
  position: relative;
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.5px;
  transition: opacity 0.2s;
  text-transform: uppercase;
  text-decoration: none;
}

.all-news::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: white;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.all-news:hover::after {
  transform: scaleX(1);
}

.latest-news.news-page .news-card {
  text-decoration: none;
  color: inherit;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
  display: block;
}

.latest-news.news-page .news-card:hover h3 {
  color: #fff;
}

.latest-news.news-page .news-card:hover .news-meta {
  color: #333;
}

.latest-news.news-page .news-card:hover {
  transform: translateY(-3px);
}

.latest-news.news-page:empty,
.news-grid:empty {
  display: none;
}

.no-news-message {
  text-align: center;
  color: #fff;
  font-size: 1.2rem;
  padding: 40px 0 10px;
}
/* GRID */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-card {
  background: #111;
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.news-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.news-card:hover {
  transform: scale(1.03);
}

.latest-news .news-card a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.latest-news .news-card a:hover h3 {
  color: #fff;
}

.latest-news .news-card a:hover .news-meta {
  color: #333;
}
.news-content {
  padding: 15px;
}

.news-meta {
  font-size: 14px;
  color: white;
  display: block;
  margin-bottom: 10px;
  text-decoration: none;
}

.news-card h3 {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 500;
  color: #fff;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* SINGLE NEWS PAGE */

.single-news-hero img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
}

.single-news-content {
  background: #000;
  color: #fff;
  padding: 60px 0;
}

.single-container {
  width: 70%;
  margin: auto;
}

.single-container h1 {
  font-size: 36px;
  margin: 20px 0;
}

.single-container p {
  line-height: 1.8;
  margin-bottom: 20px;
  color: #ccc;
}

.single-container h2 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #0066cc;
  display: inline-block;
}

.single-container h3 {
  font-size: 18px;
  font-weight: 600;
  color: #ddd;
  margin: 1.5rem 0 0.5rem;
}

.single-container ul,
.single-container ol {
  margin: 0 0 1.5rem 1.5rem;
  color: #ccc;
}

.single-container ul li,
.single-container ol li {
  line-height: 1.8;
  margin-bottom: 0.4rem;
}

.single-container a {
  color: #4d9fff;
  text-decoration: underline;
  transition: color 0.2s;
}

.single-container a:hover {
  color: #fff;
}

.single-container strong {
  color: #fff;
}

.single-container em {
  color: #999;
}

.related-news {
  background: #000;
  padding: 60px 5%;
  color: #fff;
}

.related-news h2 {
  margin-bottom: 30px;
  font-size: 22px;
}

.related-news .news-card a {
  text-decoration: none;
  color: inherit;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.related-news .news-card a:hover h3 {
  color: #fff;
}

.related-news .news-card a:hover {
  cursor: pointer;
}

/* travels */
.travel-page {
  margin-top: 0 !important;
  padding-top: 60px;
}

.travel-hero-banner {
  background: #011ea0;
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 5vw 6vh;
}

.travel-hero-title {
  font-size: clamp(4rem, 20vw, 12rem);
  color: #fff;
  line-height: 1;
  margin: 0 0 2rem;
  letter-spacing: 0.08em;
}

.travel-hero-line {
  width: 100%;
  height: 5px;
  background: #fff;
  border-radius: 2px;
}
/* travels single */
.gallery-page {
  margin-top: 0 !important;
  padding-top: 60px;
  background-color: black;
}

.gallery-hero-banner {
  background: #011ea0;
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 5vw 6vh;
}

.gallery-hero-title {
  font-size: clamp(4rem, 20vw, 12rem);
  color: #fff;
  line-height: 1;
  margin: 0 0 2rem;
  letter-spacing: 0.08em;
}

.gallery-hero-line {
  width: 100%;
  height: 5px;
  background: #fff;
  border-radius: 2px;
}

.gallery-grid {
  width: min(1400px, 92%);
  margin: 0px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* index socials */
.social-section {
  background: #011ea0;
  padding: 80px 5%;
  overflow: hidden;
  position: relative;
}

.social-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.social-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.social-tagline {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.logo-stage {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.logo-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(11, 11, 204, 0.55) 0%,
    transparent 70%
  );
  animation: glow-pulse 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glow-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: spin linear infinite;
  pointer-events: none;
}

.orbit-ring::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.6);
}

.ring-1 {
  width: 200px;
  height: 200px;
  animation-duration: 6s;
}
.ring-2 {
  width: 240px;
  height: 240px;
  animation-duration: 10s;
  animation-direction: reverse;
  border-color: rgba(11, 11, 204, 0.4);
}
.ring-2::after {
  background: #0b0bcc;
  box-shadow: 0 0 10px 3px rgba(11, 11, 204, 0.8);
}
.ring-3 {
  width: 260px;
  height: 260px;
  animation-duration: 18s;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.06);
}
.ring-3::after {
  display: none;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.logo-center {
  position: relative;
  z-index: 2;
  width: 100px;
  height: 100px;
  color: white;
  animation: logo-float 4s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.logo-stage:hover .logo-center {
  transform: scale(1.15) rotate(10deg);
  animation-play-state: paused;
}
.logo-stage:hover .ring-1 {
  animation-duration: 2s;
}
.logo-stage:hover .ring-2 {
  animation-duration: 4s;
}
.logo-stage:hover .logo-glow {
  animation-duration: 0.8s;
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.social-links-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.soc-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.soc-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #0b0bcc;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: 0;
}

.soc-btn:hover::before {
  transform: scaleX(1);
}
.soc-btn:hover {
  color: #fff;
  border-color: #0b0bcc;
}
.soc-btn svg,
.soc-btn span {
  position: relative;
  z-index: 1;
}
.soc-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* contact */
.contact-hero-banner {
  background: #011ea0;
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 5vw 6vh;
}

.contact-hero-title {
  font-size: clamp(4rem, 18vw, 10rem);
  color: #fff;
  line-height: 1;
  margin: 0 0 2rem;
  letter-spacing: 0.08em;
}

.contact-hero-line {
  width: 100%;
  height: 5px;
  background: #fff;
  border-radius: 2px;
}

.contact-section {
  background: #000;
  padding: 100px 0;
}

.contact-container {
  width: min(1100px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.contact-card {
  background: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  color: #fff;
  transition:
    transform 0.3s ease,
    border 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  border-color: #011ea0;
}

.contact-title {
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.contact-info {
  opacity: 0.85;
  line-height: 1.6;
}

.contact-info a {
  color: #fff;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* CONTACT FORM */
.contact-form-wrapper {
  width: 100%;
  padding-top: 20px;
}

.contact-form-title {
  font-size: 2rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: #fff;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-form-full {
  grid-column: 1 / -1;
}

.contact-form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.contact-form-group input,
.contact-form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
  font-size: 0.95rem;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
  box-sizing: border-box;
  color: #fff;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
  border-color: rgba(255, 255, 255, 0.5);
}

.contact-form-group input::placeholder,
.contact-form-group textarea::placeholder {
  opacity: 0.4;
}

.contact-form-submit {
  display: flex;
  justify-content: flex-end;
}

.contact-submit-btn {
  padding: 0.75rem 2.5rem;
  background: #011ea0;
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s;
}

.contact-submit-btn:hover {
  background: #011880;
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
}
/* CONTACT FORM */
.hero-banner {
  background: #011ea0;
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 5vw 6vh;
  overflow: hidden;
  position: relative;
}

.hero-title {
  font-size: clamp(12px, 15vw, 9rem);
  color: #fff;
  line-height: 1;
  margin: 0 0 2rem;
  letter-spacing: 0.08em;

  clip-path: inset(0 100% 0 0);
  animation: revealText 0.45s cubic-bezier(0.77, 0, 0.175, 1) 0.1s forwards;
}

.hero-line {
  width: 0;
  height: 5px;
  background: #fff;
  border-radius: 2px;
  animation: revealLine 0.5s cubic-bezier(0.77, 0, 0.175, 1) 0.45s forwards;
}

@keyframes revealText {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0% 0 0);
  }
}

@keyframes revealLine {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* NEWS PAGE */
.news-page {
  margin-top: 0 !important;
  padding-top: 60px;
}

body.news-page-layout {
  background: #000;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.news-page-layout #mainFooter {
  margin-top: auto;
}
.trophy-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
  height: 420px;
  background: #011ea0;
}
.trophy-cell {
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 24px;
}
.trophy-cell:last-child {
  border-right: none;
}
.trophy-cell-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}
.trophy-cell-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(1, 20, 130, 0.5);
}
.trophy-cell:hover .trophy-cell-bg,
.trophy-cell.active .trophy-cell-bg {
  opacity: 1;
}
.trophy-icon {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  color: #fff;
  opacity: 0.85;
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.trophy-cell:hover .trophy-icon,
.trophy-cell.active .trophy-icon {
  opacity: 1;
  transform: scale(1.1);
}
.trophy-label {
  position: relative;
  z-index: 1;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}
.trophy-cell:hover .trophy-label,
.trophy-cell.active .trophy-label {
  color: #fff;
}
.trophy-cell::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: #fff;
  transition: width 0.4s ease;
  z-index: 2;
}
.trophy-cell:hover::after,
.trophy-cell.active::after {
  width: 100%;
}

@media (max-width: 768px) {
  .trophy-bar {
    grid-template-columns: repeat(3, 1fr);
    height: auto;
  }
  .trophy-cell {
    height: 160px;
    padding: 20px 16px;
  }
  .trophy-cell:nth-child(3) {
    border-right: none;
  }
  .trophy-cell:nth-child(4),
  .trophy-cell:nth-child(5) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* MEMBERSHIP SECTION */
.membership-page {
  background-color: #000000;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.membership-card--list {
  width: min(1400px, 92%);
  margin: 0 auto;
  background-color: #011ea0;
  color: #ffffff;
  padding: 36px 40px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.membership-price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.membership-price-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 12px;
}

.membership-price-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.membership-price-list li span:last-child {
  font-weight: 700;
  font-size: 1.2rem;
  white-space: nowrap;
}

.membership-junior-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.membership-info {
  width: min(1400px, 92%);
  margin: 0 auto;
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.75;
}

.membership-info p {
  margin-bottom: 12px;
}

.membership-deadline {
  color: rgba(255, 255, 255, 0.8);
}

.interclub-banner {
  width: min(1400px, 92%);
  margin: 0 auto;
}

.interclub-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.news-images {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.news-images img {
  width: 100%;
  max-width: 30%;
  border-radius: 8px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .news-images img {
    max-width: 100%;
  }
}

/* ── STATIC HERO ── */

/* news-single */
.hero-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Photo fills the whole hero */
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Gradient overlay so text is readable */
.hero-photo::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to bottom, transparent, rgba(11, 11, 204, 0.92));
  pointer-events: none;
}

/* Text sits at the bottom on top of the gradient */
.hero-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 5vw 6vh;
  z-index: 1;
}

.hero-text .news-meta-hero {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.hero-text h1 {
  font-size: clamp(2.8rem, 8vw, 8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
}

.hero-text h1.hero-title-long {
  font-size: clamp(1.8rem, 4.5vw, 4rem);
}

.hero-underline {
  width: 260px;
  height: 6px;
  background: #fff;
  border-radius: 2px;
}

.related-news .news-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  .related-news .news-grid {
    grid-template-columns: 1fr;
  }
}

/* COLUMNS PAGE */
.columns-hero-banner {
  background: #011ea0;
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 5vw 6vh;
}

.columns-hero-title {
  font-size: clamp(4rem, 18vw, 10rem);
  color: #fff;
  line-height: 1;
  margin: 0 0 2rem;
  letter-spacing: 0.08em;
}

.columns-hero-line {
  width: 100%;
  height: 5px;
  background: #fff;
  border-radius: 2px;
}

.columns-section {
  background: #000;
  color: #fff;
  padding: 80px 5%;
}

.columns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.column-card {
  background: #111;
  overflow: hidden;
  transition:
    transform 0.3s,
    background 0.3s;
  display: flex;
  flex-direction: column;
}

.column-card:hover {
  background: #1a1a1a;
  transform: translateY(-4px);
}

.column-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.column-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.column-meta {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.column-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.column-preview {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-bottom: 12px;
  flex: 1;
}

.column-link {
  text-decoration: none;
  color: #3b82f6;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Klikabilne slike i naslovi u kolumnama */
.columns-section .column-card a {
  text-decoration: none; /* uklanja underline */
  color: inherit; /* zadržava originalnu boju */
  transition:
    color 0.3s ease,
    transform 0.3s ease;
  display: inline-block;
}

.columns-section .column-card a:hover h3 {
  color: #fff;
}

.columns-section .column-card a:hover img {
  transform: scale(1.03); /* blagi zoom na sliku */
}

.columns-section .column-card a:hover {
  cursor: pointer;
}

.columns-section .column-card .column-content .column-link {
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.columns-section .column-card .column-content .column-link:hover {
  color: #003d80 !important;
  cursor: pointer;
}
/* column single */
.columns-hero-banner {
  background: #011ea0;
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 5vw 6vh;
}

.columns-hero-title {
  font-size: clamp(4rem, 18vw, 10rem);
  color: #fff;
  line-height: 1;
  margin: 0 0 2rem;
  letter-spacing: 0.08em;
}

.columns-hero-line {
  width: 100%;
  height: 5px;
  background: #fff;
  border-radius: 2px;
}

/* SINGLE CONTENT */
.column-single-section {
  background: #000;
  color: #fff;
  padding: 80px 5%;
}

.column-single-container {
  max-width: 1400px;
  margin: 0 auto;
}

.column-single-meta {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.column-single-title {
  font-size: 2.2rem;
  margin-bottom: 24px;
  line-height: 1.2;
}

.column-single-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  margin-bottom: 32px;
}

.column-single-text p {
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 1.05rem;
  opacity: 0.9;
}

.back-link {
  display: inline-block;
  margin-top: 40px;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
}

.back-link:hover {
  text-decoration: underline;
}

/* ===== CONTACT SECTION – FULL BLACK ===== */

.contact-section {
  background: #000;
  color: #fff;
  padding: 40px 1.5rem 0;
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

/* ===== CARDS ===== */

.contact-card {
  background: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: 0.25s ease;
}

.contact-card:hover {
  border-color: #0066ff;
  transform: translateY(-4px);
}

.contact-title {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.08em;
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.contact-info a {
  color: #fff;
  text-decoration: none;
  opacity: 0.85;
  font-size: 0.95rem;
  word-break: break-word;
  transition: 0.2s;
}

.contact-info a:hover {
  opacity: 1;
  color: #0066ff;
}

/* ===== OPTIONAL INTRO (ako ga koristiš) ===== */

.contact-intro {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 4rem 1.5rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-intro h2 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.06em;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.contact-intro p {
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.contact-meta {
  display: flex;
  justify-content: center;
  padding-top: 20px;
  gap: 2rem;
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.contact-cta {
  display: inline-block;
  padding: 0.9rem 2rem;
  border: 1px solid #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: #fff;
  transition: 0.25s;
}

.contact-cta:hover {
  border-color: #0066ff;
  color: #0066ff;
}

/* ===== SOCIAL ===== */

.contact-social {
  text-align: center;
  margin-top: 2rem;
}

.contact-social a {
  font-size: 1.6rem;
  margin: 0 0.6rem;
  text-decoration: none;
  color: #fff;
  opacity: 0.8;
  transition: 0.25s;
}

.contact-social a:hover {
  opacity: 1;
  color: #0066ff;
}

.contact-intro-container {
  width: min(1100px, 92%);
  margin: 0 auto;
  text-align: center;
}

.contact-intro-container p {
  line-height: 1.9;
  padding-top: 20px;
}

/* ===== MOBILE ===== */

@media (max-width: 480px) {
  .contact-section {
    padding: 3rem 1.2rem 4rem;
  }

  .contact-title {
    font-size: 1.2rem;
  }

  .contact-info a {
    font-size: 0.9rem;
  }
}
