/* 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: 20px 16px;
}

header .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);
  color: var(--white) !important;
}

/* 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;
}

.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.hero-section .cta-btn {
  background-color: var(--primary-green);
  color: var(--white);
  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;
}

.hero-section .cta-btn:hover {
  background-color: var(--secondary-green);
  box-shadow: 0 0 20px rgba(44, 94, 58, 0.7);
  transform: translateY(-5px);
}

.hero-section h1 {
  font-size: 5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

/* Scroll Down Arrow */
.scroll-down {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 3rem;
  }

  .hero-section p {
    font-size: 1.5rem;
  }

  .hero-section .cta-btn {
    font-size: 1rem;
    padding: 10px 20px;
  }
}

/* Features Section */
.features {
  background: linear-gradient(to bottom, var(--primary-green), var(--dark-bg));
  padding: 5rem 1rem;
}

.features h2 {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 800;
}

.features p {
  color: var(--black);
  font-size: 1.125rem;
}

.features h4 {
  color: var(--white);
  font-size: larger;
}

.feature-card {
  background: var(--white);
  border-radius: 10px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-title {
  color: #344e41;
  font-size: 1.25rem;
}

.feature-description {
  color: var(--black);
}

.feature-icon {
  color: var(--primary-green);
}

/* Services Section */
.services {
  background: linear-gradient(to right, var(--black), var(--primary-green));
  padding: 5rem 1rem;
  position: relative;
}

.services h2 {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 3rem;
}

.services p {
  color: var(--text-gray);
  font-size: 1.125rem;
}

.service-card {
  background: var(--white);
  border-radius: 10px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.service-card .absolute {
  top: 8px;
  right: 8px;
  background-color: #d4af37;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 5px;
}

.service-title {
  color: #344e41;
  font-size: 1.5rem;
}

.service-price {
  color: var(--primary-green);
  font-size: 1.25rem;
}

.service-description {
  color: var(--black);
}

.service-benefits li {
  color: var(--text-gray);
}

.service-benefits i {
  color: var(--primary-green);
}

.service-btn {
  background-color: var(--primary-green);
  color: var(--white);
  font-size: 1rem;
  padding: 12px 24px;
  border-radius: 5px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.service-btn:hover {
  background-color: var(--secondary-green);
  box-shadow: 0 0 20px rgba(44, 94, 58, 0.7);
  transform: translateY(-5px);
}

.service-card i {
  color: var(--primary-green);
}

#services-particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.5;
}

/* Statistics Section */
.statistics {
  background: linear-gradient(to right, var(--secondary-green), var(--dark-bg));
  color: var(--text-light);
  padding: 5rem 0;
  position: relative;
  background-attachment: fixed;
  background-size: cover;
}

.stat-number {
  color: var(--white);
  font-size: 3rem;
  font-weight: 700;
}

.stat-description {
  color: var(--text-light);
  font-size: 1.2rem;
}

#stats-particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3;
}

/* Parallax efekt */
.parallax {
  background-position: center;
}

@media (max-width: 768px) {
  .parallax {
    background-attachment: scroll; /* Sprječava probleme na mobilnim uređajima */
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-description {
    font-size: 1rem;
  }
}

/* How to Start Section */
.how-to-start {
  background: linear-gradient(to left, var(--dark-bg), var(--primary-green));
  padding: 5rem 1rem;
  position: relative;
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.how-to-start h2 {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 800;
}

.how-to-start .border-b-2 {
  border-color: var(--accent-yellow);
  width: 4rem;
  margin: 0 auto 2rem;
}

.step-number {
  background-color: var(--white);
  color: var(--primary-green);
}

.step-text {
  color: var(--white);
}

/* Reviews Section */
.reviews-section {
  padding: 4rem 1rem;
  background: linear-gradient(to left, var(--dark-bg), var(--primary-green));
  color: var(--white);
  text-align: center;
  position: relative;
}

.reviews-section h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.reviews-section p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: #d3d3d3;
}

.reviews-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.review-card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  width: 350px;
  text-align: left;
  color: #333;
  transition: transform 0.3s ease;
}

.review-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.review-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #344e41;
}

.review-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 0.75rem;
  color: var(--text-gray);
}

.review-card p.text-sm {
  font-size: 0.9rem;
  color: #666;
}

/* Arrows in reviews section (mobile only) */
.reviews-section button {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  border: none;
  font-size: 1.5rem;
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 10;
}

.reviews-section button:hover {
  background-color: var(--secondary-green);
}

.reviews-section button#reviewPrevBtn {
  left: 10px;
}

.reviews-section button#reviewNextBtn {
  right: 10px;
}

/* Scrollbar Hide */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@media (max-width: 768px) {
  .reviews-container {
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-wrap: nowrap;
    padding: 0 10px;
  }

  .review-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    margin: 0 10px;
  }

  .reviews-section button {
    display: block;
  }

  .reviews-section h2 {
    font-size: 1.5rem !important;
    line-height: 1.2;
    white-space: nowrap;
  }
}

/* CTA Section */
.cta-section {
  background: linear-gradient(to right, var(--primary-green), var(--dark-bg));
  color: var(--white);
  text-align: center;
  padding: 5rem 1rem;
  background-attachment: fixed;
  background-size: cover;
  position: relative;
}

.cta-section h2 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.cta-section .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-section .cta-btn:hover {
  background-color: var(--cyan-hover);
  box-shadow: 0 0 20px var(--cyan);
  transform: translateY(-5px);
}

#cta-particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.2;
}

@media (min-width: 768px) {
  .cta-section h2 {
    margin-bottom: 4rem;
  }
}

@media (max-width: 768px) {
  .cta-section h2 {
    font-size: 2rem;
  }

  .cta-section p {
    font-size: 1.25rem;
  }
}

/* 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-divider {
  border-top: 1px solid var(--text-gray);
  padding-top: 2rem;
  margin-top: 3rem;
}

.footer .footer-links a {
  font-size: 0.875rem;
  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) {
  .grid {
    grid-template-columns: 1fr;
  }

  .footer .container {
    grid-template-columns: 1fr;
  }

  .features h2 {
    font-size: 2rem !important;
  }

  .services h2 {
    font-size: 2rem !important;
  }

  .how-to-start h2 {
    font-size: 2rem !important;
  }

  .stat-number {
    font-size: 2rem !important;
  }
}