/* ==================================================
   RESET
================================================== */

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

/* ==================================================
   PROMĚNNÉ
================================================== */

:root{

    --primary:#12355B;
    --secondary:#F28C28;

    --text:#2E2E2E;
    --text-light:#666666;

    --background:#FFFFFF;
    --background-light:#F7F9FC;

    --border-radius:20px;

    --shadow:
        0 10px 30px rgba(0,0,0,.08);

    --transition:.3s ease;

}

/* ==================================================
   ZÁKLAD
================================================== */

body{

    font-family:"Poppins",sans-serif;
    font-size:18px;
    color:var(--text);

    background:var(--background);

    line-height:1.7;

}


.container{

    width:min(90%,1200px);

    margin-inline:auto;

}


img{

    display:block;
    width:100%;
    height:auto;

}


a{

    text-decoration:none;
    color:inherit;

}


ul{

    list-style:none;

}

/* ==================================================
   TYPOGRAFIE
================================================== */

h1,
h2,
h3{

    color:var(--primary);

    font-weight:700;

}


h1{

    font-size:52px;
    line-height:1.15;

}


h2{

    font-size:40px;

}


h3{

    font-size:24px;

}


.section-title{

    max-width:720px;

    margin:0 auto 55px;

    text-align:center;

}


.section-title h2{

    margin-bottom:20px;

}


.section-title p{

    color:var(--text-light);

    font-size:18px;

}

/* ==================================================
   BUTTONS
================================================== */

.btn{

    display:inline-block;

    padding:16px 34px;

    border-radius:10px;

    font-size:16px;

    font-weight:600;

    transition:var(--transition);

}


.btn-primary{

    background:var(--secondary);

    color:white;

}


.btn-primary:hover{

    transform:translateY(-3px);

    box-shadow:
        0 12px 25px rgba(242,140,40,.35);

}


.btn-secondary{

    border:2px solid white;

    color:white;

}


.btn-secondary:hover{

    background:white;

    color:var(--primary);

}

/* ==================================================
   HEADER
================================================== */

header{

    position:sticky;

    top:0;

    z-index:1000;

    background:rgba(13,34,60,.95);

    box-shadow:
        0 2px 10px rgba(0,0,0,.05);

}


.header-container{

    display:flex;

    align-items:center;

    min-height:80px;

}

.logo{

    font-size:18px;

    font-weight:700;

    color:white;

}

.logo{
    display:flex;
    flex-direction:column;
    line-height:1.2;
}

.logo-name{
    font-size:18px;
    font-weight:700;
    color:white;
}

.logo-subtitle{
    margin-top:4px;
    font-size:11px;
    font-weight:400;
    color:rgba(255,255,255,.75);
}

nav{

    display:flex;

    gap:28px;

    margin-left:auto;

    color:white;

}


nav a{

    font-size:16px;

    font-weight:500;

    transition:var(--transition);

}

.header-button{

    margin-left:40px;

    padding:11px 20px;

    background:var(--secondary);

    color:white;

    border-radius:6px;

    font-size:13px;

    font-weight:600;

    transition:var(--transition);

}

.header-button:hover{

    transform:translateY(-2px);

    box-shadow:
        0 8px 20px rgba(242,140,40,.30);

}


nav a:hover{

    color:var(--secondary);

}

/* ==================================================
   HERO
================================================== */

.hero{

    background:linear-gradient(
        135deg,
        #0F2D4F 0%,
        #12355B 60%,
        #1A4A7A 100%
    );

    overflow:hidden;

    padding:80px 0 140px;

}

.hero-wrapper{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:60px;

}

/* ---------------- LEFT ---------------- */

.hero-left{

    flex:0 0 46%;

}

.hero-tag{

    display:inline-block;

    margin-bottom:18px;

    color:var(--secondary);

    font-size:14px;

    font-weight:700;

    letter-spacing:2px;

    text-transform:uppercase;

}

.hero h1{

    color:white;

    margin-bottom:28px;

}

.hero-description{

    color:rgba(255,255,255,.85);

    margin-bottom:36px;

    max-width:520px;

}

