* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

header {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  height: 100vh;
  flex-direction: column;
  background: radial-gradient(circle at top, #222, #000 70%);
  animation: fadeIn 2s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (max-width: 950px) {
  header {
    min-height: auto;
    height: auto;
    padding: 40px 20px 60px 20px;
  }
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 950px) {
  header::before {
    height: 50px;
    background: linear-gradient(180deg, rgba(255,255,255,0.01) 0%, transparent 100%);
  }
}

header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(0deg, rgba(255,255,255,0.02) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.header-container {
  display: flex;
  align-items: center;
  gap: 100px;
  max-width: 1200px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.header-image {
  width: 450px;
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
  flex-shrink: 0;
  margin-top: 30px;
  box-shadow: 0 0 50px rgba(39,149,245,0.4);
}

/* Hero Slider */
.hero-slider {
  width: 450px;
  max-width: 100%;
  flex-shrink: 0;
  margin-top: 30px;
  position: relative;
  z-index: 2;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 800px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(39,149,245,0.4);
}

.slider-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  width: 500%;
  height: 100%;
  transition: transform 0.5s ease;
}

.slide {
  width: 20%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.slide-year {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  backdrop-filter: blur(10px);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  font-size: 2.2rem;
  font-weight: 300;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  padding: 0;
  margin: 0;
  text-align: center;
  line-height: 55px;
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.slider-btn:active {
  transform: translateY(-50%) scale(1.05);
}


.slider-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.slider-btn:active {
  transform: translateY(-50%) scale(1.05);
}

.slider-btn-prev {
  left: 15px;
}

.slider-btn-next {
  right: 15px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #2795F5;
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Responsive za slider */
@media (max-width: 950px) {
  .hero-slider {
    width: 100%;
    max-width: 400px;
  }

  .slider-container {
    height: 600px;
  }
  
  .slide img {
    object-fit: contain;
    object-position: center;
  }
}

@media (max-width: 768px) {
  .slider-container {
    height: 500px;
    max-height: 75vh;
  }
  
  .slide img {
    object-fit: contain;
    object-position: center;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .slide-year {
    font-size: 1rem;
    padding: 8px 16px;
  }
}

.header-text {
  max-width: 650px;
  text-align: left;
}

.header-text h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #fff;
  letter-spacing: 4px;
  text-transform: uppercase;
  animation: glow 4s infinite alternate;
}

.header-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ccc;
  margin-top: 20px;
}

.highlight {
  display: block;
  margin-top: 12px;
  font-weight: bold;
  color: #007BFF;
}

.cta-ready {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 24px;
  background: rgba(39,149,245,0.9);
  color: #fff;
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(39,149,245,0.2);
}

.cta-ready:hover {
  background: rgba(39,149,245,1);
  box-shadow: 0 4px 12px rgba(39,149,245,0.3);
}

header div[onclick] {
  margin-top: 15px;
  cursor: pointer;
  display: inline-block;
  padding: 12px 25px;
  background: #2795F5;
  color: #fff;
  font-weight: bold;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.2s, background 0.3s;
  user-select: none;
}

header div[onclick]:hover {
  transform: scale(1.05);
  background: #1e6fd1;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0,0,0,0.8);
  padding: 15px;
  display: flex;
  justify-content: center;
  gap: 30px;
  z-index: 1000;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s, transform 0.3s;
}

nav a:hover {
  color: #2795F5;
  transform: scale(1.1);
}

section {
  padding: 100px 10%;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

section.show {
  opacity: 1;
  transform: translateY(0);
}

/* Bela pozadina za ishrana sekciju */
#ishrana {
  background: #ffffff;
  color: #333;
}

#ishrana h2 {
  color: #2795F5;
}

/* Ponuda sekcija - moderniji gradijent sa belom */
#ponuda {
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
  position: relative;
}

#ponuda::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 100%);
  pointer-events: none;
}

/* Trening sekcija - dodatni efekat */
#trening {
  position: relative;
}

#trening::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
  pointer-events: none;
}

