@font-face {
    font-family: 'Segoe UI Variable';
    src: url('../font/SegoeUIVariable.woff2') format('woff2'),
        url('../font/SegoeUIVariable.woff') format('woff'),
        url('../font/SegoeUIVariable.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: black;
}

img {
    width: 100%;
    height: 100%;
}

p {
    font-family: "Roboto", sans-serif;
}

/* GLAVNO */

.pocetak {
    width: 100%;
    height: 100vh;
    position: relative;
}

.scroll-downs {
    position: absolute;
    color: white;
    right: 0;
    bottom: 70px;
    left: 0;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 34px;
    height: 55px;
}

.scroll-downs p {
    letter-spacing: 3px;
}

.mousey {
    width: 3px;
    padding: 25px 15px;
    margin-bottom: 10px;
    height: 35px;
    border: 2px solid #fff;
    border-radius: 25px;
    opacity: 0.75;
    box-sizing: content-box;
}

.scroller {
    width: 3px;
    height: 10px;
    border-radius: 25%;
    background-color: #fff;
    animation-name: scroll;
    animation-duration: 2.2s;
    animation-timing-function: cubic-bezier(.15,.41,.69,.94);
    animation-iteration-count: infinite;
}

@keyframes scroll {
    0% { opacity: 0; }
    10% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

/* VIDEO HEADER */

.hero {
    min-width: 100%;
    max-width: 100%;
    min-height: 100vh;
    max-height: 100vh;
    position: relative;
}

#bg-video {
    min-width: 100%;
    max-width: 100%;
    min-height: 100vh;
    max-height: 100vh;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
}

.video-overlay h1 {
    font-size: 250px;
    font-family: "Roboto", sans-serif;
    color: white;
    letter-spacing: 40px;
}

/* NAVIGACIJA */

.flex {
    display: flex;
    justify-content: space-between;
    width: 50%;
}

.main-nav {
    text-align: center;
    position: fixed;
    top: 10px;
    left: 0;
    width: 100%;
    z-index: 100000;
    transition: 0.8s;
}

.menu-items {
    list-style: none;
    padding: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.menu-items li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-family: 'Segoe UI Variable';
}
.menu-items li a:hover{
    color: gray;
    transition: 0.3s;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Dropdown menu styling */

.menu-items .dropdown {
    position: relative;
}

.menu-items .dropdown-menu {
    display: none;
    position: absolute;
    background-color: rgba(0,0,0,0.9);
    padding: 10px 0;
    list-style: none;
    z-index: 999;
    border-radius: 6px;
    top: 100%;
    left: 0;
    min-width: 160px;
}

.menu-items .dropdown-menu li a {
    color: #fff;
    padding: 10px 20px;
    display: block;
    text-decoration: none;
}

.menu-items .dropdown-menu li a:hover {
    background-color: #222;
    transition: 0.5s;
}

/* Show on hover */

.menu-items .dropdown:hover .dropdown-menu {
    display: block;
}

.sticky {
    background: rgb(0, 0, 0);
    top: 0;
    transition: 0.8s;
}

/* PLANETE */

.planeti {
    padding: 0;
    margin-top: 150px;
    width: 90%;
    margin: 0 auto;
    padding-bottom: 100px;
    position: relative;
    z-index: 1000;
}

@keyframes slow-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.spinning-planet {
    animation: slow-spin 20s linear infinite;
    transform-origin: center center;
    cursor: pointer;
    width: 70%;
}

.planeti h1 {
    font-family: "Roboto", sans-serif;
    color: white;
    font-size: 50px;
    width: 90%;
    margin: 0 auto;
    padding-top: 200px;
    padding-bottom: 100px;
}

.planeti img {
    width: 70%;
}

.planeti h4 {
    font-family: 'Segoe UI Variable';
    color: white;
    letter-spacing: 3px;
    padding-top: 40px;
}

/* NEWS */

.news {
    width: 90%;
    margin: 0 auto;
    margin-top: 150px;
    margin-bottom: 200px;
}

.news h2 {
    font-family: "Roboto", sans-serif;
    color: white;
    font-size: 50px;
    letter-spacing: 3px;
    padding-bottom: 20px;
}

.parent {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 40px;
    grid-row-gap: 40px;
}

.okvir {
    position: relative;
    overflow: hidden;
}

.okvir img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.okvir h4 {
    position: absolute;
    bottom: 0;
    color: white;
    font-family: 'roboto';
    letter-spacing: 3px;
    width: 95%;
    padding: 15px;
}

.slide-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 600px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    background-color: rgba(0, 0, 0, 0.671);
    padding: 5px;
}

.okvir:hover h4 {
    display: none;
}

.okvir:hover .slide-text {
    top: 0;
    transition: top 0.5s ease 0.1s;
}

.okvir p {
    width: 80%;
    margin: 0 auto;
    text-align: justify;
    font-size: 18px;
}

.slide-p {
    padding-bottom: 15px;
}

/* Grid oblasti */

.div1 {
    grid-area: 1 / 1 / 3 / 4;
}

.div2 {
    grid-area: 1 / 4 / 3 / 6;
}

.div3 {
    grid-area: 1 / 6 / 2 / 8;
}

.div4 {
    grid-area: 2 / 6 / 3 / 8;
}

/* Important fixes for click-through on animation overlays */

.bg-animation {
    pointer-events: none;
}

/* MODAL */

.modal-backdrop {
    z-index: 1040 !important;
}

.modal {
    z-index: 1050 !important;
}

.modal-dialog {
    z-index: 1060 !important;
}

.modal-content {
    background: black;
    padding: 10px;
    border-radius: 10px;
   
    max-width: 800px;
}

.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    display: block;
    text-align: right;
}

