/* =====================================
   Slovenská verzia webu
   Lubomir Stančík
===================================== */

:root {

    --primary: #2563eb;
    --primary-dark: #1e40af;

    --secondary: #0f172a;

    --background: #ffffff;
    --background-light: #f8fafc;

    --text: #334155;

    --border: #e2e8f0;

    --radius: 14px;

    --shadow: 0 5px 20px rgba(0,0,0,.08);
}

/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:
        "Segoe UI",
        Arial,
        sans-serif;

    background:#fff;

    color:var(--text);

    line-height:1.7;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

/* CONTAINER */

.container{

    width:90%;

    max-width:1200px;

    margin:auto;
}

/* HEADER */

header{

    position:sticky;

    top:0;

    z-index:1000;

    background:white;

    border-bottom:1px solid var(--border);
}

.nav{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 0;
}

.logo{

    font-size:1.3rem;

    font-weight:700;

    color:var(--secondary);
}

nav{

    display:flex;

    gap:25px;
}

nav a{

    color:var(--secondary);

    font-weight:500;

    transition:.3s;
}

nav a:hover{

    color:var(--primary);
}

/* HERO */

.page-hero{

    background:
    linear-gradient(
        135deg,
        #2563eb,
        #1e3a8a
    );

    color:white;

    text-align:center;

    padding:120px 0;
}

.page-hero h1{

    font-size:3rem;

    color:white;

    margin-bottom:25px;
}

.page-hero p{

    max-width:800px;

    margin:auto;

    font-size:1.2rem;
}

/* BUTTON */

.btn-primary{

    display:inline-block;

    margin-top:30px;

    padding:16px 32px;

    background:white;

    color:var(--primary);

    border-radius:10px;

    font-weight:600;

    transition:.3s;
}

.btn-primary:hover{

    transform:translateY(-3px);

    box-shadow:var(--shadow);
}

/* SECTIONS */

section{

    padding:90px 0;
}

section h2{

    text-align:center;

    font-size:2rem;

    margin-bottom:30px;

    color:var(--secondary);
}

section p{

    max-width:900px;

    margin:auto auto 20px;

    text-align:center;
}

/* LIGHT */

.light{

    background:var(--background-light);
}

/* GRID */

.grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

    margin-top:50px;
}

/* CARD */

.card{

    background:white;

    padding:30px;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    transition:.3s;
}

.card:hover{

    transform:translateY(-6px);
}

.card h3{

    margin-bottom:15px;

    color:var(--secondary);
}

/* LIST */

.list{

    max-width:900px;

    margin:auto;
}

.list li{

    background:white;

    margin-bottom:15px;

    padding:18px;

    border-left:5px solid var(--primary);

    border-radius:8px;

    box-shadow:var(--shadow);
}

/* TIMELINE */

.timeline{

    max-width:900px;

    margin:auto;
}

.timeline-item{

    display:flex;

    gap:25px;

    margin-bottom:35px;
}

.timeline-number{

    width:60px;

    height:60px;

    min-width:60px;

    border-radius:50%;

    background:var(--primary);

    color:white;

    font-size:1.4rem;

    font-weight:700;

    display:flex;

    align-items:center;

    justify-content:center;
}

.timeline-content{

    flex:1;

    background:white;

    padding:25px;

    border-radius:14px;

    box-shadow:var(--shadow);
}

.timeline-content h3{

    margin-bottom:10px;

    color:var(--secondary);
}

/* CONTACT */

.contact-box{

    text-align:center;
}

.contact-box p{

    margin-bottom:25px;
}

/* CTA */

.cta{

    background:
    linear-gradient(
        135deg,
        #0f172a,
        #1e293b
    );

    color:white;

    text-align:center;
}

.cta h2{

    color:white;
}

.cta p{

    color:#e2e8f0;
}

/* FOOTER */

footer{

    background:#020617;

    color:#cbd5e1;

    text-align:center;

    padding:40px;
}

/* MOBILE */

@media(max-width:768px){

    nav{
        display:none;
    }

    .page-hero{

        padding:80px 0;
    }

    .page-hero h1{

        font-size:2rem;
    }

    section{

        padding:60px 0;
    }

    .timeline-item{

        flex-direction:column;

        text-align:center;
    }

    .timeline-number{

        margin:auto;
    }

}
.language-switch{

    font-size:0.9rem;
}


.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    color: inherit;
    font-weight: 700;
}

#main-menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

#main-menu a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
}

#main-menu a:hover {
    color: #0066cc;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
}


//-------Resposivne MENU
@media (max-width: 900px) {

.menu-toggle {
    display: block;
}

#main-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
    z-index: 999;
}

#main-menu.active {
    display: flex;
}

#main-menu a {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

}
//zvyraznenie stranky
#main-menu a.active {
    color: #0066cc;
    font-weight: 700;
    position: relative;
}

#main-menu a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 3px;
    background: #0066cc;
    border-radius: 5px;
}
/////LOGO
.logo a{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    color:inherit;
}

.logo-img{
    width:48px;
    height:48px;
    object-fit:contain;
}

.logo span{
    font-size:1.2rem;
    font-weight:700;
    color:#1a1a1a;
}

@media (max-width:900px){

.logo-img{
    width:40px;
    height:40px;
}

.logo span{
    font-size:1rem;
}

}