* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #101522;
    color: white;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 7%;

    background: rgba(10, 14, 25, 0.85);

    backdrop-filter: blur(12px);

    z-index: 1000;

    border-bottom: 1px solid rgba(255,255,255,0.1);
}


.logo {
    color: white;
    text-decoration: none;

    font-size: 24px;
    font-weight: 900;

    letter-spacing: 1px;
}


.navbar nav {
    display: flex;
    align-items: center;
    gap: 30px;
}


.navbar nav > a,
.dropdown > a {
    color: white;
    text-decoration: none;

    font-size: 15px;
    font-weight: 600;

    transition: 0.3s;
}


.navbar nav > a:hover,
.dropdown > a:hover {
    color: #ffd43b;
}


/* =========================
   DROPDOWN
========================= */

.dropdown {
    position: relative;
}


.dropdown-menu {
    position: absolute;

    top: 30px;
    left: -20px;

    width: 190px;

    background: #171d2d;

    border-radius: 12px;

    padding: 10px;

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition: 0.3s;

    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}


.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.dropdown-menu a {
    display: block;

    padding: 12px;

    color: white;
    text-decoration: none;

    border-radius: 8px;
}


.dropdown-menu a:hover {
    background: #242c42;
    color: #ffd43b;
}


/* =========================
   APPLY BUTTON
========================= */

.apply-button {
    background: #ffd43b !important;

    color: #101522 !important;

    padding: 12px 20px;

    border-radius: 10px;
}


.apply-button:hover {
    transform: translateY(-2px);
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    padding: 120px 8% 80px;

    background:
       linear-gradient(
    rgba(8,12,22,0.35),
    rgba(8,12,22,0.55)
    ),
    url("images/pozadina.jpg");

    background-size: cover;
    background-position: center;

    position: relative;
}


.hero-content {
    max-width: 750px;
}


.small-title {
    color: #ffd43b;

    font-weight: 800;

    letter-spacing: 4px;

    margin-bottom: 15px;
}


.hero h1 {
    font-size: clamp(50px, 7vw, 90px);

    line-height: 0.95;

    margin-bottom: 30px;

    font-weight: 900;
}


.hero-text {
    font-size: 20px;

    line-height: 1.7;

    color: #d4d8e2;

    max-width: 600px;

    margin-bottom: 35px;
}


.main-button {
    display: inline-block;

    padding: 16px 28px;

    background: #ffd43b;

    color: #101522;

    text-decoration: none;

    border-radius: 10px;

    font-weight: 900;

    transition: 0.3s;
}


.main-button:hover {
    transform: translateY(-4px);

    box-shadow: 0 15px 30px rgba(255,212,59,0.25);
}


/* =========================
   LEVELS
========================= */

.levels {
    padding: 100px 8%;

    background: #101522;
}


.section-title {
    text-align: center;

    margin-bottom: 60px;
}


.section-title p {
    color: #ffd43b;

    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 10px;
}


.section-title h2 {
    font-size: 48px;
}


.level-container {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}


.level-card {
    background: #181f30;

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 20px;

    padding: 35px;

    min-height: 320px;

    position: relative;

    overflow: hidden;

    transition: 0.3s;
}


.level-card:hover {
    transform: translateY(-8px);

    border-color: #ffd43b;

    box-shadow:
        0 20px 50px rgba(0,0,0,0.3);
}


.level-number {
    font-size: 14px;

    color: #ffd43b;

    font-weight: 900;

    margin-bottom: 30px;
}


.level-card h3 {
    font-size: 25px;
    line-height: 1.25;
    margin: 25px 0 15px;
    text-align: center;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
}



.level-card p {
    color: #aeb5c5;

    line-height: 1.6;

    margin-bottom: 30px;
}


.level-card a {
    color: #ffd43b;

    text-decoration: none;

    font-weight: 800;
}


/* =========================
   FOOTER
========================= */

footer {
    background: #080c16;

    padding: 60px 8% 25px;
}


.footer-content {
    display: flex;

    justify-content: space-between;

    gap: 40px;

    margin-bottom: 50px;
}


.footer-content h3 {
    margin-bottom: 20px;
}


.footer-content p {
    color: #aeb5c5;

    margin-bottom: 10px;
}


.footer-content a {
    color: #ffd43b;

    text-decoration: none;

    margin-right: 20px;
}


.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);

    padding-top: 20px;

    color: #777f91;

    font-size: 14px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 800px) {

    .navbar {
        padding: 0 5%;
    }

    .navbar nav {
        gap: 12px;
    }

    .navbar nav > a,
    .dropdown > a {
        font-size: 12px;
    }

    .level-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
    }

}/* =========================
   INNER PAGES
========================= */

