:root {
    --accent-color: #4de4f8;
    --bg-dark: #222222;
    --text-white: #ffffff;
}



#page-wrapper, .body-wrapper {
    background-color: var(--bg-dark) !important;
}

html {
    scroll-behavior: smooth;
}

/*
    HERO FOTKA TEXT FORMATOVANIE
*/
.main-hero h1, 
.main-hero h2, 
.main-hero h3, 
.hero-params-skymarathon,
.hero-params-skyrace {
    text-shadow: 2px 2px 12px rgba(0,0,0,0.6);
    line-height: 1.1; 
}

.main-hero h1 {
    font-size: 4.5rem !important;
    font-weight: 600 !important; 
    margin-bottom: 0 !important;  
    letter-spacing: 1px;
}

.hero-params-skymarathon {
    color: var(--accent-color);
    font-size: 3.7rem;
    font-weight: 550;
    margin-top: -10px;   
    margin-bottom: 15px;  
}

.main-hero h2 {
    font-size: 2rem !important;
    font-weight: 600;
    margin-bottom: 3px !important; 
    margin-top: 0 !important;
}

.hero-params-skyrace {
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 550;
    margin-top: 0px;    
    margin-bottom: 25px;  
}

.main-hero h3 {
    font-size: 1.6rem !important;
    font-weight: 500;
    margin-top: 0 !important; 
}

/*
    VIDEO FORMAT
*/

#start {
    padding-top: 125px !important; 
    margin-top: -125px !important; 
    display: block;
}

#video {
    padding: 4rem 1rem;
    text-align: center;
    padding-top: 0rem !important;
    margin-top: -3rem !important;
}

/* Nadpis videa */
#video h1 {
    color: #445771; 
    font-size: 2rem;
    margin-bottom: 2rem;
    padding-top: 0rem !important;
    margin-top: 0rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responzívny obal na video */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    max-width: 900px; /* Maximálna šírka videa */
    margin: 0 auto; /* Vycentrovanie */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); 
}

/* Video ako take */
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

/* Pozadie */
.bg-gray,
#video,
#header {
    background: var(--bg-dark)  !important ;
}
.section.modular-text {
    padding-top: 0 !important;
    margin-top: 0 !important;
    text-align: center !important; 
}

.section.modular-text h1 {
    margin-top: 0 !important;
    text-align: center;        
    padding-top:  0 !important; 
}
/*
------------------HLAVICKA--------------------
*/

#header.scrolled .navbar-section a, 
#header.scrolled .navbar-brand {
    color: var(--text-white) !important; 
    opacity: 0.7;
}

#header.scrolled .navbar-section a.active {
    color: var(--accent-color) !important; 
    
}

#header.scrolled .navbar-section a:hover {
    color: var(--accent-color) !important;
    opacity: 1 !important;
}

#header .navbar-section a:hover {
    opacity: 1 !important;
}


.lang-wrapper {
    position: absolute !important;
    right: 1rem !important; 
    transform: translateY(-58%) !important; 
}


.langswitcher li {
    margin-left: -15px !important; 
}

.langswitcher a {
    font-size: 1.4rem !important; /* Veľkosť vlajok */
}

/*
---------------------PATICKA-------------------------
*/

/* Globálna pätička - prebitie pôvodného Quark štýlu */
section#footer {
    background-color: #050505 !important; 
    padding: 2rem 0 1rem 0 !important; 
    border-top: 1px solid #1a1a1a;
}

/* Flexbox mriežka pre logá */
#footer .sponzori-grid {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    align-items: center; 
    gap: 2rem; 
    margin-bottom: 0; 
}

/* Veľkosť obrázkov log sponzorov a efekty */
#footer .sponzori-logo img {
    max-height: 50px !important; 
    width: auto !important;
    opacity: 0.6;
}

/*COPYRIGHT TEXT */
#footer .copyright-text {
    width: 100% !important; 
    text-align: center !important;
    color: #666666;
}

#footer .copyright-text p {
    width: 100% !important;
    text-align: center !important; 
    margin: 0 auto !important;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* ----------------------------------------
    INFO STRANKA 
