@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: white;
  background: linear-gradient(to right, #0B2E13, #204E1E, #4E7C33, #6DA945, #7FBF4D);
  background-size: 100% 100%; /* gradient 2x širši od okna */
  background-position: center;
  animation: gradientShift 10s ease-in-out infinite alternate;
  overflow-x: hidden;
  scroll-behavior: smooth;
  position: relative;
   -webkit-overflow-scrolling: touch;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 20px;
  left: 0px;
  right: 0px;
  z-index: 999;
  
  background: linear-gradient(to right, rgba(19, 48, 0, 0.8), rgba(32, 78, 30, 0.8));
  backdrop-filter: blur(4px); /* rahla zameglitev za boljši kontrast */
 height: 65px; /* ali fiksna višina */
 /* overflow: hidden; /* prepreči, da bi večji logo potisnil elemente */

}

.navbar-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: left;
  padding: 0 20px;
}

.logo img {
  height: 35px;

}

.menu a {
  color: white;
  text-decoration: none;
  margin-left: 15px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 1px;
  transition: background 0.3s;
}

.menu a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
}

.navbar-left,
.navbar-right {
  flex: 1;
  display: flex;
  align-items: center;
}

.navbar-left {
  justify-content: flex-start;
  display: flex;
  align-items: center;
  height: 100%;
  height: 100%;
}


.navbar-right {
  justify-content: flex-end;
}

.navbar-center {
  flex: 2;
  display: flex;
  justify-content: center;
}

.highlight{
  --font-size: 120%;
    background: rgba(255, 255, 255, 0.2);
}

.menu {
  display: flex;
  gap: 24px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
 
}

.social-icons a {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
 /* border: 2px solid white;*/
  border-radius: 50%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s;
}

.social-icons a:hover {
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
}

.social-icons svg {
  width: 24px;
  height: 24px;
  fill: white;
}


.social-icons img {
  width: 25px;
  height: 25px;
  filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
  .social-icons {
    display: none;
  }

  .navbar-inner {
    flex-direction: column;
  }

  .navbar-left, .navbar-center, .navbar-right {
    width: 100%;
    justify-content: left;
    margin-bottom: 10px;
  }
}

.clock_icon{
  width:16px; 
  height:16px; 
  vertical-align:middle; 
  margin-right:8px;
}

@media (max-width: 768px) {
  .navbar {flex-direction: column;align-items: flex-start;}
  .menu {margin-top: 10px;}
  .menu a {margin: 5px 8px;font-size: 0.9em;}
}

@media (max-width: 768px) {
  .navbar {
    top: 0;
    left: 0;
    right: 0;
    padding: 5px 5px; 
    height: 48px;
  }
}
/*
.menu a {
  color: white;
  text-decoration: none;
  margin-left: 15px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.3s;
}

.menu a:hover {
  background: rgba(255, 255, 255, 0.2);
} */

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; /* premakne vsebino na levo */
  text-align: left; /* poravnava besedila na levo */
 /* min-height: 100vh;*/
  position: relative;
  height: 80vh;
  padding: 0px 10%; /* dodaš razmik od leve */
  padding-top: 80px;

  /* kombinacija zelenega preliva in slike */
  background-image: 
   /* linear-gradient(to right, rgba(11, 46, 19, 0.1), rgba(32, 78, 30, 0.8), rgba(79, 124, 51, 0.1)),*/
    url('/content/Img_05-min-1.jpeg'); 

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero h1 {
  font-size: 6em;
  font-weight: 600;
  margin-bottom: 20px;
  text-shadow: 8px 8px 8px rgba(0, 0, 0, 0.6); 
   line-height: 0.9;
}
/*
.save-date {
  display: inline-block;
  background: white;
  color: #003366;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.2em;
  margin-top: 20px;
  transition: background 0.3s;
}
*/
.save-date:hover {
  background: #f0f0f0;
}

