/* Základní reset a nastavení */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigace */
.logo {
    background-color: #121B24;
    display: flex;
    justify-content: center;
}

.top-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 20px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    margin-left: 25px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-links li a:hover {
    font-weight: 800;
}

/* Hero sekce */
.hero {
    height: 70vh;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 10%, rgba(0, 0, 0, 0)), url('./img/hero-image.png') center/cover;
    display: flex;
    align-items: end;
    padding-left: 8%;
    padding-bottom: 8%;
}

.hero-content {
    width: 50vw;
    line-height: 1.2;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
}

/* Sekce obecně */
.section {
    padding: 80px 0;
    text-align: center;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 300;
}

.section p {
    font-size: 1rem;
    font-weight: 300;
}

.border-top {
    border-top: 1px solid #333;
}

/* Služby Grid */
#sluzby {
    background-color: #121B24;
}

.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    padding: 20px;
}

.service-card h3 {
    margin: 15px 0;
    font-weight: 600;
}

.btn-outline {
    display: inline-block;
    margin-top: 30px;
    padding: 5px 20px;
    background: #D9D9D9;
    color: #000;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    border: 1px solid #D9D9D9;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: transparent;
    border-color: #D9D9D9;
    color: #D9D9D9;
}

/* Tým a tlačítka telefonů */
.grid-team {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.btn-contact {
    display: inline-block;
    margin-top: 30px;
    padding: 5px 20px;
    background: #D9D9D9;
    color: #000;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    border: 1px solid #D9D9D9;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: transparent;
    border-color: #D9D9D9;
    color: #D9D9D9;
}

/* Odměna */
#odmena {
    background-color: #121B24;   
}

.price-item {
    margin-top: 30px;
}


/* Kontakt Form */
.contact-flex {
    display: flex;
    justify-content: space-between;
    justify-items: center;
    text-align: left;
    gap: 50px;
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-form input, .contact-form textarea {
    background: #333;
    border: none;
    padding: 12px;
    margin-bottom: 15px;
    color: #fff;
    border-radius: 5px;
}

.btn-submit {
    max-width: fit-content;
    background: #fff;
    color: #000;
    border: none;
    padding: 12px 50px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
}

.contact-info {
    display: flex;
    flex-direction: row;
}

.address-box div {
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    margin-top: 10px;
}

.address-box p {
    font-size: 0.8rem;
    line-height: 1.5;
}

.address-box a {
    color: #fff;
}

footer {
    padding: 40px;
    text-align: center;
    font-size: 0.8rem;
    border-top: 1px solid #222;
    background-color: #121B24;
}

footer a {
    color: #fff;
}

/* Responzivita */
@media (max-width: 768px) {
    .contact-flex { flex-direction: column; }
    .nav-links { flex-direction: column; align-items: center;}
    .logo img { width: 70%;}
    .address-box img { width: 100%;}
    .address-box p { text-align: center;}
    .contact-info div {flex-direction: column; gap: unset;}

    .hero {
        height: auto;          /* Změna z pevné výšky na automatickou */
        min-height: 50vh;      /* Ale udržíme minimální plochu pro vizuál */
        padding: 100px 20px 40px 20px; /* Větší horní padding kvůli menu, menší levý */
        text-align: center;
        background-position: 70% center; /* Posuneme fotku, aby byl obličej/postavy lépe vidět */
    }

    .hero-content {
        width: 100%;           /* Text využije celou šířku displeje */
    }

    .hero-content h1 {
        font-size: 2.2rem;     /* Zmenšíme písmo, aby se nerozlamovalo na slabiky */
        line-height: 1.1;
    }

    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
}