/* Global styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1e2b37;
  background-color: #ffffff;
  line-height: 1.6;
}

h1, h2, h3, h4, .navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Navbar */
.navbar {
  background-color: #0b2a3c !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 0.4rem 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.6rem;
  color: #fff !important;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 75px;
  width: auto;
  margin-right: 12px;
}

.navbar-dark .nav-link {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  margin: 0 0.5rem;
  transition: 0.2s;
  font-size: 1.1rem;
}

.navbar-dark .nav-link:hover {
  color: #ffb347;
}

/* Navbar Social Icons */
.navbar-social {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.navbar-social a {
  color: rgba(255,255,255,0.85);
  font-size: 1.3rem;
  transition: 0.2s;
  text-decoration: none;
}

.navbar-social a:hover {
  color: #ffb347;
  transform: scale(1.15);
}

/* Language Switcher */
.navbar-lang-switcher {
  margin-left: auto;
  margin-right: 0;
}

.btn-lang {
  background-color: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.5rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 30px;
  transition: 0.2s;
}

.btn-lang:hover {
  color: #ffb347;
  border-color: #ffb347;
  background-color: rgba(255,179,55,0.1);
}

.dropdown-menu {
  background-color: #0b2a3c;
  border: 1px solid rgba(255,179,55,0.3);
  border-radius: 12px;
}

.dropdown-item {
  color: rgba(255,255,255,0.85);
  transition: 0.2s;
}

.dropdown-item:hover {
  background-color: rgba(255,179,55,0.2);
  color: #ffb347;
}

.dropdown-item .flag {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

/* Carousel */
.carousel {
  box-shadow: 0 8px 20px rgba(0, 40, 60, 0.1);
}

.carousel-item {
  height: 70vh;
  min-height: 400px;
  background: #1a2e3f;
}

.carousel-item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  filter: brightness(0.8) contrast(1.1);
}

.carousel-caption {
  background: linear-gradient(0deg, rgba(0,20,30,0.7) 0%, transparent 100%);
  border-radius: 24px;
  bottom: 30px;
  padding: 1.8rem 2.2rem;
  left: 10%;
  right: 10%;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(3px);
}

.carousel-caption h5 {
  font-size: 2.2rem;
  font-weight: 700;
  text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.carousel-caption p {
  font-size: 1.2rem;
  font-weight: 400;
  opacity: 0.95;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0,0,0,0.4);
  border-radius: 50%;
  padding: 1.5rem;
}

/* Section spacing */
.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #ffb347;
  margin: 0.8rem auto 0;
  border-radius: 4px;
}

/* Desktop spacing - spusti naslove ispod sticky navigacije */
@media (min-width: 769px) {
  .section-title {
    margin-top: 3rem;
  }
}

.bg-soft {
  background-color: #f4f9fc;
}

/* Cards & Modern lists */
.info-card {
  border: none;
  border-radius: 28px;
  background: white;
  box-shadow: 0 18px 35px -12px rgba(0, 50, 70, 0.15);
  transition: all 0.25s ease;
  height: 100%;
  overflow: hidden;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 40px -10px rgba(0, 100, 130, 0.25);
}

.card-header-custom {
  background: #0b2a3c;
  color: white;
  padding: 1.2rem 1.8rem;
  border-bottom: 4px solid #ffb347;
}

.card-header-custom h3 {
  margin: 0;
  font-weight: 600;
  font-size: 1.8rem;
}

.list-group-flush-custom .list-group-item {
  border: none;
  border-bottom: 1px solid #eef2f6;
  padding: 1.1rem 1.8rem;
  font-size: 1.1rem;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.list-group-flush-custom .list-group-item:last-child {
  border-bottom: none;
}

.badge-time {
  background-color: #ffb347;
  color: #0b2a3c;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 40px;
}

.price-tag-modern {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0b2a3c;
  line-height: 1.2;
}

.price-tag-modern small {
  font-size: 1rem;
  font-weight: 400;
  color: #5f7d95;
}

.club-description {
  font-size: 1.2rem;
  color: #2c4050;
  background: white;
  padding: 2.5rem;
  border-radius: 32px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.02);
  border: 1px solid rgba(0,70,100,0.08);
}