---------------------------------------- */

/* NAVIGACNA LISTA ----------------------------------------- */
.info-sticky-nav {
    background-color: #000000; 
    padding: 1.5rem 0; 
    border: none; 
    text-align: center;
    white-space: nowrap !important; /* <--- PRIDAŤ: Zakáže skákanie tlačidiel na nový riadok */
    overflow-x: auto;               /* <--- PRIDAŤ: Ak sa na mobile nezmestia, dá sa v nich posúvať prstom */
}

.info-sticky-nav .container {
    max-width: 100% !important;
}

/* Tlačidlá */
.info-nav-btn {
    display: inline-block !important;
    margin: 0 15px;  /* Rozdiely medzi tlacidlami na sirku */
    background: transparent !important;
    color: #cccccc !important;
    border: none !important;
    font-weight: 400; 
    font-size: 1.2rem;
}

/* Hover efekt pri tlacidlach */
.info-nav-btn:hover {
    color: var(--text-white) !important;
}

/* --- ÚVODNÝ TEXT NAD NAVIGÁCIOU --- */

#intro {
    text-align: center;
    padding-top: 3rem !important; 
    padding-bottom: 0rem !important; 
    background: var(--bg-dark) !important;
}

#intro p {
    color: #aaaaaa;
    font-size: 1.1rem;
    max-width: 900px;
    padding-bottom: 0rem !important;
    margin: 0 auto !important; 
}


/* --- VELKY UVODNY OBRAZOK --- */

.info-fullwidth-wrapper {
    width: 100vw !important;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.fw-img {
    width: 100%;
    height: 45vw; 
    object-fit: cover; 
    display: block;
}


/* BLOK TEXTU --------------------------------------- */

.info-section {
    background-color: var(--bg-dark) !important;
    color: #cccccc !important;
    
    /* Zmenšenie medzier */
    padding-top: 0 !important;  /* Zmenšili sme to z 4rem na 1rem */
    padding-bottom: 0rem !important;
    
    /* Odstránenie špár medzi modulmi */
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border: none !important;
    scroll-margin-top: 60px !important; 
}

.float-right {
    float: right !important;
    margin: 0 0 25px 50px !important;
    max-width: 400px !important;
    height: auto !important;
}

/* ----------------------------- VYSLEDKY --------------------------------------- */

/* Celá sekcia výsledkov */
.section.section-vysledky {
    background-color: var(--bg-dark) !important;
    text-align: center; /* Vycentruje všetko vnútri */
    padding-top: 4rem;
    padding-bottom: 6rem;
}

/* Veľké tlačidlo LIVE */
.live-results-wrapper {
    margin-bottom: 3rem;
    margin-top: 6rem;
}

.btn-live {
    background-color: var(--accent-color); 
    color: var(--text-white) !important;
    padding: 1rem 2rem;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 30px;
    text-decoration: none !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); 
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-live:hover {
    transform: scale(1.05);
    background-color: var(--text-white);
    color: #26C6DA !important;
}


/* ----------------------------- KONTAKT --------------------------------------- */

.text-center h1 {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.contact-details {
    padding-top: 4rem !important; 
    padding-left: 2rem;
}

.contact-details p {
    font-size: 1.1rem !important; 
    line-height: 1.6; 
    margin-bottom: 1rem !important; 
}

.contact-details i {
    font-size: 1.1rem !important; 
    width: 25px !important; 
}


/* Štýl pre profilovú fotku */
.profile-img {
    border-radius: 4px;
    margin-bottom: 0rem;
    max-width: 350px;
    width: 100%;
}

.image-desc {
    padding-top: 0rem !important;
    margin-top: -0.7rem !important;
}

/* Responzivita: Na mobile (pod 840px) budú stĺpce pod sebou */
@media (max-width: 840px) {
    .contact-details {
        padding-left: 0;
        text-align: center;
    }
    .contact-details p {
        justify-content: center;
    }
}


#galeria {
    padding-top: 0rem !important;    
    padding-bottom: 5rem !important; 
    
    text-align: center !important; 
}