@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Space+Grotesk:wght@300..700&display=swap');

@keyframes moveUp {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }   
    100% {
        transform: translateY(0px);
        opacity: 1;
    } 
}
:root {
    --box-color: rgba(255, 255, 255, 0.686);
}
* {
    font-family: inherit;
}
body {
    font-family: "Space Grotesk", sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    cursor: default;
}
html {
    scroll-behavior: smooth;
}
button,
a.heroButton {
    cursor: pointer;
    transition: 0.3s ease-in-out;
    background-color: #014A8B;
}
button:hover {
    background-color: #014A8B;
    transition: 0.3s ease-in-out;
}
h2 {
    text-align: center;
    color: #014A8B;
    font-size: 2.5rem;
    margin-inline: auto;
}
ul {
    display: flex;
    list-style-type: none;
}
main {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}
@media screen and (max-width: 1500px) {
    main {
        max-width: 1500px;
    }
}
/* SECTION HERO */
section.hero {
    position: relative;
    background-image: url(/img/akademiahero.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    height: fit-content;
    padding-bottom: 50px;
}
h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 600;
    margin: 80px 0 30px 150px;
}
.hero p.main {
    margin-left: 170px;
    width: 1000px;
    color: white;
    font-size: 1.4rem;
}
.heroButton {
    border: none;
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 0px 40px;
    border-radius: 99px;
    margin: 50px 0 50px 150px;
    font-size: 1.6rem;
    width: fit-content;
    text-decoration: none;
}
.heroButton p {
    color: white !important;
}

@media screen and (max-width: 1115px) {
h1 {
    margin: 80px 0 30px 50px;
}
.hero p.main {
    margin-left: 70px;
}
.hero .checks {
    margin-left: 50px;
}
.heroButton {
    margin: 50px 0 50px 50px;
}
}
@media screen and (max-width: 983px) {
h1 {
    font-size: 3rem;
    width: fit-content;
}
.hero p.main {
    width: fit-content;
}
}
@media screen and (max-width: 795px) {
	h1 {
    margin: 80px 0 30px 20px;
}
.hero p.main {
    width: 80vw;
    margin-left: 40px;
}
.hero .checks {
    margin-left: 20px;
}
.heroButton {
    margin: 30px 0 50px 20px;
}
}
@media screen and (max-width: 725px) {
    	h1 {
    font-size: 2.3rem;
    margin: 25px 0 25px 25px;
}
.hero p.main {
    font-size: 1rem;
}
	.checks li {
    height: 60px;
}
}
@media screen and (max-width: 483px) {
	.checks li {
    height: 70px;
}
.hero a.heroButton {
    max-width: 70vw;
    font-size: 1.2rem;
}
}
/* GULE */
.gula {
    position: absolute;
    height: auto;
    z-index: -1;
    pointer-events: none; /* prevents it from blocking clicks */
}
.gula1 {
    opacity: 0.5;
    width: 800px;
}
.gula2 {
    top: 200px;   
    right: 0;
    width: 300px;
}
.gula4 {
    left: 0;
    bottom: 0;
    width: 600px;
}

/* SECTION REASON */
.reason {
    margin: 50px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.reason .container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}
.reason h2 {
    margin: 0;
}
.reason hr {
    width: 250px;
    height: 2px;
    background-color: #014A8B;
    margin-bottom: 30px;
}
.reason .box {
    scale: 0.9;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--box-color);
    border-radius: 30px;
    width: 400px;
    height: 400px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    padding: 20px;
}
.reason .box img {
    margin: 30px 0 10px 0;
    width: 90px;
    height: 90px;
}
.reason .box h3 {
    font-weight: 500;
    text-align: center;
    color: #014A8B;
    margin: 0;
    font-size: 2rem;
    margin-bottom: 20px;
}
.reason .box p {
    text-align: center;
    color: #333333;
    margin: 0 10px;
    font-size: 1.4rem;
}
@media screen and (max-width: 455px) {
.reason .box {
    scale: 0.9;
    width: 90vw;
    height: fit-content;
    padding: 20px;
}
.reason .container {
    gap: 5px;
}
}

/* SECTION CENY */
.ceny h2 {
    margin: 100px 0 0 0;
}
.ceny hr {
    width: 60px;
    height: 2px;
    background-color: #014A8B;
    margin-bottom: 30px;
}
.ceny .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 80px;
}
.ceny .box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--box-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
    padding: 10px;
    border-radius: 10px;
}
.ceny .box .upper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.ceny .box.favorite {
    outline: 3px solid #014A8B;
    position: relative;
}
.fav {
    top: -18px;
    left: 18%;
    position: absolute;
    display: flex;
    align-items: center;
    background-color: #014A8B;
    border-radius: 99px;
    padding: 0px 20px;
    gap: 5px;
}
.fav p {
    margin: 5px 0;
    color: white;
    font-size: 1rem;
}
.fav img {
    width: 18px;
    height: 18px;
}
.ceny .price {
    font-weight: 500;
    color: #014A8B;
    font-size: 2.5rem;
    margin: 0;
}
.ceny .desc {
    font-size: 1.1rem;
    color: #333333;
    font-weight: 300;
    margin: 0;
}
.ceny .time strong {
    font-size: 1.3rem;
    color: #333333;
    font-weight: 300;
    margin: 0;
}
@media screen and (max-width: 1040px) {
    .ceny .container {
        justify-content: center;
        gap: 100px;
    }
}