.hero-subtitle, .hero-details {
  margin-top: 40px;
  font-size: 1.2em;
}
/*
.decor-circle {
  position: absolute;
  border-radius: 50%;
  background: white;
  opacity: 0.15;
  z-index: 0;
}


/*novo*/
/*
.decor-circle {
  position: absolute;
  border-radius: 50%;
  background: white;
  opacity: 0.65;
  z-index: 2; /* večji od .hero */
 /*pointer-events: none;
}*/
/*
.circle1 { width: 150px; height: 150px; top: 50px; left: 10%; }
.circle2 { width: 80px; height: 80px; top: 200px; right: 15%; }
.circle3 { width: 120px; height: 120px; bottom: 300px; left: 20%; }
.circle4 { width: 100px; height: 100px; bottom: 100px; right: 10%; }
*/

.section {
  display: flex;
  flex-direction: column;
  justify-content: top;
  align-items: center;
  min-height: 60vh;
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.divider {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
}

.section h2 {
  font-size: 2em;
  margin-bottom: 20px;
  text-align: center;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6); 
}

.section p, .section ul {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
}

.section ul {
  list-style: disc;
  margin: 20px auto 0 auto;
  text-align: left;
  max-width: 700px;
}

.venue-map {
  width: 100%;
  height: 400px;
  margin-top: 20px;
 
}

footer {
  text-align: center;
  padding: 40px 20px;
  background: #133000;
}

footer img {
  max-height: 55px; /* omeji višino */
  /*max-width: 180px;*/
   margin: 0 10px;
  vertical-align: middle;
  height: auto; /* ohrani razmerje stranic */
  width: auto;
  gap: 50px;
}


@media (max-width: 768px) {
  .hero h1 { font-size: 2em; }
  .menu { top: auto; bottom: 20px; right: 50%; transform: translateX(50%); }
  .menu a { margin: 0 8px; font-size: 0.9em; }
}

.programme-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.1); /* transparent white background */
  border-radius: 8px;
  overflow: hidden;
}

.programme-table th, .programme-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4); /* white-ish lines */
  color: white;
}

.programme-table th {
  background: rgba(0, 0, 0, 0.3); /* dark transparent header */
  color: white;
  font-size: 1.1em;
}

.programme-table tr:last-child td {
  border-bottom: none;
}

.programme-table tr:hover {
  background: rgba(255, 255, 255, 0.2);
}
.programme-table {
  overflow-x: auto;
  display: block;
}
.programme-table th:first-child,
.programme-table td:first-child {
  width: 180px; /* ali 200px, prilagodi po potrebi */
  white-space: nowrap;
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  justify-items: center;
  width: 100%;
}

.speaker-card {
  text-align: center;
  background: rgba(255,255,255,0.1);
  padding: 20px;
  border-radius: 12px;
  transition: transform 0.3s;
}

.speaker-card:hover {
  transform: translateY(-10px);
}

.speaker-card img {
  border-radius: 50%;
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin-bottom: 15px;
  border: 2px solid white; /* to je tanka bela obroba */
}

.speaker-card h3 {
  font-size: 1.1em;
  font-weight: 700;
  margin-bottom: 10px;
}

.speaker-card p {
  font-size: 0.95em;
  color: white;
  line-height: 1.4;
}



.info-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  background: white;
  color: #003366;
  padding: 30px 20px;
  border-radius: 0; /* brez zaobljenih robov */
  width: 100vw;     /* celotna širina zaslona */
  max-width: none;  /* odstrani omejitve */
  margin: 0;
  position: relative;
  z-index: 10;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: center;
  flex: 1 1 50px;
  min-width: 200px;
}

.info-icon {
  font-size: 2em;
  text-align: center;
}

.info-divider {
  width: 2px;
  height: 50px;
  background: #ccc;
  margin: 0 20px;
}

@media (max-width: 768px) {
  .info-bar {flex-direction: column;}
  /*.info-divider {display: none;}*/
}

.info-svg {
  width: 32px;
  height: 32px;
}