/* Buttons */
.btn-cta {
  background-color: #ffb347;
  border: none;
  color: #0b2a3c;
  font-weight: 700;
  padding: 0.9rem 2.8rem;
  border-radius: 60px;
  font-size: 1.2rem;
  box-shadow: 0 8px 18px -6px #ffb34780;
  transition: 0.2s;
}

.btn-cta:hover {
  background-color: #f0a334;
  color: #0b2a3c;
  transform: scale(1.02);
}

/* Footer */
footer {
  background-color: #0b2a3c;
  color: #d0e2ef;
  padding: 3rem 0 2rem 0;
  border-top: 1px solid #254c62;
}

footer a {
  color: #ffb347;
  text-decoration: none;
}

/* Form styling */
.form-control-modern {
  border: 1px solid #dbe4eb;
  border-radius: 40px;
  padding: 0.9rem 1.5rem;
  background: white;
  transition: 0.2s;
}

.form-control-modern:focus {
  border-color: #ffb347;
  box-shadow: 0 0 0 3px rgba(255,180,70,0.2);
  outline: none;
}

.contact-icon {
  color: #ffb347;
  margin-right: 8px;
}

/* Form messages */
#formMessage {
  border-radius: 12px;
  margin-bottom: 1.5rem;
  padding: 1rem 1.5rem;
  font-weight: 500;
}

#formMessage.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

#formMessage.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Gallery styles */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.gallery-item {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 50, 70, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 100, 130, 0.25);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.gallery-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-controls button {
  padding: 0.8rem 1.8rem;
  background-color: #0b2a3c;
  color: white;
  border: none;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.gallery-controls button:hover {
  background-color: #ffb347;
  color: #0b2a3c;
}

.gallery-controls button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.gallery-info {
  text-align: center;
  color: #5f7d95;
  font-weight: 500;
  margin-top: 1rem;
}

/* Responsive design */
@media (max-width: 768px) {
  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .gallery-item img {
    height: 250px;
  }
}

@media (max-width: 576px) {
  /* Navbar mobile - jezična ikonica pored društvenih mreža */
  .navbar-lang-switcher {
    margin-left: 0.5rem;
    margin-right: 0;
  }
  
  .btn-lang {
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
  }
  
  /* Gallery mobile - carousel mode sa swipe */
  .gallery-container {
    display: flex;
    grid-template-columns: unset;
    gap: 0;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    margin-bottom: 1.5rem;
    position: relative;
    width: 100%;
    touch-action: pan-y;
  }
  
  .gallery-item {
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: start;
    cursor: grab;
  }
  
  .gallery-item:active {
    cursor: grabbing;
  }
  
  .gallery-item img {
    height: 300px;
  }
  
  .gallery-controls {
    display: none;
  }
  
  .gallery-info {
    font-size: 0.9rem;
  }
}

/* Video Gallery styles */
.video-gallery-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.video-gallery-item {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 50, 70, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.video-gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 100, 130, 0.25);
}

.video-gallery-item iframe {
  width: 100%;
  height: 250px;
  border: none;
  display: block;
}

.video-gallery-item .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-gallery-item:hover .video-overlay {
  opacity: 1;
}

.video-gallery-item .play-button {
  width: 60px;
  height: 60px;
  background: rgba(255, 179, 55, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  transition: all 0.3s ease;
}

.video-gallery-item:hover .play-button {
  transform: scale(1.1);
  background: rgba(255, 179, 55, 1);
}

/* Responsive video gallery */
@media (max-width: 768px) {
  .video-gallery-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .video-gallery-item iframe {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .video-gallery-container {
    display: flex;
    grid-template-columns: unset;
    gap: 0;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    margin-bottom: 1.5rem;
    position: relative;
    width: 100%;
    touch-action: pan-y;
  }
  
  .video-gallery-item {
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: start;
    cursor: grab;
  }
  
  .video-gallery-item:active {
    cursor: grabbing;
  }
  
  .video-gallery-item iframe {
    height: 250px;
  }
  
  .video-gallery-controls {
    display: none;
  }
  
  .video-gallery-info {
    font-size: 0.9rem;
  }
}

/* Pricing Cards */
.pricing-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 50, 70, 0.15);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 100, 130, 0.25);
}

