/* HOMEPAGE */

h1 {
  color:#ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

/* HERO - LAYOUT */
.section-hero {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* HERO - BACKGROUND & MASK */  
.section-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}
.section-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none; /* we’ll control interaction on polygons */
}
.hero-mask-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.overlay-fill {
  /* This controls visible overlay layer — NOT the div itself */
  fill: rgb(208, 230, 231);
  transition: fill 0.3s ease;
}
#animated-mask-group {
  fill: transparent;
  pointer-events: auto;
}
/* ARROW */
.scroll-arrow {
  width: 34px;
  height: 34px;
  margin: 20px auto 0;
  border-left: 6px solid #FFF;
  border-bottom: 6px solid #FFF;
  transform: rotate(-90deg);
  animation: arrowBounce 2s infinite;
  opacity: 0;
  animation-delay: 0.5s;
  animation-fill-mode: forwards;
  cursor: pointer;
  pointer-events: all;
}
.textshadow {
  text-shadow: 1px 1px 3px black;
}

@keyframes arrowBounce {
  0% {
    transform: translateY(0) rotate(-45deg);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  50% {
    transform: translateY(20px) rotate(-45deg);
  }
  100% {
    transform: translateY(40px) rotate(-45deg);
    opacity: 0;
  }
}

/* HERO - TEXT CONTENT */  
.section-hero-content {
    z-index: 3;
    max-width: 800px;
    padding: 2rem;
    color: #000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none; /*FIX overlay text interfering mouse-over animations*/
}
/* Spacer pushes next content below the full screen */
.hero-spacer {
    height: 100vh;
}
/* You can animate the clip-path later like this: */
.section-hero-bg.animate {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.blog-meta {
    font-size: 0.9rem;
    color: #555;
}

/* Carousel 1 - Brand Logos */
.carousel-section-1 {
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
  background-color: transparent;
}

.carousel-wrapper-1 {
  padding: 3rem 0;
  overflow: hidden;
  display: flex;
}

.carousel-track-1 {
  display: flex;
  gap: 4rem;
  will-change: transform;
}

.carousel-track-1 img {
  height: 60px;
  max-width: 200px;
  flex-shrink: 0;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.carousel-track-1 img:hover {
  filter: grayscale(0%);
}

/* Mobile responsive */
@media (max-width: 768px) {
    /*.section-hero-overlay {
         clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
      } */
      .section-hero-content {
        padding: 4rem 1.5rem;
      }    
    }

/* BELOW THE FOLD */
.homepage-container {
    text-align: center;
}
.hero {
    background-color: #f4f4f4;
    padding: 50px;
}
.features {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.feature {
    background: #ddd;
    padding: 20px;
    border-radius: 10px;
}

/* TEAM MEMBERS SECTION */

.team-card {
  position: relative;
  width: 300px;
  height: 400px;
  background: transparent;
  background-size: cover;
  background-position: center;
  border-radius: 20%;
  overflow: hidden;
}

/* Overlay hidden by default */
.team-card .overlay {
  position: absolute;
  inset: 0;
  /* background: rgba(0, 0, 0, 0.5); semi-transparent dark grey */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding-bottom: 2rem;
}

/* Show overlay on hover or focus */
.team-card:hover .overlay,
.team-card:focus-within .overlay {
  opacity: 1;
}

.socials {
  flex-direction: row;
}

.team-link {
  font-size: 2rem;
  text-decoration: none;
  color: white;
  padding: 5px;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.team-link:hover {
  color: #00d5ff;
}

.barbara {
  background-image: url(../images/Barbara_Bacnik.webp);
  background-size: cover;
  background-position: center;
}
.samo {
  background-image: url(../images/Samo_Sedej.webp);
  background-size: cover;
  background-position: center;
}
.vesna {
  background-image: url(../images/Vesna_Hrast.webp);
  background-size: cover;
  background-position: center;
}
.marusa {
  background-image: url(../images/Marusa_Zun.webp);
  background-size: cover;
  background-position: center;
}
.andraz {
  background-image: url(../images/Andraz_Leben.webp);
  background-size: cover;
  background-position: center;
}
.mojca {
  background-image: url(../images/Mojca_Udovc.webp);
  background-size: cover;
  background-position: center;
}
.damjan {
  background-image: url(../images/Damjan_Planinc.webp);
  background-size: cover;
  background-position: center;
}
.miha {
  background-image: url(../images/Miha_Bandalo.webp);
  background-size: cover;
  background-position: center;
}
.jan {
  background-image: url(../images/Jan_Racic.webp);
  background-size: cover;
  background-position: center;
}
.grega {
  background-image: url(../images/Grega_Strajnar.webp);
  background-size: cover;
  background-position: center;
}