footer {
  position: relative;
  text-align: center;
  padding: 60px 20px;
  color: white;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
 
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}


footer > * {
  position: relative;
  z-index: 1;
}


.hamburger {
  font-size: 2em;
  cursor: pointer;
  display: none;
  z-index: 1001;
  color: white;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
  }

  .menu { display: none; }
}
.hamburger {
  font-size: 2em;
  cursor: pointer;
  display: none;
  z-index: 1001;
  color: white;
}

@media (max-width: 768px) {
  .menu { display: none; }
  .hamburger { display: block; position: absolute; top: 10px; right: 10px; }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -330px; /* skrito */
  width: 250px;
  height: 100%;
  background: #7FBF4D;
  opacity: 0.9;
  display: flex;
  flex-direction: column;
  padding: 10px 20px;
  box-shadow: -2px 0 10px rgba(0,0,0,0.3);
  transition: right 0.4s ease;
  z-index: 1000;
}

.mobile-menu a {
  margin: 5px 0;
  text-decoration: none;
  color: white;
  background: #4E7C33;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  transition: background 0.3s;
}

.mobile-menu a:hover {
  background: #306127;
}

.mobile-menu .close-btn {
  align-self: flex-end;
  font-size: 1.8em;
  cursor: pointer;
  color: #4E7C33;
}

.mobile-menu.active {
  right: 0;
}

.info-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  background: white;
  color: #003366;
  padding: 20px 0px;
  width: 100%;
  box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  font-size: 18px;
  line-height: 1.4;
  max-width: 300px;
}

.info-svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.info-divider {
  width: 1px;
  height: 30px;
  background: #003366;
  margin: 0 10px;
}

@media (max-width: 768px) {
  .info-bar {
    flex-direction: column;
    width: 100vw;
    border-radius: 5;
    margin: 0;
  }
  .info-divider {
    width: 80%;
    height: 2px;
    background: #003366;
    margin: -10 10;
  }
  
  .info-item {
    font-size: 1.2em; 
 
  }
  .info-item strong {
    font-size: 1.25em; 
  }
}
.section h2 {
  position: relative;
  font-size: 2em;
  margin-bottom: 30px;
  text-align: center;
  color: white;
  overflow: hidden; 
}

.section h2::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  height: 4px;
  width: 0; 
  background-color: white;
  border-radius: 2px;
  transition: width 8s ease-out;
}

.section.visible h2::after {
  width: 100%; 
}
@keyframes float {
  0%, 100% { transform: translateY(100); }
  50% { transform: translateY(-50px); }
}

.decor-circle {
  position: absolute;
  border-radius: 50%;
  background: white;
  opacity: 0.25;
  z-index: 0;
  animation: float 6s ease-in-out infinite;
}

.circle1 { width: 150px; height: 150px; top: 50px; left: 10%; animation-delay: 0s; }
.circle2 { width: 80px; height: 80px; top: 200px; right: 15%; animation-delay: 1.5s; }
.circle3 { width: 120px; height: 120px; bottom: 300px; left: 20%; animation-delay: 3s; }
.circle4 { width: 100px; height: 100px; bottom: 600px; right: 10%; animation-delay: 4.5s; }


#splash-screen {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to right, #0B2E13 0%, #204E1E 25%, #4E7C33 50%, #6DA945 75%, #7FBF4D 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
  transition: opacity 1s ease;
}

.splash-content {
  text-align: center;
  color: white;
}

.loader {
  margin: 20px auto;
  border: 8px solid rgba(255, 255, 255, 0.3);
  border-top: 8px solid white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.hero-subtitle-wide {
  max-width: 900px; 
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.decor-circle {
  mix-blend-mode: lighten; /* za mehkejši učinek nad sliko, opcijsko */
}

.mobile-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: auto;
  padding-top: 10px;
  margin-bottom: 50px;
}

.mobile-social a img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1); 
  transition: transform 0.2s ease;
}

.mobile-social a img:hover {
  transform: scale(1.2);
}