/* Footer ne treba animaciju - definicija je ispod u kontakt footer sekciji */

h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #2795F5;
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.card {
  background: rgba(17, 17, 17, 0.9);
  padding: 25px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  transform: translateZ(0);
  will-change: transform;
  text-align: center;
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
  transition: transform 0.2s ease;
}

.card:hover .card-icon {
  transform: scale(1.1);
}

.card:hover {
  background: rgba(17, 17, 17, 1);
  border-color: rgba(39,149,245,0.3);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  transform: translateY(-5px) translateZ(0);
}

/* Bele kartice za ishrana sekciju */
#ishrana .card {
  background: #ffffff;
  border: 2px solid #e8e8e8;
  color: #333;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  transform: translateZ(0);
  will-change: transform;
  text-align: center;
}

#ishrana .card-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
  transition: transform 0.2s ease;
}

#ishrana .card:hover .card-icon {
  transform: scale(1.1);
}

#ishrana .card:hover {
  background: #ffffff;
  border-color: #2795F5;
  box-shadow: 0 6px 20px rgba(39, 149, 245, 0.15);
  transform: translateY(-5px) translateZ(0);
}

#ishrana .card h3 {
  color: #2795F5;
  margin-bottom: 15px;
}

#ishrana .card p {
  color: #555;
  line-height: 1.8;
}

footer {
  background: #050505;
  text-align: center;
  padding: 40px 10px;
  color: #777;
}

/* Kontakt footer sekcija */
#kontakt {
  background: #ffffff;
  padding: 60px 10%;
  margin-top: 0;
  color: #333;
  opacity: 1;
  transform: none;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

#kontakt h2 {
  color: #2795F5;
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(39, 149, 245, 0.2);
  border-color: #2795F5;
  background: #ffffff;
}

.contact-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.contact-icon-svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: #2795F5;
}

.contact-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
  flex-grow: 1;
}

.contact-link:hover {
  color: #2795F5;
}

.contact-label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

.contact-link:hover .contact-value {
  color: #2795F5;
}