/* SECTION INCLUDED */
.included {
    margin: 100px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.included ul {
    margin-bottom: 0;
}
.body {
    background-color: var(--box-color);
    border-radius: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    align-items: start;
}
.included h2 {
    margin: 30px 0 0 30px;
    text-align: start;
}
.included hr {
    margin: 0 0 0 35px;
    width: 200px;
    height: 2px;
    background-color: #014A8B;
}
.included .container {
    display: flex;
}
.included ul {
    display: flex;
    flex-direction: column;
}
.included li {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 400px;
    font-size: 1.3rem;
    font-weight: lighter;
    margin-right: 20px;
}
@media screen and (max-width: 923px) {
.included .container {
    flex-direction: column;
}
}
@media screen and (max-width: 484px) {
.body {
    width: 90vw;
}
}

/* PRAVIDLÁ PRESTUPOV */
.rules {
    display: flex;
    align-items: center;
    justify-content: center;
}
.rules .wrapper {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 500px;
    transform: translateX(-200px);
}
.rules h2 {
    text-align: start;
    margin: 0;
}
.rules hr {
    margin: 0 0 20px 0;
    width: 200px;
    height: 2px;
    background-color: #014A8B;
}
.rules p {
    font-size: 1.3rem;
    color: #333333;
    font-weight: 300;
    margin: 0;
}
@media screen and (max-width: 943px) {
.rules .wrapper {
    transform: translateX(-100px);
}
}
@media screen and (max-width: 734px) {
.rules .wrapper {
    transform: translateX(0px);
}
}
@media screen and (max-width: 534px) {
.rules .wrapper {
    width: 80vw;
}
}
/* SECTION SCOUTING*/
.scouting {
    margin-top: 100px;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.scouting .container {
    display: flex;
    justify-content: center;
    gap: 100px;
}
.scouting h2 {
    margin: 0;
    text-align: start;
}
.scouting hr {
    margin: 5px 0 0 0;
    width: 380px;
    height: 2px;
    background-color: #014A8B;    
}
.scouting .container p {
    width: 500px;
    color: #333333;
    font-size: 1.3rem;
    font-weight: lighter;
}
.scouting .right {
    background-image: url(/img/akademia.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 400px;
    height: 320px;
    border-radius: 20px;
}
.scouting a {
    width: fit-content;
    margin: 100px 0;
}
@media screen and (max-width: 1042px) {
.scouting {
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.scouting .container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
}
@media screen and (max-width: 570px) {
.scouting .container {
    margin: 0 20px;
}
.scouting p {
    max-width: 90vw;
}
.scouting hr {
    width: 60vw;
}
}
@media screen and (max-width: 473px) {
.scouting .right {
    width: 85vw;
    height: 85vw;
}
}
/* HAMBURGER MENU BASE */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    width: 40px;
    height: 40px;
    gap: 6px;
    z-index: 100;
}
.menu-toggle .bar {
    width: 100%;
    height: 4px;
    background-color: #014A8B;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* OVERLAY MENU */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
    z-index: 1000;
    overflow: hidden;
}
body.no-scroll {
    overflow: hidden;
    max-height: 100vh !important;
}
.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Overlay list styling */
.nav-overlay ul {
    display: flex;
    flex-direction: column;
    gap: 40px;
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}
.nav-overlay ul a {
    text-decoration: none;
    color: #014A8B;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: color 0.2s ease-in-out;
}
.nav-overlay ul a:hover {
    color: #014A8B;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    font-weight: 400;
    color: #014A8B;
    cursor: pointer;
    user-select: none;
    transition: 0.2s;
    z-index: 100000;
}
.close-btn:hover {
    color: #014A8B;
}

/* MOBILE TRIGGER */
@media screen and (max-width: 800px) {
    nav {
        max-width: 78vw;
    }
    nav ul {
        display: none;
    }
    nav button {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
}

/* Animate bars into X */
.menu-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}
.menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}
/* Avoid pull-to-refresh/overscroll bubbling while overlay is open */
.nav-overlay {
  overscroll-behavior: contain;
}

/* If you want to belt-and-suspenders it for some Android browsers: */
html, body {
  overscroll-behavior-y: none;
}