.dot-cluster {
  position: absolute;
  display: flex;
  gap: 15px;
  z-index: 2;
  top: 15%;      
  right: 5%;
}

.dot-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.dot {
  width: 8px;
  height: 8px;
  background-color: white;
  border-radius: 50%;
  opacity: 0;
  animation: blink 7s infinite ease-in-out;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.dot-cluster1 {
  position: absolute;
  display: flex;
  gap: 15px;
  z-index: 2;
  top: 15%;      
  left: 5%;
}

.dot-column1 {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.dot1 {
  width: 8px;
  height: 8px;
  background-color: white;
  border-radius: 50%;
  opacity: 0;
  animation: blink 7s infinite ease-in-out;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
@media (max-width: 768px) {
  .dot-cluster1 {
    top: -55%;
    left: -12%;
    transform: scale(0.8); /* po želji */
  }
}
@keyframes blink {
  0%, 100% {
    opacity: 0.1;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}

/* individualni zamiki za valovanje */
.dot:nth-child(1)  { animation-delay: 0s; }
.dot:nth-child(2)  { animation-delay: 0.1s; }
.dot:nth-child(3)  { animation-delay: 0.3s; }
.dot:nth-child(4)  { animation-delay: 0.5s; }
.dot:nth-child(5)  { animation-delay: 0.8s; }
.dot:nth-child(6)  { animation-delay: 1.1s; }
.dot:nth-child(7)  { animation-delay: 1.4s; }
.dot:nth-child(8)  { animation-delay: 1.7s; }
.dot:nth-child(9)  { animation-delay: 2.4s; }
.dot:nth-child(10)  { animation-delay: 2.7s; }

.reservation-button {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(90deg, #004e00, #009900);
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.3s, transform 0.3s;
}

.reservation-button:hover {
  background: linear-gradient(90deg, #006600, #00cc00);
  transform: scale(1.05);
}


.splash-countdown {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  font-weight: bold;
  font-size: 1.4rem;
  font-weight: 400;
  padding: 6px 14px;
  border-radius: 8px;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 1px;
  top: 100px;
}

#contact-section {
  background-color: white;
  padding: 10px 10px;
  display: flex;
  justify-content: center;
text-align: center;
}

.contact-box {
  max-width: 800px;
  width: 100%;
  text-align: center;
  color: #003366; 
  }

  .modal {
  display: none; 
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}

.modal-content {
  background-color: #133000;
  margin: 10% auto;
  padding: 30px;
  border: 2px solid #fff;
  width: 80%;
  max-width: 500px;
  color: white;
  border-radius: 12px;
  text-align: center;
}

.modal-content img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 2px solid white;
}

.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

 .live-cta {
    color: white;
    text-shadow: 0 0 5px black, 0 0 10px black;
    transition: all 0.3s ease;
    display: inline-block;
  }

  .live-cta:hover {
    animation: neonPulse 1s infinite alternate;
    transform: scale(1.1);
  }

  @keyframes neonPulse {
    0% {
      text-shadow: 0 0 5px black, 0 0 10px black;
    }
    50% {
      text-shadow: 0 0 10px black, 0 0 20px black;
    }
    100% {
      text-shadow: 0 0 15px black, 0 0 30px black;
    }
  }

/* ===== GALERIJA ===== */
.gallery-section {
  padding: 60px 20px;
  text-align: center;
}

.gallery-section h2 {
  margin-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3; /* enotno razmerje */
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* Mobilna verzija */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr); /* vedno vsaj 2 v vrsti */
    gap: 10px;
  }
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.9);
}

.lightbox img {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
}

.lightbox .close {
  position: absolute;
  top: 20px; right: 35px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.lightbox .prev,
.lightbox .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 32px;
  transition: 0.3s;
  user-select: none;
  z-index: 10001;
}

.lightbox .prev {
  left: 20px;
}

.lightbox .next {
  right: 20px;
}

.lightbox .prev:hover,
.lightbox .next:hover {
  color: #bbb;
}