.page {
    min-height: 100vh;

    padding: 150px 8% 100px;

    background:
        linear-gradient(
            rgba(8,12,22,0.72),
            rgba(8,12,22,0.95)
        ),
        url("images/pozadina.jpg");

    background-size: cover;
    background-position: center;

    display: flex;

    justify-content: center;

    align-items: flex-start;
}


.page-box {
    width: 100%;

    max-width: 950px;

    background: rgba(18,24,38,0.88);

    backdrop-filter: blur(12px);

    border: 1px solid rgba(255,255,255,0.1);

    border-radius: 24px;

    padding: 60px;

    box-shadow:
        0 30px 80px rgba(0,0,0,0.4);
    text-align: justify;
    text-indent: 2em;
}


.page-box h1 {
    font-size: 18px;

    margin-bottom: 30px;
}


.page-box p {
    color: #c6ccda;

    font-size: 18px;

    line-height: 1.8;

    margin-bottom: 20px;
}/* =========================
   FORM
========================= */

.form-box {
    width: 100%;

    max-width: 700px;

    background: rgba(18,24,38,0.94);

    backdrop-filter: blur(15px);

    border: 1px solid rgba(255,255,255,0.1);

    border-radius: 25px;

    padding: 50px;

    box-shadow:
        0 30px 80px rgba(0,0,0,0.5);
}


.form-box h1 {
    font-size: 50px;

    margin-bottom: 15px;
}


.form-intro {
    color: #aeb5c5;

    margin-bottom: 35px;

    line-height: 1.6;
}


form label {
    display: block;

    margin-bottom: 8px;

    margin-top: 20px;

    font-weight: 700;
}


form input,
form select {

    width: 100%;

    padding: 15px 16px;

    border-radius: 10px;

    border: 1px solid rgba(255,255,255,0.12);

    background: #101522;

    color: white;

    font-size: 16px;

    outline: none;
}


form input:focus,
form select:focus {

    border-color: #ffd43b;

}


.radio-group {

    display: flex;

    gap: 20px;

    margin-top: 10px;
}


.radio-option {

    display: flex;

    align-items: center;

    gap: 8px;
}


.radio-option input {

    width: auto;
}


.hidden-field {

    display: none;
}


.submit-button {

    width: 100%;

    margin-top: 35px;

    padding: 17px;

    border: none;

    border-radius: 10px;

    background: #ffd43b;

    color: #101522;

    font-size: 16px;

    font-weight: 900;

    cursor: pointer;

    transition: 0.3s;
}


.submit-button:hover {

    transform: translateY(-3px);

    box-shadow:
        0 15px 30px rgba(255,212,59,0.25);
}


.contact-item {

    background: #101522;

    border-radius: 15px;

    padding: 20px;

    margin-top: 15px;
}


.contact-item h3 {

    margin-bottom: 8px;
}


.contact-item p {

    margin: 0;
}
background-image: url("images/pozadina.jpg");
/* Glavna početna stranica */
.hero {
    position: relative;
    overflow: hidden;
}

/* Vertikalni 9:16 video */
.hero-video {
    position: absolute;
    right: 0;
    top: 45%;
    transform: translateY(-50%);

    width: 320px;
    aspect-ratio: 9 / 16;

    object-fit: cover;

    border-radius: 20px;
    z-index: 2;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

/* Da tekst ostane iznad/ispred videa */
.hero-content {
    position: relative;
    z-index: 3;
}
.hero-video-container {
    position: absolute;
    right: 0;
    top: 45%;
    transform: translateY(-50%);
    width: 320px;
    z-index: 2;
}

.hero-video {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border-radius: 20px;
    display: block;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

strong {
    color: #FFD700;
}
@media (max-width: 768px) {
  .hero {
    position: relative;
    overflow: hidden;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 62%;
  }

  .hero h1 {
    font-size: 30px;
    line-height: 1.1;
  }

  .hero-video {
    width: 150px;
    position: absolute;
    right: 0;
    top: 65%;
    transform: translateY(-50%);
    z-index: 1;
  }
}
@media (max-width: 800px) {
    body {
        overflow-x: hidden;
    }

    .navbar {
        height: auto;
        min-height: 70px;
        padding: 15px 5%;
        flex-wrap: wrap;
        gap: 15px;
    }

    .navbar nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 15px;
    }

    .hero {
        min-height: 100vh;
        padding: 150px 5% 60px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: clamp(32px, 10vw, 52px);
    }

    .hero-video-container {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: min(180px, 55vw);
        margin: 35px 0 0 auto;
    }

    .hero-video {
        position: relative;
        width: 100%;
        right: auto;
        top: auto;
        transform: none;
    }

    .page-box,
    .form-box {
        padding: 30px 20px;
    }
}
