/* --- PROMĚNNÉ --- */
:root {
    --dark: #2B2D42;
    --grey: #8D99AE;
    --light: #EDF2F4;
    --red: #EF233C;
    --dark-red: #D90429;
    --glass: rgba(43, 45, 66, 0.95);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- NAVIGACE --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(141, 153, 174, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--light);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: 0.3s;
}

nav ul li a:hover {
    color: var(--red);
}

/* Hamburger pro mobil */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--light);
    transition: 0.3s;
}

/* --- HERO SEKCE --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 50%, rgba(239, 35, 60, 0.1), transparent 50%);
    padding-top: 60px; /* Kompenzace fixního headeru */
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hero-text h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text h1 span {
    color: var(--red);
    text-shadow: 0 0 30px rgba(239, 35, 60, 0.4);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--grey);
    max-width: 500px;
    margin-bottom: 35px;
}

.hero-image {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end; /* Mechanik stojí na "podlaze" */
}

/* Oprava pozice a vypnutí animace */
.static-mechanic {
    max-width: 65%; /* Zmenšení na desktopu */
    height: auto;
    filter: drop-shadow(0 10px 40px rgba(0,0,0,0.6));
    margin-top: 40px; /* Snížení mechanika */
}

/* --- TLAČÍTKA --- */
.hero-btns {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    background: var(--red);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--red);
}

.btn:hover {
    background: var(--dark-red);
    transform: translateY(-3px);
}

/* --- SEKCE --- */
.intro-section, .services, .pricing-section, .contact-section {
    padding: 100px 0;
}

.intro-section {
    background: #1e2030;
    text-align: center;
}

.intro-section p {
    font-size: 1.2rem;
    color: var(--grey);
    max-width: 800px;
    margin: 0 auto 20px;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 60px;
}

/* --- SLUŽBY KARTY --- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.service-card {
    background: #24263b;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(141, 153, 174, 0.1);
    transition: 0.4s;
}

.service-card:hover {
    border-color: var(--red);
    transform: translateY(-10px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--red);
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    margin-bottom: 15px;
    text-transform: uppercase;
}

.service-card p {
    color: var(--grey);
}

/* --- CENÍK --- */
.pricing-wrapper {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.pricing-category {
    flex: 1;
    min-width: 300px;
    background: #1e2030;
    padding: 30px;
    border-radius: 15px;
}

.pricing-category h3 {
    color: var(--red);
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--red);
    padding-bottom: 10px;
}

.disclaimer {
    margin-top: 30px;
    text-align: center;
    color: var(--grey);
}

/* Zvýraznění ceníku */
.pricing-category p {
    color: var(--grey);
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.pricing-category p.highlight {
    font-weight: 700;
    color: var(--light);
}

/* --- KONTAKT --- */
.contact-container {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-list {
    margin-top: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.info-item i {
    width: 45px;
    height: 45px;
    background: rgba(239,35,60,0.1);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
}

.map-box {
    flex: 1.5;
    min-width: 300px;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(239,35,60,0.2);
}

/* --- FOOTER --- */
footer {
    background: #1a1b2b;
    padding: 50px 0;
    text-align: center;
}

.social-box {
    margin-bottom: 20px;
}

.instagram-link {
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    padding: 10px 20px;
    border: 1px solid var(--red);
    border-radius: 50px;
    transition: 0.3s;
}

.instagram-link:hover {
    background: var(--red);
}

/* --- ANIMACE REVEAL --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s all ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONZIVITA (Media Queries) --- */

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    
    nav {
        position: fixed;
        right: -100%;
        top: 80px;
        background: var(--dark);
        width: 100%;
        height: 100vh;
        transition: 0.5s;
    }

    nav.active { right: 0; }

    nav ul {
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
    }

    nav ul li { margin: 20px 0; }

    /* 1. Hero sekce posunutá dolů */
    .hero {
        height: auto;
        padding-top: 180px; /* Větší mezera od horní lišty */
        padding-bottom: 30px; 
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        width: 100%;
    }

    /* 2. Centrování tlačítek */
    .hero-btns {
        justify-content: center; /* Horizontální centrování */
        width: 100%;
        gap: 15px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-image {
        display: none; /* Smazáno u responzivity */
    }

    /* 3. Sekce blíž k sobě (menší padding) */
    .intro-section, .services, .pricing-section, .contact-section {
        padding: 40px 0; /* Výrazně zmenšené mezery mezi sekcemi */
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 25px; /* Menší mezera pod nadpisem */
    }
}