.pricing-header {
  background: linear-gradient(135deg, #0b2a3c 0%, #1a4a5c 100%);
  color: white;
  padding: 2rem 1.5rem;
  text-align: center;
}

.pricing-header h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.price {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffb347;
  margin-bottom: 0.25rem;
}

.per-person {
  font-size: 0.9rem;
  opacity: 0.9;
  font-weight: 500;
}

.pricing-body {
  padding: 2rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.duration {
  background: #f8f9fa;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 600;
  color: #0b2a3c;
}

.duration i {
  color: #ffb347;
}

.pricing-body h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #0b2a3c;
}

.included-list, .excluded-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.included-list li, .excluded-list li {
  padding: 0.5rem 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.pricing-footer {
  padding: 1.5rem;
  background: #f8f9fa;
  text-align: center;
}

.btn-pricing {
  background: linear-gradient(135deg, #ffb347 0%, #ff9f1a 100%);
  color: #0b2a3c;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 179, 55, 0.3);
}

.btn-pricing:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 179, 55, 0.4);
  color: #0b2a3c;
  text-decoration: none;
}

.discount-note {
  background: rgba(255, 179, 55, 0.1);
  border: 1px solid rgba(255, 179, 55, 0.3);
  border-radius: 15px;
  padding: 1.5rem;
  width: 100%;
  font-weight: 500;
  color: #0b2a3c;
}

.discount-note i {
  color: #ffb347;
  font-size: 1.2rem;
}

/* Responsive pricing cards */
@media (max-width: 768px) {
  .pricing-card {
    margin-bottom: 2rem;
  }
  
  .pricing-header {
    padding: 1.5rem 1rem;
  }
  
  .pricing-header h3 {
    font-size: 1.5rem;
  }
  
  .amount {
    font-size: 2rem;
  }
  
  .pricing-body {
    padding: 1.5rem 1rem;
  }
}

/* Zašto baš mi? section */
.why-us-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.why-us-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.why-us-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #00bcd4; /* tirkizna/plava boja */
}

.why-us-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0b2a3c;
  margin-bottom: 0.75rem;
}

.why-us-desc {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.additional-benefits {
  background: rgba(0, 188, 212, 0.1);
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.benefit-item {
  display: inline-block;
  margin: 0 1rem;
  font-weight: 500;
  color: #0b2a3c;
}

.benefit-icon {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

/* Responsive za dodatne pogodnosti */
@media (max-width: 768px) {
  .benefit-item {
    display: block;
    margin: 0.5rem 0;
  }
  
  .additional-benefits p {
    line-height: 2;
  }
}

/* Lightbox modal for images and videos */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1;
}

.lightbox-inner {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-inner img,
.lightbox-inner iframe {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.4);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* Video Lightbox (16:9 aspect ratio) */
.video-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.95);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.video-lightbox-content {
  position: relative;
  width: 90vw;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  animation: slideUp 0.3s ease;
}

.video-lightbox-content iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-lightbox-close {
  position: absolute;
  top: -3rem;
  right: 0;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease;
}

.video-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* Play button animation - hover effect */
.video-gallery-item.clickable {
  cursor: pointer;
}

.video-gallery-item.clickable .play-button {
  transition: all 0.3s ease;
}

.video-gallery-item.clickable:hover .play-button {
  transform: scale(1.3);
  background: rgba(255, 179, 55, 1) !important;
}

/* Animacija za otvaranje modalnog prozora */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsivnost za male ekrane */
@media (max-width: 768px) {
  .video-lightbox-content {
    width: 95vw;
    max-width: 95vw;
  }

  .video-lightbox-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .video-lightbox-content {
    width: 100vw;
    max-width: 100vw;
    height: 56.25vw;
    aspect-ratio: 16 / 9;
  }

  .video-lightbox-close {
    top: 5px;
    right: 5px;
    width: 32px;
    height: 32px;
    font-size: 1.4rem;
  }
}
