html {
  scroll-behavior: smooth;
}

:root {
  --green-dark: #1f7a5a;
  --green-accent: #6fcf97;
  --dark-bg: #193b26;
  --dark-card: #162f26;
  --white: #ffffff;

  --header-height: 100px;
  --partners-height: 70px;


}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, sans-serif;
  color: var(--gray-dark);
  overflow-x: hidden;
}

/* HEADER */
.header {
  height: var(--header-height);
  position: fixed;
  width: 100%;
  top: 0;
  background: var(--dark-bg);
  border-bottom: 1px solid var(--green-accent);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 100px;
}

nav a {
  position: relative;
  margin-left: 2rem;
  text-decoration: none;
  color: var(--white);
  font-size: large;
  font-weight: 500;
  padding-bottom: 4px;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--green-accent);
  transition: width 0.25s ease;
}

nav a:hover::after {
  width: 100%;
}

.nav-cta {
  margin-left: 2rem;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  background: var(--green-accent);
  color: var(--dark-bg);
  font-weight: 600;
  transition: all 0.25s ease;
}

.nav-cta:hover {
  background: #82e0ad;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}

#about,
#schedule,
#about-us {
  scroll-margin-top: 100px;
}

.above-the-fold {
  height: 100vh;
  display: flex;
  flex-direction: column;
}


/* HERO */
.hero {
  flex: 1;
  background: 
    linear-gradient(rgba(23, 89, 66, 0.65), rgba(16, 66, 49, 0.65)),
    url("assets/background1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.eyebrow {
  letter-spacing: 2px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.hero h1 {
  font-size: 3.5rem;
}

.cta-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2.5rem;

  background: var(--green-accent);
  color: var(--dark-bg);

  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;

  border-radius: 10px;
  border: 2px solid #000;

  box-shadow:
    0 8px 20px rgba(0,0,0,0.35),
    0 0 0 rgba(111,207,151,0.4);

  transition: all 0.25s ease;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.03);

  box-shadow:
    0 12px 30px rgba(0,0,0,0.4),
    0 0 20px rgba(111,207,151,0.6);

  background: #82e0ad;
}

@keyframes pulseGlow {

  0% {
    box-shadow:
      0 8px 20px rgba(0,0,0,0.35),
      0 0 0 rgba(111,207,151,0.4);
  }

  50% {
    box-shadow:
      0 8px 20px rgba(0,0,0,0.35),
      0 0 18px rgba(111,207,151,0.5);
  }

  100% {
    box-shadow:
      0 8px 20px rgba(0,0,0,0.35),
      0 0 0 rgba(111,207,151,0.4);
  }

}

.cta-button {
  animation: pulseGlow 2.5s infinite;
}

.floating-icons i {
  position: absolute;
  top: -10%;
  color: rgba(255, 255, 255, 0.15);
  font-size: 3rem;
  animation: fall linear infinite;
}


.floating-icons i:nth-child(1) {
  left: 5%;
  animation-duration: 10s;
}

.floating-icons i:nth-child(2) {
  left: 20%;
  animation-duration: 10s;
  animation-delay: 2s;
}

.floating-icons i:nth-child(3) {
  left: 35%;
  animation-duration: 10s;
  animation-delay: 4s;
}

.floating-icons i:nth-child(4) {
  left: 50%;
  animation-duration: 10s;
  animation-delay: 1s;
}

.floating-icons i:nth-child(5) {
  left: 65%;
  animation-duration: 10s;
  animation-delay: 3s;
}

.floating-icons i:nth-child(6) {
  left: 80%;
  animation-duration: 10s;
  animation-delay: 5s;
}

.floating-icons i:nth-child(7) {
  left: 95%;
  animation-duration: 10s;
  animation-delay: 6s;
}


@keyframes fall {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 5%;
  }

  10% {
    opacity: 1;
  }

  50% {
    transform: translateY(55vh) translateX(15px);
  }

  100% {
    transform: translateY(110vh) translateX(-15px);
    opacity: 5%;
  }
}

/* PARTNERS STRIP */
.partners-strip {
  height: var(--partners-height);
  display: flex;
  align-items: center;
  background: var(--green-dark);
  overflow: hidden;
  padding: 1.2rem 0;
  border-top: 1px solid var(--green-accent);
  border-bottom: 1px solid var(--green-accent);
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: scroll-x 30s linear infinite;
  white-space: nowrap;
}

.partners-strip:hover .partners-track {
  animation-play-state: paused;
}

.partner {
  flex: 0 0 auto;
}