.hero-list{

    display:grid;

    grid-template-columns:repeat(2,max-content);

    gap:14px 35px;

    margin-bottom:40px;

}

.hero-list li{

    color:white;

}

.hero-buttons{

    display:flex;

    gap:18px;

}

/* ---------------- RIGHT ---------------- */

.hero-right{

    position:relative;

    flex:0 0 54%;

    display:flex;

    justify-content:flex-end;

}

.hero-right img{

    width:720px;

    max-width:none;

    display:block;

}

/* ---------------- PANEL ---------------- */

.hero-panel{

    position:absolute;

    bottom:-35px;

    right:10px;

    width:650px;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    background:rgba(13,34,60,.96);

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 20px 40px rgba(0,0,0,.25);

}


.feature{

    padding:20px 18px;

    border-right:1px solid rgba(255,255,255,.12);

}

.feature:last-child{

    border-right:none;

}

.feature-header{

    display:flex;

    align-items:center;

    gap:10px;

    margin-bottom:10px;

}

.feature-header span{

    font-size:20px;

}

.feature h3{

    font-size:15px;

    color:white;

    margin:0;

}

.feature p{

    color:rgba(255,255,255,.75);

    font-size:14px;

    line-height:1.5;

}

/* ==================================================
   SLUŽBY
================================================== */
/* ==================================================
   SLUŽBY
================================================== */

a celý blok až před /* PORTFOLIO */ nahraď:

/* ==================================================
   SLUŽBY
================================================== */

.services{

    padding:90px 0;

    background:white;

}


.services .section-title{

    margin-bottom:50px;

}


/* ---------- GRID ---------- */

.services-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;

}


/* ---------- KARTA ---------- */

.service-card{

    background:white;

    padding:32px 24px;

    border:1px solid #E5EAF0;

    border-radius:12px;

    text-align:center;

    box-shadow:0 5px 18px rgba(18,53,91,.06);

    transition:var(--transition);

}


.service-card:hover{

    transform:translateY(-5px);

    box-shadow:0 12px 28px rgba(18,53,91,.12);

    border-color:rgba(242,140,40,.45);

}


/* ---------- IKONA ---------- */

.service-icon{

    width:64px;

    height:64px;

    margin:0 auto 20px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:rgba(242,140,40,.10);

    font-size:30px;

}


/* ---------- NADPIS ---------- */

.service-card h3{

    margin-bottom:14px;

    color:var(--primary);

    font-size:19px;

    line-height:1.35;

}


/* ---------- TEXT ---------- */

.service-card p{

    margin:0;

    color:var(--text-light);

    font-size:15px;

    line-height:1.65;

}

/* ==================================================
   ÚPRAVA SEKCE SLUŽBY
================================================== */

.services{

    padding:80px 0;

    background:#FFFFFF;

}


/* Nadpis sekce */

.services .section-title h2{

    color:var(--primary);

    margin-bottom:16px;

}


.services .section-title p{

    color:var(--text-light);

    font-size:17px;

    max-width:750px;

    margin:0 auto;

}


/* Karty služeb */

.services-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:24px;

    margin-top:55px;

}


.service-card{

    background:#FFFFFF;

    padding:40px 28px;

    border:1px solid #E5EAF0;

    border-radius:10px;

    box-shadow:0 5px 20px rgba(0,0,0,.04);

    text-align:center;

    transition:var(--transition);

}


.service-card:hover{

    transform:translateY(-5px);

    box-shadow:0 12px 30px rgba(0,0,0,.08);

}


/* Ikona */

.service-icon{

    width:70px;

    height:70px;

    margin:0 auto 25px;

    border-radius:50%;

    background:rgba(242,140,40,.10);

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:32px;

}


/* Nadpis karty */

.service-card h3{

    margin-bottom:18px;

    color:var(--primary);

    font-size:20px;

    line-height:1.35;

}


/* Text karty */

.service-card p{

    color:var(--text-light);

    font-size:16px;

    line-height:1.7;

}


/* ==================================================
   PORTFOLIO
================================================== */

.portfolio{

    padding:100px 0;

    background:white;

}




/* oranžová linka pod nadpisem */

