/* CSS Varijable za konzistentne boje */
:root {
  --primary-green: #2c5e3a;
  --secondary-green: #1e4d31;
  --accent-yellow: #a3e635;
  --cyan: #00FFFF;
  --cyan-hover: #00CCCC;
  --dark-bg: #111827;
  --text-light: #dad7cd;
  --text-gray: #4b5563;
  --white: #fff;
  --black: #000;
}

/* Globalne postavke */
body {
  font-family: sans-serif;
  background: linear-gradient(135deg, #344e41, #3a5a40);
  color: var(--text-light);
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header Styling */
header {
  background: linear-gradient(135deg, rgba(44, 94, 58, 0.7), rgba(17, 24, 39, 0.7));
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  z-index: 50;
  top: 0;
  padding: 15px 20px;
}

.logo a {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
}

.navigation {
  display: flex;
  gap: 2rem;
}

.navigation a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.125rem;
}

.navigation a:hover {
  color: var(--accent-yellow);
}

.telegram-btn {
  background-color: var(--primary-green);
  color: var(--white) !important;
  padding: 8px 16px;
  border-radius: 5px;
  border: 2px solid var(--primary-green);
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.telegram-btn:hover {
  background-color: var(--secondary-green);
  border-color: var(--secondary-green);
  transform: translateY(-2px);
}

/* Mobile Menu */
#mobile-menu {
  background: var(--white);
  width: 100%;
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
}

#mobile-menu.show {
  display: block;
}

#mobile-menu-btn {
  display: none;
  border: 1px solid var(--white);
  border-radius: 5px;
  padding: 4px 8px;
}

#mobile-menu a {
  color: #333;
  text-decoration: none;
  font-size: 1.1rem;
  display: block;
  width: 100%;
  padding: 12px 16px;
}

#mobile-menu a:hover {
  color: var(--accent-yellow);
}

/* Show Hamburger Button on Mobile */
@media (max-width: 768px) {
  #mobile-menu-btn {
    display: block;
  }

  .navigation {
    display: none;
  }
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #344e41, #3a5a40);
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  z-index: 0;
}

.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.cta-btn {
  background-color: var(--cyan);
  color: var(--black);
  font-size: 1.25rem;
  padding: 14px 32px;
  border-radius: 5px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.cta-btn:hover {
  background-color: var(--cyan-hover);
  box-shadow: 0 0 20px var(--cyan);
  transform: translateY(-5px);
}

.scroll-down {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@media (min-width: 768px) {
  .hero-section h1 {
    font-size: 5rem;
  }

  .hero-section p {
    font-size: 2rem;
  }
}

/* FAQ Section */
.faq-section {
  background: linear-gradient(135deg, var(--primary-green), var(--dark-bg));
  padding: 60px 20px;
  position: relative;
}

#faq-particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.2;
}

.faq-section h2 {
  color: var(--white);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 2rem;
}

.faq-item {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  color: #344e41;
  font-size: 1.25rem;
}

.faq-question i {
  color: var(--primary-green);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-question.active i {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding-top: 1rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
  display: block;
  max-height: 200px; /* Prilagodljiva visina za sadržaj */
  padding-top: 1rem;
}

.faq-answer p {
  color: var(--text-gray);
  font-size: 1.1rem;
  line-height: 1.6;
}

.faq-answer a {
  color: #3b82f6;
  text-decoration: underline;
}

/* CTA Section */
/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-green), var(--dark-bg));
  color: var(--white);
  text-align: center;
  padding: 40px 20px;
  background-attachment: fixed;
  position: relative;
}

#cta-particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.2;
}

.cta-section h2 {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.125rem; /* text-lg */
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cta-section h2 {
    font-size: 2.25rem; /* text-4xl */
  }

  .cta-section p {
    font-size: 1.25rem; /* text-xl */
  }
}

/* Responsive Styling za mobilnu verziju */
@media (max-width: 768px) {
  .cta-section {
    padding: 30px 15px;
  }

  .cta-section h2 {
    font-size: 1.5rem; /* Smanjen za mobilnu verziju */
    margin-bottom: 0.75rem;
  }

  .cta-section p {
    font-size: 1rem; /* Smanjen za mobilnu verziju */
    margin-bottom: 1rem;
  }

  .cta-btn {
    font-size: 1rem;
    padding: 10px 24px;
  }
}

/* Footer Styling */
.footer {
  background-color: var(--dark-bg);
  color: var(--text-light);
  padding: 4rem 0;
}

.footer h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer p {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.footer a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--accent-yellow);
}

.footer .social-icons a {
  font-size: 1.5rem;
  margin: 0 0.5rem;
  color: var(--text-light);
  transition: color 0.3s ease;
}

.footer .social-icons a:hover {
  color: var(--accent-yellow);
}

.footer .footer-links a {
  color: var(--text-light);
  margin-right: 15px;
  transition: color 0.3s ease;
}

.footer .footer-links a:hover {
  color: var(--accent-yellow);
}

/* Responsive Styling */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }

  .hero-section p {
    font-size: 1.25rem;
  }

  .faq-section h2 {
    font-size: 2rem;
  }

  .faq-question h3 {
    font-size: 1.1rem;
  }

  .faq-answer p {
    font-size: 1rem;
  }

  .footer .container {
    grid-template-columns: 1fr;
  }
}