* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Merriweather", serif;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #ffffff;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  background: rgba(0, 0, 0, 0.9);
  padding: 15px 0;
  width: 100%;
  z-index: 1500;
  backdrop-filter: blur(10px);
  position: relative;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #333;
}

.promo-banner {
  background: white;
  color: #000;
  font-weight: bold;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  padding: 10px 0;
  border-bottom: 1px solid #000;
  position: relative;
  z-index: 100;
}

.scrolling-text {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 15s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05), linear-gradient(135deg, rgba(255, 215, 0, 0.05), transparent);
  position: relative;
  overflow: hidden;
}

.about-section {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  padding: 100px 20px;
  flex-wrap: wrap;
}

.about-image-container {
  flex: 1 1 300px;
  text-align: center;
}

.about-image-placeholder {
  width: 300px;
  height: 445px;
  background-color: #333;
  border-radius: 50%;
  display: flex;
  background-image: url("../images/viktor.jpg"); /* Replace with actual path */
  background-size: contain;
  background-position: center;
}

.victorsredina {
  text-align: center;
}

.okrugla-slika {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover; /* Važno za očuvanje proporcija */
}

.about-text-container {
  flex: 2 1 600px;
  color: #fff;
}

.about-text-container h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-text-container p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #ddd;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23ffd700" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 30px;
  background: linear-gradient(45deg, white, white);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  z-index: 10001;
  position: relative;
}

.nav-links.mobile-active {
  display: flex !important;
  flex-direction: column;
  gap: 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.98);
  padding: 100px 0 50px 0;
  text-align: center;
  z-index: 10000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: slideInFromTop 0.3s ease-out;
}

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  display: block;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger:hover span {
  background: white;
  opacity: 0.8;
}

/* Active hamburger animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background: white;
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background: white;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(45deg, white, white);
  color: #000;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 10px 30px #333;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px #333;
}

/* Book Display */
.book-display {
  padding: 80px 0;
  text-align: center;
}

.ebook {
  width: 100%;
  height: auto;
  display: block;
  border: none;
  outline: none;
  image-rendering: auto;
}

@keyframes zoomInOut {
  0% {
    transform: scale(1.05);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1.05);
  }
}

.book-container {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 40px 0;
}

.book-cover {
  max-width: 430px;
  width: 100%;
  animation: zoomInOut 3s ease-in-out infinite;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
  overflow: hidden;
}

.book-cover::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #1a1a1a, transparent);
  transition: left 0.5s;
}

.book-cover:hover::before {
  opacity: 1;
}

.book-title {
  font-size: 2rem;
  color: #333;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.book-subtitle {
  font-size: 1rem;
  color: #ccc;
  text-align: center;
  margin-bottom: 30px;
}

.healing-symbol {
  width: 80px;
  height: 80px;
  border: 3px solid #1a1a1a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #1a1a1a;
  margin-bottom: 20px;
  background: #1a1a1a;
  box-shadow: 0 0 20px #1a1a1a;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    box-shadow: 0 0 20px #1a1a1a;
  }
  to {
    box-shadow: 0 0 30px #1a1a1a;
  }
}

.author {
  color: #1a1a1a;
  font-size: 1.1rem;
  font-weight: bold;
}

/* Results Section */
.results {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.05), linear-gradient(135deg, rgba(255, 215, 0, 0.05), transparent);
}

.results h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  color: #1a1a1a;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.result-item {
  background: rgba(255, 255, 255, 0.05), linear-gradient(135deg, rgba(255, 215, 0, 0.05), transparent);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid white;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.result-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, gray, transparent);
  transition: left 0.5s;
}

.result-item:hover::before {
  left: 100%;
}

.result-item:hover {
  transform: translateY(-5px);
  border-color: #1a1a1a;
  box-shadow: 0 10px 30px #1a1a1a;
}

.result-percentage {
  font-size: 3rem;
  color: white;
  font-weight: bold;
  margin-bottom: 15px;
}

.result-text {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
}

.testimonials h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  color: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.testimonial {
  background: rgba(255, 255, 255, 0.05), linear-gradient(135deg, rgba(255, 215, 0, 0.05), transparent);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid white;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, gray, transparent);
  transition: left 0.5s;
}

.testimonial:hover::before {
  left: 100%;
}

.testimonial:hover {
  transform: translateY(-5px);
  border-color: #1a1a1a;
  box-shadow: 0 10px 30px #1a1a1a;
}

.stars {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.testimonial-author {
  color: white;
  font-weight: bold;
}

/* Limited Offer */
.limited-offer {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.05), linear-gradient(135deg, rgba(255, 215, 0, 0.05), transparent);
  text-align: center;
}

.offer-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.offer-subtitle {
  font-size: 1.3rem;
  margin-bottom: 40px;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.countdown-item {
  text-align: center;
}

.countdown-number {
  font-size: 4rem;
  font-weight: bold;
  color: white;
  display: block;
}

.countdown-label {
  font-size: 1rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Popup Modal Styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9000;
  backdrop-filter: blur(10px);
}

.popup-overlay.show {
  display: flex;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.popup-content {
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  border: 2px solid white;
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px #1a1a1a;
  animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: color 0.3s;
}

.popup-close:hover {
  color: #fff;
}

.popup-title {
  font-size: 2rem;
  color: white;
  margin-bottom: 15px;
  text-shadow: 0 0 10px #1a1a1a;
}

.popup-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #fff;
}

.popup-countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.popup-countdown-item {
  text-align: center;
  background: #1a1a1a;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #1a1a1a;
}

.popup-countdown-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  display: block;
  text-shadow: 0 0 10px #1a1a1a;
}

.popup-countdown-label {
  font-size: 0.9rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ccc;
}

.popup-cta {
  background: linear-gradient(45deg, white, white);
  color: #000;
  padding: 18px 45px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.2rem;
  transition: all 0.3s;
  box-shadow: 0 10px 30px #1a1a1a;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.popup-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px #1a1a1a;
}

/* Footer */
.footer {
  background: #000;
  padding: 40px 0;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #333;
}

.copyright {
  color: #666;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links.mobile-active {
    display: flex !important;
  }

  .nav-links.mobile-active li {
    list-style: none;
    margin: 15px 0;
  }

  .nav-links.mobile-active a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
    padding: 15px 30px;
    display: inline-block;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInUp 0.5s ease-out;
    animation-fill-mode: both;
  }

  .nav-links.mobile-active li:nth-child(1) a {
    animation-delay: 0.1s;
  }
  .nav-links.mobile-active li:nth-child(2) a {
    animation-delay: 0.2s;
  }
  .nav-links.mobile-active li:nth-child(3) a {
    animation-delay: 0.3s;
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-links.mobile-active a:hover {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    transform: scale(1.05);
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .about-section {
    flex-direction: column;
    text-align: center;
  }

  .about-text-container {
    order: 2;
  }

  .about-image-container {
    order: 1;
  }

  .book-container {
    flex-direction: column;
    gap: 30px;
  }

  .book-cover {
    max-width: 250px;
  }

  .countdown {
    flex-wrap: wrap;
    gap: 20px;
  }

  .countdown-number {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .book-cover {
    max-width: 200px;
  }

  .book-title {
    font-size: 1.5rem;
  }
}
