@import url('https://fonts.googleapis.com/css2?family=Bungee&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

:root {
  font-size: 13px;
  background-color: rgb(58, 63, 69);
}

/* default */

@media (min-width: 1440px) {
  :root {
    font-size: 14px;
  }
}

@media (min-width: 1920px) {
  :root {
    font-size: 15px;
  }
}

@media (min-width: 2560px) {
  :root {
    font-size: 16px;
  }
}



/* 
                               GLOBAL STYLES
                                   */
body {
  font-family: 'Bungee', cursive;
  margin: 0;
  background-color: #f8f9fa;
  min-height: 100vh;
}

/* 
                                              HEADER & NAVIGATION
                                                  */
.medium_text {
  font-size: clamp(1.4rem, 1.1vw, 1.7rem);

}

.bigger_text {
  font-size: clamp(1.7rem, 1.1vw, 2rem);

}

header {
  background-color: rgb(58, 63, 69);
  padding-top: 10px;
  padding-bottom: 10px;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  margin-bottom: 0;
}

.header-wrapper {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.header-right {
  display: flex;
  align-items: center;
}

.icons_left img {
  height: 70px;
}

.icons_middle {
  display: flex;
  gap: 20px;
  align-items: center;
}

.icons_middle img {
  height: 70px;
  object-fit: contain;
}

.icons_middle img.fs {
  transform: scale(0.50);
}

.icons_middle img.um {
  margin-left: 20px;
}

.icons_middle img.feri {
  margin-top: 7px;
}

.navbar {
  background-color: rgb(237, 120, 53);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-top: 0;
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 50px;
}

.navbar li a {
  color: white;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.navbar li a:hover {
  color: black;
}

/* 
                                                                                                                                                     INDEX PAGE - HERO SECTION
                                                                                                                                                         */
#hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 550px;
  height: 70vh;
  overflow: hidden;
  z-index: 2;
  background-color: transparent;

}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0.4)),
    url("https://aeronavticno-drustvo-um-adum.github.io/ADUM-site/images/jpg.jpg");

  background-repeat: no-repeat;


  background-size: cover;
  background-position: center;
  filter: blur(4px);
  transform: scale(1.1);
  z-index: 0;

}

#hero-content {
  text-align: center;
  color: white;
  z-index: 2;
  max-width: 900px;
}

#kodsmo {
  background-color: transparent;
  color: white;
  text-align: left;
  font-size: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  margin: 0 auto;
  width: 50%;
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  z-index: 2;
}

#h1_kodsmo {
  color: rgb(237, 120, 53);
  font-size: 50px;
}

/* INDEX PAGE - POSLANSTVO BOX */
.poslanstvo_wrapper {
  width: 100%;
  position: relative;
  height: 0;
}

#poslanstvo {
  z-index: 3;
  background-color: rgb(237, 120, 53);
  color: white;
  padding: 35px 10px;
  max-width: 40%;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  position: absolute;
  /* lift it out of normal flow */
  left: 50%;
  /* center horizontally */
  top: 50%;
  /* center vertically */
  transform: translate(-50%, -50%);
  /* shift based on its own size */
  margin: 0;
  /* avoid auto margin interference */

}

#h1_poslanstvo {
  color: white;
  position: relative;
  top: -20px;
  margin: 0;

}

#poslanstvo p {
  font-size: clamp(1.4rem, 1.1vw, 1.7rem);
  top: 20px;
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
}

/* INDEX PAGE - CONTENT SECTION */
.content-section {
  background-color: #e8e8e8;
  padding: 180px 20px 60px;
}

.row {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  width: 80%;
  gap: 20px;
  align-items: center;
  max-width: 1500px;
  margin-bottom: 50px;
}

.column {
  flex: 1;
  width: 50%;
  margin-top: 20px;
}

.section-title {
  color: rgb(237, 120, 53);
  font-size: 2.2rem;
  margin: 0 0 25px 0;
  letter-spacing: 3px;
  text-transform: uppercase;
}

#column {
  font-size: 1.05rem;
  line-height: 1.9;

}

#column p {
  color: #333;
}

#column h2 {
  color: rgb(237, 120, 53);
}

#h2_delovanje {
  color: rgb(237, 120, 53);
}

.team-photo {
  display: flex;
  justify-content: center;
  align-items: center;
}

#delovanje {
  width: 80%;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  height: auto;
  font-size: clamp(1.4rem, 1.5vw, 1.7rem);
}

#slika2par {
  border-radius: 30px;
  width: 100%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* 
                                                                                                                                                                                                                                                                                                                                                                                          FOOTER
                                                                                                                                                                                                                                                                                                                                                                                              */