/* TAB PANEL */

.wrapper h1 {
    font-family: "Roboto", sans-serif;
    color: white;
    font-size: 50px;
    letter-spacing: 3px;
}

.tab-panel-flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-tab {
    width: 50%;
    padding: 30px;
}

.slika-tab {
    width: 50%;
}

.slika-tab img {
    border-radius: 5px;
}

.tab-panels h2 {
    color: white;
    padding-bottom: 30px;
    font-family: "Roboto", sans-serif;
    font-size: 40px;
}

.tab-panels p {
    color: white;
    font-size: 18px;
    padding-bottom: 5px;
}

.wrapper {
    width: 90%;
    margin-inline: auto;
    margin: 0 auto;
}

/* TAB ROLES */

[role=tablist] {
    width: 100%;
    position: relative;
    border-bottom: 1px solid #4d4d4d;
    margin-block: 3rem;
}

.tab-panels {
    background-color: rgba(0, 0, 0, 0.623);
}

[role=tablist]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    scale: var(--_width, 0.18) 1;
    translate: var(--_left, 0) 0;
    transform-origin: left;
    transition: scale 200ms, translate 200ms;
    background: white;
}

[role=tab] {
    color: #fff;
    background: transparent;
    padding: 1em 2em;
    border: 0;
    font-size: 22px;
    font-family: 'Segoe UI Variable';
    text-transform: uppercase;
    font-weight: 500;
    opacity: 0.7;
    cursor: pointer;
}

[role=tab]:hover {
    opacity: 1;
}

[role=tab][aria-selected=true] {
    opacity: 1;
}

/* ASTRONAUT */

.astronaut {
    width: 90%;
    margin: 0 auto;
    padding-top: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#astronaut-model {
  width: 100%;
  max-width: 1000px;
  height: 600px;
}
.astronaut h1 {
    font-family: "Roboto", sans-serif;
    color: white;
    font-size: 50px;
    letter-spacing: 3px;
    text-align: center;
}

.astronaut p {
    font-family: "Roboto", sans-serif;
    font-size: 20px;
    width: 60%;
    color: white;
    text-align: center;
}

#model-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    position: relative;
    min-height: 400px;
}

/* Spinner */

#loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#error-message {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
    color: white;
    font-size: 18px;
    text-align: center;
    border-radius: 8px;
    width: 80%;
    max-width: 400px;
    font-family: "Roboto", sans-serif;
    letter-spacing: 1px;
}

/* Spinner visibility */

.visible #loading-spinner {
    opacity: 1;
}

/* Error visibility */

.visible #error-message {
    display: block;
}

/* GALERIJA */

.parent2 a img {
    object-fit: cover;
}

.gallerija {
    padding-top: 150px;
    width: 90%;
    margin: 0 auto;
    padding-bottom: 150px;
}

.gallerija h2 {
    font-family: "Roboto", sans-serif;
    color: white;
    font-size: 50px;
    letter-spacing: 3px;
    padding-bottom: 50px;
}

.parent2 {
display: grid;
grid-template-columns: repeat(4, auto);
grid-template-rows: repeat(3, 200px);
grid-column-gap: 20px;
grid-row-gap: 20px;
}

.div11 { grid-area: 1 / 1 / 2 / 2; }
.div22{ grid-area: 2 / 2 / 3 / 3; }
.div33 { grid-area: 2 / 1 / 4 / 2; }
.div44 { grid-area: 1 / 2 / 2 / 4; }
.div55 { grid-area: 1 / 4 / 3 / 5; }
.div66 { grid-area: 2 / 3 / 3 / 4; }
.div77 { grid-area: 3 / 2 / 4 / 3; }
.div88 { grid-area: 3 / 3 / 4 / 5; }

.container-fluid {
    width: 90%;
    margin: 0 auto;
}

.container-fluid h1 {
    font-family: "Roboto", sans-serif;
    color: white;
    font-size: 50px;
    letter-spacing: 3px;
    padding-bottom: 100px;
}

#carousel {
    background-color: rgb(255, 255, 255);
    padding: 70px 0;
}