.footer-copyright {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

.footer-copyright p {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
}

.copyright-link {
  color: #2795F5;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.copyright-link:hover {
  color: #1e6fd1;
  text-decoration: underline;
}

@keyframes glow {
  from { text-shadow: 0 0 10px #2795F5; }
  to { text-shadow: 0 0 30px #2795F5; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* MODERNI PRICE CARD */
.price-cards.modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  margin-top: 50px;
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.price-card {
  background: rgba(17, 17, 17, 0.95);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover {
  border-color: rgba(39,149,245,0.4);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.price-card.dark {
  background: #ffffff;
  border-radius: 24px;
  padding: 35px;
  border: 2px solid #e8e8e8;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  color: #333;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.price-card.dark:hover {
  border-color: #2795F5;
  box-shadow: 0 6px 20px rgba(39, 149, 245, 0.15);
}

.price-card.dark h3,
.price-card.dark .price-new,
.price-card.dark ul li {
  color: #333;
  position: relative;
  z-index: 1;
}

.price-card.dark .price-new {
  color: #2795F5;
}

.price-card.dark .price-old {
  color: #999;
}

.price-card.highlight-blue {
  background: #2795F5;
  border-radius: 24px;
  padding: 35px;
  box-shadow: 0 4px 16px rgba(39, 149, 245, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.price-card.highlight-blue:hover {
  background: #2ba0ff;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 6px 20px rgba(39, 149, 245, 0.4);
}

.price-card.highlight-blue h3,
.price-card.highlight-blue .price-new,
.price-card.highlight-blue .price-old,
.price-card.highlight-blue ul li {
  color: #fff;
  position: relative;
  z-index: 1;
}

.price-card.highlight-red {
  background: #ff3c3c;
  border-radius: 24px;
  padding: 35px;
  box-shadow: 0 4px 16px rgba(255, 60, 60, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.price-card.highlight-red:hover {
  background: #ff5252;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 6px 20px rgba(255, 60, 60, 0.4);
}

.price-card.highlight-red h3,
.price-card.highlight-red .price-new,
.price-card.highlight-red .price-old,
.price-card.highlight-red ul li {
  color: #fff;
  position: relative;
  z-index: 1;
}

.price-card.highlight {
  border: 2px solid #2795F5;
}

.price-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.price {
  margin: 20px 0;
}

.price .new {
  font-size: 2.5rem;
  color: #2795F5;
  font-weight: bold;
}

.price .old {
  font-size: 1.2rem;
  color: #999;
  text-decoration: line-through;
  margin-left: 10px;
}

.price-box {
  margin: 20px 0;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.price-new {
  font-size: 3rem;
  font-weight: bold;
  color: #fff;
  line-height: 1;
}

.price-old {
  font-size: 1.4rem;
  color: #ff3c3c;
  text-decoration: line-through;
  line-height: 1.2;
}

.price-card ul {
  list-style: none;
  margin-top: 25px;
  margin: 20px 0;
  text-align: left;
}

.price-card ul li {
  margin-bottom: 12px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.price-card button {
  width: 100%;
  padding: 14px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  background: rgba(39,149,245,0.9);
  color: #fff;
  box-shadow: 0 2px 8px rgba(39,149,245,0.2);
  position: relative;
  z-index: 1;
}

.price-card button:hover {
  background: rgba(39,149,245,1);
  box-shadow: 0 4px 12px rgba(39,149,245,0.3);
}

/* Dugmad za bele kartice */
.price-card.dark button {
  background: #2795F5;
  border: none;
  color: #fff;
  box-shadow: 0 4px 16px rgba(39,149,245,0.3);
}

.price-card.dark button:hover {
  background: #1e6fd1;
  box-shadow: 0 6px 20px rgba(39,149,245,0.4);
}

.price-card button.red {
  background: rgba(255,60,60,0.9);
  box-shadow: 0 2px 8px rgba(255,60,60,0.2);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.price-card button.red:hover {
  background: rgba(255,60,60,1);
  box-shadow: 0 4px 12px rgba(255,60,60,0.3);
}

/* Dugmad za plave i crvene kartice */
.price-card.highlight-blue button,
.price-card.highlight-red button {
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.price-card.highlight-blue button:hover {
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.price-card.highlight-red button:hover {
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Stilovi za btn-info i btn-order */
.btn-info {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  color: #fff !important;
}

.price-card.dark .btn-info {
  background: rgba(39, 149, 245, 0.1) !important;
  border: 2px solid #2795F5 !important;
  color: #2795F5 !important;
}

.btn-info:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

.price-card.dark .btn-info:hover {
  background: rgba(39, 149, 245, 0.2) !important;
  border-color: #2795F5 !important;
}

/* .btn-order koristi postojeće button stilove */

#openPremiumModal:hover {
  background: red;
}

/* Form styles */
#planForm label {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  opacity: 0.85;
}

#planForm input {
  width: 100%;
  margin-top: 6px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  font-size: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

#planForm input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

#planForm input:focus {
  outline: none;
  border-color: rgba(74,140,255,0.5);
  background: rgba(0, 0, 0, 0.5);
}

#planForm button {
  margin-top: 22px;
  width: 100%;
  padding: 14px;
  background: rgba(74,140,255,0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(74,140,255,0.2);
}

#planForm button:hover {
  background: rgba(74,140,255,1);
  box-shadow: 0 4px 12px rgba(74,140,255,0.3);
}

/* Modal styles */
#modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.75);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

#modalContent {
  background: #111111;
  padding: 35px;
  border-radius: 24px;
  width: 90%;
  max-width: 500px;
  position: relative;
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

#modalContent h3 {
  color: #2795F5;
  margin-bottom: 20px;
}

#closeModal {
  position: absolute;
  top: 15px;
  right: 20px;
  cursor: pointer;
  font-size: 1.5rem;
  color: white;
}

.order-form input, .order-form textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 5px;
  margin-bottom: 15px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.order-form input:focus, .order-form textarea:focus {
  outline: none;
  border-color: rgba(39,149,245,0.5);
  background: rgba(0, 0, 0, 0.5);
}

.order-form button {
  background: rgba(39,149,245,0.9);
  color: white;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(39,149,245,0.2);
}

.order-form button:hover {
  background: rgba(39,149,245,1);
  box-shadow: 0 4px 12px rgba(39,149,245,0.3);
}

#openModal {
  background: #2795F5;
  color: white;
  padding: 12px 25px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s;
}

#openModal:hover {
  transform: scale(1.05);
}

/* Hamburger meni */
#sideMenuToggle {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 46px;
  height: 41px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 2000;
  padding: 8px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#sideMenuToggle div {
  height: 4px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s;
  width: 100%;
  transform-origin: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

#sideMenuToggle:hover {
  background: rgba(0, 0, 0, 0.8);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

#sideMenu {
  position: fixed;
  top: 0;
  left: -220px;
  width: 200px;
  height: 100%;
  background: rgba(17, 17, 17, 0.7);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  padding: 80px 20px 50px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: left 0.3s ease;
  z-index: 1500;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
}

#sideMenu.open {
  left: 0;
}

#sideMenu a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

#sideMenu a:hover {
  color: #2795F5;
}

#sideMenuToggle.open div:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

#sideMenuToggle.open div:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

#sideMenuToggle.open div:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

/* Zvonce desno gore */
#notifBell {
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 1.3rem;
  color: #2795F5;
  z-index: 2000;
  text-decoration: none;
}

#notifBell:hover {
  color: #fff;
}

/* Crvena tačka za obaveštenja */
#notifBadge {
  display: none;
  position: absolute;
  top: 0px;
  right: -5px;
  width: 12px;
  height: 12px;
  background: #ff4d4d;
  border-radius: 50%;
  border: 2px solid #111;
  z-index: 2001;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

#notifBadge.show {
  display: block;
}

/* Clock container */
#clockContainer {
  position: fixed;
  top: 25px;
  right: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 500;
  font-family: monospace;
}

#clock {
  color: #2795F5;
  font-weight: bold;
  white-space: nowrap;
}