.partner img {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.partner img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* ANIMACIJA */
@keyframes scroll-x {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}



/* SECTIONS */
.section {
  padding: 5rem 1.5rem;
}

.section-alt {
  background: var(--green-dark);
  color: var(--white);
}

.section-alt h2 {
  color: var(--white);
}

.section-soft {
  background: #eaf4ec;
}

.section::after {
  content: "";
  display: block;
  height: 1px;
  width: 80px;
  margin: 4rem auto 0;
}


.container {
  max-width: 1100px;
  margin: auto;
}

h2 {
  color: var(--green-dark);
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}


/* ABOUT – RICH TEXT */
.lead-text {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.highlight-box {
  background: var(--white);
  padding: 1.5rem 2rem;
  border-radius: 10px;
  margin-bottom: 2.5rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.info-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 10px;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.info-card i {
  font-size: 1.8rem;
  color: var(--green-dark);
}

.card-icon {
  font-size: 2rem;
  color: var(--green-dark);
  margin-bottom: 1rem;
}


/* SCHEDULE TABLE */
.schedule-table {
  margin-top: 3rem;
}

.schedule-header,
.schedule-row {
  display: grid;
  grid-template-columns: 1fr 2fr 3fr;
  gap: 2rem;
  padding: 1.2rem 1rem;
  font-size: large;
}

.schedule-header {
  font-weight: 700;
  background: var(--dark-bg);
  border-radius: 8px;
}

.schedule-row {
  border-bottom: 1px solid #ddd;
}

.schedule-row:last-child {
  border-bottom: none;
}

.day {
  font-weight: 700;
  color: var(--white);
}

.time{
  font-weight: 500;
  color: var(--white);
}



/* ABOUT CARDS */
.about-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.about-card.full {
  font-size: 1rem;
}

.about-card.split {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about-card.split.reverse {
  grid-template-columns: 1fr 2fr;
}

.about-card.split.reverse img {
  order: -1;
}

.about-card img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* PROJECTS */
.subheading {
  margin: 3rem 0 1.5rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.project-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.5rem;
}

.project-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.project-card h4 {
  margin-bottom: 0.5rem;
  color: var(--green-dark);
}

.info-card,
.project-card,
.about-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-card:hover,
.project-card:hover,
.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}



/* MOBILNO */
@media (max-width: 768px) {
  .about-card.split,
  .about-card.split.reverse {
    grid-template-columns: 1fr;
  }

  .about-card.split.reverse img {
    order: 0;
  }
}


/* FOOTER */
.footer {
  background: var(--dark-bg);
  color: var(--white);
  padding: 1.8rem 1.5rem;
}

footer i {
  font-size: 1.3rem;
  margin-left: 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.footer-left {
  justify-self: start;
  display: flex;
  gap: 1.4rem;
}

.footer-left a {
  color: var(--white);
  font-size: 1.4rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-left a:hover {
  opacity: 0.75;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.footer-contact a {
  color: var(--white);
  font-size: 1.3rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: opacity 0.2s ease;
}

.footer-contact a span {
  font-size: 0.9rem;
}

.footer-contact a:hover {
  opacity: 0.75;
}


.footer-center {
  justify-self: center;
  
}

.footer-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.footer-right img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-right img.nbt-logo {
  height: 32px;
}

/* MOBILNO */
@media (max-width: 768px) {

  .hamburger {
    display: block;
    margin-right: 10px;
  }

  nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--dark-bg);
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 1rem 0;
  }

  nav a {
    margin: 1rem 0;
    font-size: 1.1rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 0.7rem;
  }

  nav.active {
    display: flex;
  }

  .hero {
    padding: 120px 1rem 2rem 1rem;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0 10px;
  }

  .eyebrow {
    font-size: 0.75rem;
  }

  .cta-button {
    font-size: 1rem;
    padding: 0.8rem 1.8rem;

  }

  .schedule-header {
    display: none;
  }

  .schedule-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-areas:
      "day day"
      "time program";
    gap: 0.8rem;
    background: rgba(255,255,255,0.05);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
  }

  .schedule-row .day {
    grid-area: day;
    font-size: 1.2rem;
    font-weight: 700;
  }

  .schedule-row .time {
    grid-area: time;
  }

  .schedule-row span:last-child {
    grid-area: program;
  }

  .footer-content {
    grid-template-columns: 1fr;
    row-gap: 1.2rem;
    text-align: center;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    justify-self: center;
  }

  .footer-contact {
    justify-content: center;
    flex-wrap: wrap;
  }
}