.item {
    margin-left: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.item h2 {
    text-transform: uppercase;
    font-family: "Roboto", sans-serif;
    margin-top: 15px;
    font-size: 20px;
    padding-bottom: 20px;
    color: white;
}

.owl-theme .owl-dots .owl-dot span {
    background: white;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: gold;
}

.item:hover {
    border: 1px solid black;
    border-radius: 10px;
    -webkit-box-shadow: 10px 10px 50px -3px rgba(0, 0, 0, 0.52);
    -moz-box-shadow: 10px 10px 50px -3px rgba(0, 0, 0, 0.52);
    box-shadow: 10px 10px 50px -3px rgba(0, 0, 0, 0.52);
}

.item p {
    font-family: "Roboto", sans-serif;
    text-align: center;
    padding-bottom: 15px;
    font-size: 16px;
    color: white;
}

.grid h3 {
    font-size: 20px;
}

.owl-carousel .owl-item img {
    width: 150px;
    border-radius: 50%;
}

#team .item {
    position: relative;
    border-radius: 20px;
    padding: 25px;
    overflow: hidden;
    z-index: 1;
    height: 100%;
    min-height: 450px;
}

#team .item::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        rgba(255, 215, 0, 0.12),
        rgba(255, 255, 255, 0.05),
        rgba(255, 215, 0, 0.12)
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    border-radius: 50%;
}

#team .item:hover::before {
    opacity: 1;
    animation: subtle-rotate 2.5s linear infinite;
}

#team .item img,
#team .item h2,
#team .item p {
    position: relative;
    z-index: 1;
}

@keyframes subtle-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* AKORDION */



#accordion {

    border-radius: 24px;
    color: white;
    font-family: "Roboto", sans-serif;
    width: 60%;
}

#accordion strong {
    letter-spacing: 2px;
}

.accordion-space .accordion-item {
    background-color: rgba(15, 15, 40, 0.7);
    border: none;
    border-radius: 18px;
    margin-bottom: 24px;
    backdrop-filter: blur(6px);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.accordion-space .accordion-item:hover {
    transform: scale(1.015);
    box-shadow: 0 0 24px rgba(0, 255, 255, 0.15);
}

.accordion-space .accordion-button {
    background-color: transparent;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 1.2rem 1.5rem;
    border-radius: 18px;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 8px rgba(0, 255, 255, 0.12);
}

.accordion-space .accordion-button:hover {
    background-color: rgba(40, 40, 80, 0.4);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.1);
}

.accordion-space .accordion-button:not(.collapsed) {
    background-color: rgba(50, 50, 100, 0.6);
    color: #00ffff;
    box-shadow: 0 0 16px rgba(0, 255, 255, 0.3);
    border-radius: 18px 18px 0 0;
}

.accordion-space .accordion-collapse {
    border-radius: 0 0 18px 18px;
}

.accordion-space .accordion-body {
    background-color: rgba(12, 12, 30, 0.9);
    padding: 1.3rem 1.5rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 12px rgba(0, 255, 255, 0.06);
    border-radius: 0 0 18px 18px;
}
.mapa{
    width: 40%;
}
.mapa iframe{
    width: 100%;
    height: 400px;
}
.accordion-mapa{
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 150px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 100px;
}

/* FOOTER */

.footer {
    margin-top: 150px;
  background: url('../img/footer.jpg') no-repeat center center/cover;
  color: white;
  position: relative;
  font-family: "Roboto", sans-serif;
}

.overlay {
  background: rgba(0, 0, 0, 0.7); /* tamni overlay */
  width: 100%;
  height: 100%;
  position: relative;
  padding: 40px 0;
}

.footer-content {
  max-width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.top-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.subscribe-section p {
  font-size: 16px;
  margin-bottom: 10px;
}

.subscribe-form {
  display: flex;
  flex-wrap: nowrap;
  max-width: 450px;
}

.subscribe-form input {
  flex: 1;
  padding: 10px 15px;
  border: none;
  border-radius: 25px 0 0 25px;
  outline: none;
}

.subscribe-form button {
  padding: 10px 20px;
  border: none;
  border-radius: 0 25px 25px 0;
  background-color: white;
  color: black;
  font-weight: bold;
  cursor: pointer;
}

.quick-follow {
  display: flex;
  flex-wrap: wrap;
}

.quick-links p,
.social-icons p {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

.quick-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-links li {
  margin-bottom: 8px;
}

.quick-links a {
  color: white;
  text-decoration: none;
  font-size: 14px;
}

.quick-links a:hover {
  text-decoration: underline;
}
.social-icons{
    padding-left: 40px;
    
}

.social-icons .icons a {
  color: white;
  font-size: 16px;
  margin-right: 15px;
  text-decoration: none;
}

.social-icons .icons a:hover {
  color: #ccc;
}

.bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
}

.legal-links a {
  color: white;
  text-decoration: none;
  margin-right: 20px;
  font-size: 14px;
}

.legal-links a:hover {
  text-decoration: underline;
}

footer .copyright {
  font-size: 14px;
  margin-top: 10px;
}

/* ANIMACIJA */
.fadeIn{
  animation-duration: 4s;
  animation-timing-function: ease;
  animation-iteration-count: 1;
  animation-delay: 0s;
}

.slideInDown,
.zoomIn,
.slideInLeft,
.slideInRight,
.slideInUp,
.rotateIn,
.zoomInLeft,
.zoomInUp,
.lightSpeedInLeft {
  animation-duration: 1s;
  animation-timing-function: ease;
  animation-iteration-count: 1;
  animation-delay: 0s;
}