/* Kontakt sekcija - ostalo je prebačeno u footer stilove */

/* Responsive za ekrane ispod 950px */
@media (max-width: 950px) {
  header {
    min-height: auto;
    height: auto;
    padding: 40px 20px;
  }

  .header-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .hero-slider {
    width: 100%;
    max-width: 400px;
    margin-top: 0;
  }

  .slider-container {
    height: 550px;
    max-height: 75vh;
  }

  .header-text {
    text-align: center;
    max-width: 100%;
  }

  .header-text h1 {
    font-size: 2rem;
    letter-spacing: 2px;
  }

  .header-text p {
    font-size: 0.95rem;
  }

  section {
    padding: 60px 5%;
  }
}

/* Responsive za mobilne telefone */
@media (max-width: 768px) {
  header {
    min-height: auto;
    height: auto;
    padding: 30px 15px;
  }

  .header-container {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  .hero-slider {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 20px;
  }

  .slider-container {
    height: 500px !important;
    max-height: 75vh;
  }

  .header-image {
    width: 90%;
    margin-bottom: 20px;
  }

  .header-text {
    text-align: center;
    max-width: 100%;
  }

  .header-text h1 {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }

  .header-text p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  header h1 {
    font-size: 1.8rem;
    letter-spacing: 1px;
    text-align: center;
  }

  header p {
    font-size: 0.9rem;
    text-align: center;
  }

  header img {
    width: 90%;
    margin-top: 20px;
  }

  header div[onclick] {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin-top: 15px;
  }

  section {
    padding: 50px 5%;
  }

  #kontakt {
    padding: 50px 5%;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  #kontakt h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .contact-item {
    padding: 15px;
  }

  h2 {
    font-size: 2rem;
  }

  .cards {
    gap: 20px;
  }

  .card {
    padding: 20px;
  }

  #modalContent, #howContent {
    width: 95%;
  }

  #modalContent img, #howContent img {
    width: 40%;
    margin-top: 15px;
  }
}