footer {
  background-color: rgb(58, 63, 69);
  color: white;
  padding: 30px 40px;
  font-size: 0.85rem;
  line-height: 1.6;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  /* font-weight: 900;   */
}

footer p {
  margin: 0;
  font-size: clamp(1.4rem, 1vw, 1.7rem);
  text-align: center;
}

.site-footer .copyright {
  margin-top: 16px;
  opacity: 0.85;
  font-size: 0.9rem;
}

/* 
                                                                                                                                                                                                                                                                                                                                                                                                                             PROJEKTI PAGE STYLES
                                                                                                                                                                                                                                                                                                                                                                                                                                 */

.project_tag {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  background: var(--orange);
  color: var(--gray);
}


.container {
  max-width: 90%;
  margin: 40px auto;
  padding: 0 20px;
}

.container h1 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 40px;
  letter-spacing: 2px;
}

.projekti {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.projekti_tacke {
  padding-bottom: 3rem;
  border-left: 6px solid rgb(237, 120, 53);
  position: relative;
  padding-left: 50px;
  margin-left: 15px;
}

.projekti_tacke:last-child {
  border-left: 0px;
  padding-bottom: 2rem;
  left: 5px;
}

.text_projekti {
  font-size: clamp(1.4rem, 1vw, 1.7rem);
  font-family: 'Roboto', sans-serif;
  font-weight: 900;

}

.projekti_tacke:before {
  content: '';
  width: 20px;
  height: 20px;
  background: rgb(237, 120, 53);
  border: 4px solid rgb(237, 120, 53);
  border-radius: 50%;
  position: absolute;
  left: -16px;
  top: 0px;
}

.ime_projekta {
  margin-bottom: 15px;
  color: rgb(237, 120, 53);
  text-transform: uppercase;
  font-size: clamp(1.4rem, 1vw, 1.7rem);

}

.projekti_tacke p {
  margin: 0 0 20px 0;
  color: #333;
}

.slike_projekti {
  width: 29%;
  max-width: 35rem;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  background-color: grey;
  border-radius: 30px;
  max-width: 100%;
  /* min-width: 25rem; */

}

.slike_projekti_container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    SPONZORI PAGE STYLES
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        */
#sponzora {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

h1 {
  position: relative;
  align-self: center;
}

/* SPONSORS MAIN PAGE */

.sponsors-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
}

.sponsor-row-sub {
  display: flex;
  gap: 40px;
  margin-top: 25px;
}

.um-logo img,
.fs-logo img,
.feri-logo img {
  height: 150px;
  width: auto;
  object-fit: contain;
  display: block;
  max-height: none;
}

.fs-logo img {
  height: 145px;
}

/* #um-fix img {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              transform: scale(2);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                transform-origin: center;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                } */

/* SPONSORS Second Row */
.sposnors-second {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 85px !important;
  margin-top: 50px;
}

.sposnors-second>a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  max-width: 90%;
  padding: 10px;
}

.sposnors-second>a img {
  width: 100%;
  height: auto;
  object-fit: contain;
}


/* SPONSORS Third Row */

/* THIRD ROW - glavni sponzorji (večji logotipi) */
.sponsors-third {
  margin-top: 50px;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  align-items: center;
  flex-direction: row;
  margin-bottom: 40px;
}

