/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0d0d0d;
  color: #e0e0e0;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Age Verification */
#age-verification {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  font-size: 18px;
}

.age-box {
  background: #1a1a1a;
  padding: 40px;
  border-radius: 10px;
  border: 1px solid #ee1e1e;
  max-width: 500px;
}

.age-box h2 {
  padding: 15px;
}

.age-logo {
  width: 150px;
  margin-bottom: 20px;
}

.age-buttons {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn-enter {
  background: #ee1e1e;
  color: white;
  border: none;
  padding: 15px 30px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
  font-size: 18px;
}

.btn-exit {
  color: #aaa;
  text-decoration: none;
  align-self: center;
}

/* Header */
header {
  background: #000;
  padding: 20px 0;
  border-bottom: 1px solid #333;
}

header .text-wrapper,
header .text-wrapper h1,
header .text-wrapper p {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}

header .text-wrapper h1 {
  color: #ee1e1e; /* Tvoja prepoznatljiva crvena boja */
  margin-bottom: 15px;
  font-size: 3rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
}

.logo span {
  color: #ee1e1e;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #ee1e1e;
}

/* Hero Section */
.hero {
  position: relative;
  height: 70vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transform: scale(1.1);
  transform-origin: top center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  /* DODAJ OVO: Centrira kontejner horizontalno */
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  /* DODAJ OVO: Centrira tekst i dugme unutar kontejnera */
  width: 100%;
  /* Osigurava da text-align ima efekta na punoj širini */
  margin: 0 10px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #fff;
}

.cta-button {
  display: inline-block;
  background: #ee1e1e;
  color: #fff;
  padding: 15px 60px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  transition: 0.3s;
  margin-top: 10px;
  font-size: 1.6rem;
}

.cta-button:hover {
  background: #cc0044;
  transform: scale(1.05);
}

/* Trust Bar */
.trust-bar {
  background: #1a1a1a;
  padding: 15px 0;
  border-bottom: 1px solid #333;
}

.trust-bar .container {
  display: flex;
  justify-content: space-around;
  font-size: 0.9rem;
  color: #ee1e1e;
  font-weight: bold;
}

/* Card Grid */
.main-grid {
  padding: 50px 0;
}

.main-grid h2 {
  margin-bottom: 30px;
  text-align: center;
  /* KLJUČNO: Centrira tekst */
  border-left: none;
  /* UKLONI OVO: Da linija ne kvari simetriju */
  padding-left: 0;
  /* RESETUJ OVO: Da nema praznog prostora levo */

  /* OPCIONO: Donja linija umesto bočne za bolji visual */
  border-bottom: 3px solid #ee1e1e;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 10px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  transition: 0.3s;
  border: 1px solid #333;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #ee1e1e;
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.card-info {
  padding: 15px;
}

.card-info h3 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 10px;
}

.card-info span {
  color: #ee1e1e;
  font-size: 0.8rem;
  font-weight: bold;
}

.card-link {
  text-decoration: none;
}

/* SEO Text */
.seo-text {
  padding: 40px 0;
  border-top: 1px solid #333;
}

.seo-text h2 {
  color: #ee1e1e;
  margin-bottom: 20px;
}

.seo-text p {
  margin-bottom: 15px;
  color: #bbb;
}

.text-wrapper {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  color: #ccc;
  text-align: center;
  /* Centriranje dugmeta i info-boxa */
}

/* Vraćamo poravnanje teksta na levo radi lakšeg čitanja */
.text-wrapper h2,
.text-wrapper p {
  text-align: left;
}

.text-wrapper h2 {
  color: #f84242;
  margin: 30px 0 15px;
  font-size: 1.8rem;
}

.text-wrapper p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.info-box {
  background: #111;
  padding: 30px;
  border-left: 4px solid #f84242;
  margin: 40px 0;
  border-radius: 4px;
}

/* Banner Section */
.banner-area {
  margin: 30px auto;
  text-align: center;
}

.main-banner {
  width: 100%;
  max-width: 728px;
  height: auto;
  border-radius: 9px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
  border: 1px solid #262525;
}

.main-banner:hover {
  transform: scale(1.04);
  box-shadow: 0 0 15px rgba(245, 59, 59, 0.2);
}

/* Lower CTA */
.lower-cta {
  background: #1a1a1a;
  padding: 60px 0;
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #ee1e1e;
}

.secondary-cta {
  margin-top: 20px;
}

/* Footer */
.footer {
  background: #000;
  padding: 60px 0 20px;
  border-top: 1px solid #333;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-links a {
  color: #888;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: #555;
}

.warningText {
  color: #777;
  margin: 20px 0;
  font-style: italic;
}

.certificate img {
  width: 80px;
  margin-bottom: 10px;
  opacity: 0.6;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .logo {
    display: block;
    /* Pretvara logo u blok element */
    margin: 0 auto;
    /* Gura ga u sredinu preostalog prostora */
    text-align: center;
    /* Centrira sadržaj ako je logo tekstualni */
    width: fit-content;
    /* Logo se skuplja oko sadržaja, ne ide 100% širine */
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  /* Banner */
  .banner-area {
    width: 100%;
    display: block;
    margin: 20px auto;
    text-align: center;
  }

  .main-banner {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  header .text-wrapper h1 {
    font-size: 1.8rem;
  }

  .text-wrapper h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .hero {
    height: 50vh;
  }

  .trust-bar .container {
    flex-wrap: wrap;
    gap: 10px;
  }
}