.portfolio .section-title::after{

    content:"";

    display:block;

    width:45px;

    height:3px;

    margin:20px auto 0;

    background:var(--secondary);

}


/* GRID */

.portfolio-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:24px;

    max-width:1140px;

    margin:0 auto;

}


/* KARTA */

.portfolio-card{
    overflow:hidden;
    border-radius:var(--border-radius);
    background:white;
    box-shadow:var(--shadow);
    transition:var(--transition);
    border:1px solid #E8EDF3;
}

.portfolio-card:hover{

    transform:translateY(-6px);

    box-shadow:
        0 15px 35px rgba(0,0,0,.12);

}

.portfolio-card img{

    width:100%;
    height:auto;
    display:block;

}

.portfolio .section-title{

    margin-bottom:55px;

}

.portfolio-content{

    padding:28px;

}

.portfolio-content h3{

    margin-bottom:16px;

    color:var(--primary);

}

.portfolio-content p{

    color:var(--text-light);

    margin-bottom:18px;

    font-size:16px;

}

.portfolio-content span{

    display:inline-block;

    padding:8px 14px;

    background:#F7F9FC;

    border:1px solid #E3E8EF;

    border-radius:50px;

    color:var(--primary);

    font-size:14px;

    font-weight:600;

}

/* ==================================================
   SPOLUPRÁCE
================================================== */

.process{

    padding:100px 0;

    background:var(--background-light);

}

.process-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:24px;

}

.process-card{

    background:white;

    padding:35px 28px;

    border-radius:var(--border-radius);

    text-align:center;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.process-card:hover{

    transform:translateY(-6px);

}

.process-card span{

    width:56px;

    height:56px;

    margin:0 auto 22px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    background:var(--secondary);

    color:white;

    font-size:22px;

    font-weight:700;

}

.process-card h3{

    margin-bottom:18px;

}

.process-card p{

    color:var(--text-light);

    font-size:16px;

}

/* ==================================================
   O MNĚ
================================================== */

.about{

    padding:100px 0;
 background:white;


}

.about-container{

    display:grid;

    grid-template-columns:0.9fr 1.1fr;

    gap:70px;

    align-items:center;

}

.about-image img{

    width:425px;
    height:520px;

    object-fit:cover;

    border-radius:20px;

    box-shadow:var(--shadow);

}

.about-text h2{

    margin-bottom:28px;

}

.about-text p{

    margin-bottom:22px;

    color:var(--text-light);

}

.about-text .btn{

    margin-top:10px;

}
/* ==================================================
   KONTAKT
================================================== */

.contact{

    padding:100px 0;

    background:var(--background-light);

}

.contact-box{

    max-width:700px;

    margin:0 auto;

    padding:45px;

    background:white;

    border-radius:var(--border-radius);

    box-shadow:var(--shadow);

    text-align:center;

}

.contact-box p{

    margin-bottom:18px;

    color:var(--text-light);

    font-size:18px;

}

.contact-box strong{

    color:var(--primary);

}

.contact-box .btn{

    margin-top:18px;

}
/* ==================================================
   FOOTER
================================================== */

footer{

    background:var(--primary);

    color:white;

    padding:35px 0;

}

.footer-container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

}

footer p{

    margin:0;

    color:rgba(255,255,255,.85);

    font-size:15px;

}

.footer-links{

    display:flex;

    gap:25px;

}

.footer-links a{

    transition:var(--transition);

}

.footer-links a:hover{

    color:var(--secondary);

}

/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width:992px){

    h1{

        font-size:44px;

    }

    h2{

        font-size:34px;

    }

   

    .hero h1,
    .hero-description{

        max-width:100%;

    }

    .hero-list{

        justify-content:center;

    }

    .hero-buttons{

        justify-content:center;

    }

    .services-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .portfolio-grid{

        grid-template-columns:1fr;

    }

    .process-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .about-container{

        grid-template-columns:1fr;

        text-align:center;

    }

}
@media (max-width:768px){

    nav{

        display:none;

    }

    .services-grid,
    .process-grid{

        grid-template-columns:1fr;

    }

    .hero-list{

        grid-template-columns:1fr;

    }

    .footer-container{

        flex-direction:column;

        text-align:center;

    }

}