/* =========================================
   RESET
========================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    color:#333;
    background:#fff;
    line-height:1.7;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

/* =========================================
   PROMĚNNÉ
========================================= */

:root{

    --primary:#0B3D91;
    --primary-dark:#072B66;

    --accent:#2E8B57;

    --light:#F5F7FA;

    --text:#333333;

    --white:#ffffff;

    --shadow:0 12px 35px rgba(0,0,0,.08);

    --radius:18px;

}

/* =========================================
   OBECNÉ
========================================= */

.container{
    width:min(1200px,90%);
    margin:auto;
}

section{
    padding:100px 0;
}

.section-header{
    text-align:center;
    margin-bottom:60px;
}

.section-header h2{
    font-size:42px;
    color:var(--primary);
    margin-bottom:15px;
}

.section-header p{
    max-width:700px;
    margin:auto;
    color:#666;
}

/* =========================================
   TLAČÍTKA
========================================= */

.btn{
    display:inline-block;
    padding:15px 30px;
    border-radius:50px;
    background:var(--accent);
    color:var(--white);
    font-weight:600;
    transition:.3s;
}

.btn:hover{
    background:#257148;
    transform:translateY(-3px);
}

.btn-outline{
    background:transparent;
    border:2px solid var(--white);
    color:var(--white);
}

.btn-outline:hover{
    background:var(--white);
    color:var(--primary);
}

/* =========================================
   HEADER
========================================= */

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:rgba(11,61,145,.95);
    backdrop-filter:blur(10px);
    z-index:1000;
}

.header .container{
    height:80px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo{
    display:flex;
    align-items:center;
    margin-left:-158px;
}

@media (max-width:768px){
    .logo{
        margin-left:-20px;
    }
}

.logo img{
    height:80px;
    width:auto;
    display:block;
}

.nav-menu{
    display:flex;
    gap:35px;
}

.nav-menu a{
    color:white;
    font-weight:500;
    transition:.3s;
}

.nav-menu a:hover{
    color:#dbe8ff;
}

.menu-toggle{
    display:none;
    border:none;
    background:none;
    color:white;
    font-size:28px;
    cursor:pointer;
}

/* =========================================
   HERO
========================================= */

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    padding-top:80px;

    background-image:url("images/hero.jpg");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    color:#fff;
}

.hero-content{
    width:100%;
    display:flex;
    justify-content:flex-start;
    align-items:center;
}

.hero-text{
    width:55%;
    max-width:650px;
    margin-left:30px;   /* posune text trochu doleva */
}

.hero-subtitle{
    display:inline-block;
    color:#9fd3ff;
    margin-bottom:20px;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:1px;
}

.hero h1{
    font-size:54px;
    line-height:1.2;
    margin-bottom:25px;
    color:#fff;
}

.hero p{
    font-size:18px;
    color:#fff;
    margin-bottom:35px;
    max-width:600px;
}

.hero-buttons{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

/* =========================================
   SLUŽBY
========================================= */

.services{
    background:var(--white);
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.service-card{
    background:var(--white);
    border-radius:var(--radius);
    padding:40px 30px;
    text-align:center;
    box-shadow:var(--shadow);
    transition:.3s;
}

.service-card:hover{
    transform:translateY(-10px);
}

.service-card i{
    font-size:52px;
    color:var(--primary);
    margin-bottom:25px;
}

.service-card h3{
    font-size:24px;
    color:var(--primary);
    margin-bottom:15px;
}

.service-card p{
    color:#666;
    font-size:15px;
}

/* =========================================
   REFERENCE
========================================= */

.references{
    background:var(--light);
}

.gallery{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.gallery img{
    width:100%;
    height:280px;
    object-fit:cover;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    transition:.35s;
    cursor:pointer;
}

.gallery img:hover{
    transform:scale(1.04);
}

/* =========================================
   O MNĚ
========================================= */

.about{
    background:var(--white);
}

.about-content{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}

.about-image img{
    border-radius:var(--radius);
    box-shadow:var(--shadow);
}

.about-text h2{
    color:var(--primary);
    font-size:42px;
    margin-bottom:25px;
}

.about-text p{
    margin-bottom:18px;
    color:#555;
}

.about-text strong{
    color:var(--primary);
}

/* =========================================
   KONTAKT
========================================= */

.contact{
    background:var(--primary);
    color:var(--white);
}

.contact-content{
    display:grid;
    grid-template-columns:1fr 1.2fr;
    gap:60px;
    align-items:start;
}

.contact-info h2{
    font-size:42px;
    margin-bottom:25px;
}

.contact-info p{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:20px;
    font-size:18px;
}

.contact-info i{
    width:24px;
    color:var(--accent);
    font-size:20px;
}

.contact-form{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:16px 18px;
    border:none;
    border-radius:12px;
    font-size:16px;
    font-family:inherit;
    outline:none;
}

.contact-form textarea{
    resize:vertical;
    min-height:170px;
}

.contact-form .btn{
    align-self:flex-start;
    border:none;
    cursor:pointer;
}

/* =========================================
   PATIČKA
========================================= */

footer{
    background:#071f47;
    color:var(--white);
    text-align:center;
    padding:30px 0;
}

footer p{
    opacity:.8;
    font-size:15px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width:991px){

    .hero-content,
    .about-content,
    .contact-content{
        grid-template-columns:1fr;
        text-align:center;
    }

    .hero-buttons{
        justify-content:center;
    }

    .services-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .gallery{
        grid-template-columns:repeat(2,1fr);
    }

    .contact-info p{
        justify-content:center;
    }

    .contact-form .btn{
        align-self:center;
    }

}

@media (max-width:768px){

    .menu-toggle{
        display:block;
    }

    .navbar{
        display:none;
    }

    .header .btn{
        display:none;
    }

    .hero{
        padding-top:140px;
    }

    .hero h1{
        font-size:38px;
    }

    .section-header h2,
    .about-text h2,
    .contact-info h2{
        font-size:34px;
    }

    .services-grid,
    .gallery{
        grid-template-columns:1fr;
    }

}

@media (max-width:480px){

    section{
        padding:70px 0;
    }

    .hero h1{
        font-size:32px;
    }

    .hero p{
        font-size:16px;
    }

    .btn{
        width:100%;
        text-align:center;
    }

    .hero-buttons{
        flex-direction:column;
    }

}

/* =========================================
   MOBILNÍ MENU
========================================= */

@media (max-width:768px){

    .navbar.active{
        display:block;
        position:absolute;
        top:80px;
        left:0;
        width:100%;
        background:var(--primary);
        box-shadow:var(--shadow);
    }

    .navbar.active .nav-menu{
        display:flex;
        flex-direction:column;
        align-items:center;
        padding:30px 0;
        gap:25px;
    }

}

/* Header po scrollování */

.header.scrolled{
    box-shadow:0 10px 30px rgba(0,0,0,.15);
}

@media (max-width:768px){

    .hero-content{
        justify-content:center;
        text-align:center;
    }

    .hero-text{
        width:100%;
        max-width:100%;
        margin-left:0;
        padding:0 20px;
        text-align:center;
    }

    .hero-buttons{
        justify-content:center;
    }

}

/* ========================================= */
/* DĚKOVACÍ STRÁNKA */
/* ========================================= */

.thanks{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:40px 20px;
}

.thanks h1{
    margin-bottom:20px;
}

.thanks p{
    max-width:600px;
    margin:0 auto 30px;
}

.experience{
    color: #000 !important;
    font-size: 1.8rem !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}