:root {
    --primary: #ff8800;
    --tyrkys: #0090A6;
    /* Makita tyrkysová */
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --white: #ffffff;
    --text: #333;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

html {
    scroll-padding-top: 80px;
}

/* === MOBILE FIRST - základní styly pro mobil === */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
    padding-top: 60px;
    font-size: 1.125rem;
    /* 18px */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 25px;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--dark);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
}

/* Mobile first - hamburger je zobrazené */
.hamburger {
    display: block;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile first - navigace je defaultně skrytá */
.nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--dark);
    flex-direction: column;
    padding: 10px 0;
    border-top: 1px solid #333;
}

.nav-links.active {
    display: flex;
}

.nav-links a {
    padding: 15px;
    text-align: center;
    width: 100%;
    display: block;
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

header {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.65) 100%),
        url("../pulhodinkahero.jpg") center / cover no-repeat;
    color: var(--white);
    padding: 150px 0 110px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

header .container {
    width: 100%;
}

.hero-logo {
    width: clamp(220px, 18vw, 310px);
    height: auto;
    margin: 0 auto 18px;
    display: block;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}

header h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.tagline {
    font-size: 1.4rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

/* Nový styl pro hravé odpočítávání */
.phone-subline {
    font-size: 1.05rem;
    margin-bottom: 40px;
    font-style: italic;
    color: var(--primary);
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 18px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

section {
    margin: 70px auto !important;
}

section p {
    font-size: 1.1rem;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 35px;
    color: var(--dark);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

h2::before,
h2::after {
    content: "";
    height: 4px;
    flex-grow: 1;
    background-color: var(--primary);
    max-width: 70px;
    border-radius: 2px;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.problem-item {
    background: var(--light);
    padding: 22px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    font-size: 1.1rem;
}

.problem-item i {
    color: var(--tyrkys);
    font-size: 1.2rem;
}

.services {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.service-card {
    background: var(--white);
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 15px;
    transition: 0.3s;
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--tyrkys);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    font-size: 1.1rem;
}

.service-card li::before {
    content: "→";
    color: var(--primary);
    position: absolute;
    left: 0;
}

.work-style {
    background: #f0f7f8;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #e0f0f2;
    text-align: center;
}

.work-item {
    margin-bottom: 25px;
}

.work-item h4 {
    color: var(--tyrkys);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.work-item p {
    font-size: 1.1rem;
}

.pricing-section {
    text-align: center;
}

.pricing-card {
    background: var(--tyrkys);
    color: var(--white);
    padding: 25px 25px 45px 25px;
    border-radius: 20px;
    display: inline-block;
    width: 100%;
    max-width: 750px;
}

.price-main {
    font-size: 4rem;
    color: var(--white);
    font-weight: bold;
}

.price-sub {
    margin-bottom: 30px;
    opacity: 0.8;
    font-size: 1.3rem;
}

.price-details {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.price-details p {
    font-size: 1.15rem;
}

.info-section {
    text-align: center;
    margin: 0 auto;
    max-width: 800px;
}

.info-text-center {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.info-text-center i {
    color: var(--tyrkys);
    margin-right: 10px;
}

.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-box h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.footer-box p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.footer-box a {
    color: var(--white);
    text-decoration: none;
}

.footer-box a:hover {
    color: var(--primary);
}

.footer-box i {
    margin-right: 8px;
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid #333;
    background: black;
    margin-top: 40px;
    padding: 25px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* === HLAVNÍ KONTAKTNÍ BLOK - mobile first === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
}

.contact-info {
    background: var(--light);
    padding: 30px;
    border-radius: 15px;
}

.contact-info p {
    font-size: 1.15rem;
    margin-bottom: 15px;
}

.contact-lead {
    font-size: 1.25rem;
    margin-bottom: 25px;
}

.contact-info i {
    color: var(--tyrkys);
    margin-right: 8px;
}

.contact-info a {
    color: var(--text);
    text-decoration: underline;
    font-weight: 500;
}

.contact-info a:hover {
    color: var(--tyrkys);
    text-decoration: underline;
}

.contact-form form {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 30px;
}

.contact-form label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.form-honeypot {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    margin-top: 6px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    margin-top: 10px;
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: none;
    background: var(--tyrkys);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #007f92;
}

.contact-note {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 10px;
    text-align: center;
}

.alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    display: none;
}

.alert.show {
    display: block;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* === TABLET A DESKTOP (min-width: 601px) === */
@media (min-width: 601px) {
    body {
        font-size: 1rem;
        /* 16px */
    }

    header {
        min-height: 100vh;
        padding: 80px 20px;
    }

    header h1 {
        font-size: clamp(2.2rem, 4.5vw, 3rem);
    }

    h2 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.3rem;
    }

    .phone-subline {
        font-size: 0.95rem;
    }

    .btn {
        font-size: 1rem;
        padding: 15px 30px;
    }

    .price-main {
        font-size: 5.5rem;
    }

    .price-sub {
        font-size: 1.1rem;
    }

    .price-details p {
        font-size: 1rem;
    }

    .problem-item {
        font-size: 1rem;
        padding: 25px;
    }

    .services {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }

    .service-card {
        padding: 30px;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card li {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .work-item h4 {
        font-size: 1.2rem;
    }

    .work-item p {
        font-size: 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-info p {
        font-size: 1.05rem;
    }

    .contact-lead {
        font-size: 1.15rem;
    }

    .info-text-center {
        font-size: 1.1rem;
    }

    section p {
        font-size: 1rem;
    }

    /* Desktop navigace */
    .hamburger {
        display: none;
    }

    .nav-links {
        display: flex;
        position: static;
        flex-direction: row;
        gap: 20px;
        width: auto;
        padding: 0;
        border-top: none;
    }

    .nav-links a {
        padding: 0;
        width: auto;
        font-size: 1rem;
    }
}