/* Modal obaveštenja */
#notifModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.75);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

#notifContent {
  background: #111111;
  padding: 35px;
  border-radius: 24px;
  width: 90%;
  max-width: 370px;
  text-align: center;
  color: #fff;
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

#closeNotif {
  position: absolute;
  top: 15px;
  right: 20px;
  cursor: pointer;
  font-size: 1.1rem;
  color: white;
}

#notifContent h3 {
  color: #2795F5;
}

/* Modal za "Da li si spreman?" */
#readyModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.75);
  justify-content: center;
  align-items: center;
  z-index: 10001;
}

#readyContent {
  background: #111111;
  padding: 35px;
  border-radius: 24px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  color: #fff;
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

#readyContent h3 {
  color: #2795F5;
}

#readyContent button {
  padding: 12px 24px;
  background: rgba(39,149,245,0.9);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(39,149,245,0.2);
}

#readyContent button:hover {
  background: rgba(39,149,245,1);
  box-shadow: 0 4px 12px rgba(39,149,245,0.3);
}

/* Modal "Saznaj kako" */
#howModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.75);
  justify-content: center;
  align-items: center;
  z-index: 10001;
}

#howContent {
  background: #111111;
  padding: 35px;
  border-radius: 24px;
  width: 500px;
  max-width: 95%;
  position: relative;
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

#howContent h3 {
  color: #2795F5;
}

/* Modal za Početnički program */
#beginnerModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.75);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

#beginnerModalContent {
  background: #111111;
  padding: 35px;
  border-radius: 24px;
  width: 90%;
  max-width: 800px;
  position: relative;
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

#closeBeginnerModal {
  position: absolute;
  top: 15px;
  right: 20px;
  cursor: pointer;
  font-size: 1.5rem;
  color: white;
}

#beginnerModalContent h3 {
  color: #2795F5;
  margin-bottom: 20px;
}

/* Button za prikazivanje slike sundjera */
#showSundjeriImage:hover {
  background: rgba(39,149,245,0.3) !important;
  border-color: #2795F5 !important;
  box-shadow: 0 4px 12px rgba(39,149,245,0.3);
}

@media (max-width: 480px) {
  #clockContainer {
    top: 10px !important;
    right: 10px !important;
    gap: 5px !important;
    font-size: 0.9rem !important;
  }

  #notifBell {
    font-size: 1.2rem !important;
  }

  #clock {
    white-space: nowrap;
    color: #2795F5;
    font-weight: bold;
  }
}

/* Payment Modal - fiksiran i skrolabilan */
#paymentModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 10002;
  overflow-y: auto;
  padding: 20px 0;
}

#paymentModalContent {
  background: #111;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  position: relative;
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  margin: 20px auto;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Osiguraj da PayPal forma može da se skroluje */
#paymentModalContent #paypal-button-container {
  max-height: none;
  overflow: visible;
}

/* Responsive za payment modal */
@media (max-width: 768px) {
  #paymentModalContent {
    max-height: 95vh;
    width: 95%;
    padding: 20px;
    margin: 10px auto;
  }
}

/* Responsive za info modale (Saznaj više) */
@media (max-width: 768px) {
  #sundjeriInfoContent,
  #beginnerInfoContent,
  #premiumInfoContent {
    max-height: 90vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    margin: 20px auto !important;
    padding: 30px 20px !important;
  }

  /* Uplatnica primer - horizontalni scroll na mobilnim uređajima */
  #successUplatnicaExampleContainer {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 15px !important;
  }

  #successUplatnicaExampleImage {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    justify-content: flex-start !important;
    padding: 10px !important;
  }

  #successUplatnicaExampleImage img {
    min-width: 600px !important;
    max-width: none !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
  }
}