.sponsors-third>a {
  display: flex;
  width: 150px;
  padding: 20px;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.sponsors-third>a img {
  object-fit: contain;
  width: 100%
}

/* FOURTH ROW - manj pomembni sponzorji, enak stil kot third row */
.sponsors-fourth {
  margin-top: 70px;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  align-items: center;
  flex-direction: row;
}

.sponsors-fourth>a {
  width: 85px;
  padding: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.akms-hennlich-fix {
  height: 46px !important;
  width: auto !important;
  object-fit: contain;
}

.sponsors-fourth>a img {

  width: 100%;
  object-fit: contain;
}

/* RESPONSIVE - ena slika na vrstico za mobilne naprave */
@media (max-width: 500px) {

  .sponsors-third,
  .sponsors-fourth {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .sponsors-third a img {
    max-width: 90px;
    height: auto;
  }

  .sponsors-fourth a img {
    max-width: 70px;
    height: auto;
  }
} 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ČLANI PAGE STYLES
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        */
.clani-container {
  max-width: 90%;
  margin: 40px 40px;
  padding: 0 20px;
}

.clani-naslov {
  text-align: center;
  color: rgb(237, 120, 53);
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.clani-opis {
  text-align: justify;
  margin-bottom: 40px;
  margin-left: 30px;
  margin-right: 30px;
  color: #333;
  font-size: clamp(1.4rem, 1vw, 1.7rem);
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
}

.vodje-naslov {
  text-align: center;
  color: rgb(237, 120, 53);
  font-size: 2rem;
  margin: 50px 0 40px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-bottom: 60px;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.avatar {
  width: 60%;
  aspect-ratio: 1;
  height: auto;
  border-radius: 50%;
  margin-bottom: 15px;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  background-color: #b8c6d4;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-name {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 5px;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 1vw, 1.7rem);

}

.member-role {
  font-size: 0.75rem;
  color: rgb(237, 120, 53);
  text-transform: uppercase;
  font-size: clamp(1.4rem, 1vw, 1.7rem);
  padding-top: 3px;
  padding-bottom: 37px;
}

/* 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 KONTAKT PAGE STYLES
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     */

.contact-container {
  height: auto;
  margin: 40px auto;
  padding: 0 20px;
  /* margin-top: 100px; */
}



.contact-title {
  text-align: center;
  color: rgb(237, 120, 53);
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.contact-content {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 40px;
  margin-top: 30px;
}

.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.map-container {
  flex: 1;
  display: flex;
}

.contact-item {
  padding: 25px;
  background: linear-gradient(to right, rgb(237, 120, 53), #f8f9fa);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  border-radius: 10px;
  border-left: 5px solid rgb(237, 120, 53);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-size 0.5s ease;
  text-align: center;
  margin: 0;
}

.contact-item:hover {
  transform: translateX(5px);
  background-size: 100% 100%;
}

.contact-item h3 {
  color: rgb(237, 120, 53);
  font-size: 1.2rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-item p {
  color: #333;
  margin: 0;
  font-size: 1rem;
}

.contact-item a {
  color: rgb(58, 63, 69);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: rgb(237, 120, 53);
}

#map {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  z-index: 100;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

#menu-toggle {
  display: none;
}

#menu-toggle:checked~.header-wrapper .hamburger span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

#menu-toggle:checked~.header-wrapper .hamburger span:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked~.header-wrapper .hamburger span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              RESPONSIVE (1000px)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  */
@media (max-width: 1000px) {

  /* Show hamburger menu */
  .hamburger {
    display: flex;
  }

  /* Hide regular navbar by default */
  .navbar {
    display: none;
    position: fixed;
    width: 100%;
    background-color: rgb(237, 120, 53);
    flex-direction: column;
    padding: 20px 0;
    z-index: 99;
  }

  /* Show navbar when checkbox is checked */
  #menu-toggle:checked~.navbar {
    display: flex;
  }

  .navbar ul {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  /* Hero section */
  #hero {
    min-height: 550px;
    padding: 100px 20px 120px;
  }

  #kdo-smo-title {
    font-size: 3.5rem;
    letter-spacing: 5px;
  }

  #kodsmo {
    font-size: 1.2rem;
    width: 90%;
  }

  #poslanstvo {
    position: relative;
    bottom: 0;
    margin-top: 40px;
    max-width: 90%;
    padding: 30px 40px;
  }

  .column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Content section */
  .content-section {
    padding: 80px 20px 40px;
  }

  .row {
    flex-direction: column;
    align-items: center;
  }

  .column {
    width: 100%;
    margin-bottom: 40px;
  }


  .slike_projekti_container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
    align-items: center;
  }

  .slike_projekti {
    width: 100%;
    min-width: none !important;
  }


  /* Team grid */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  /* Contact */
  .contact-content {
    flex-direction: column;
  }

  .contact-info {
    min-width: auto;
  }

  .contact-container {
    margin-top: 80px;
  }

  .contact-title {
    font-size: 2rem;
  }

  .contact-item {
    padding: 20px;
  }

  #map_container {
    width: 100%;
    min-width: auto;
    height: 400px;
  }
}

/* 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               RESPONSIVE - MOBILE (768px)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   */
@media (max-width: 768px) {
  /* .icons_middle {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         gap: 10px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             .icons_middle img,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               .icons_left img {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   height: 50px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 } */

  .icons_middle {
    display: none;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .contact-title {
    font-size: 1.5rem;
  }

  #hero {
    min-height: 400px;
  }

  #h1_kodsmo {
    font-size: 30px;
    }
  }


@media (max-width: 500px) {
  .sponsors-main {
    flex-direction: column;
  }

  .sposnors-second {
    margin-top: 50px;
    flex-direction: column;
  }

  @media (max-width: 500px) {
    .sponsor-row-sub {
      flex-direction: column;
      align-items: center;
      gap: 50px;
    }
  }
}