/* Společné styly webu */

/* Moderní reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #ffd900;
    /* Žlutá z vizitky */
    --dark: #111827;
    --gray: #4b5563;
    --light-gray: #f3f4f6;
    --bg: #ffffff;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigace / Hlavička */
header {
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: var(--dark);
}

.logo span {
    color: var(--primary);
}

/* Hlavní sekce (Hero) */
.hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2rem 5% 5rem;
    padding-top: 0;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

@media(min-width: 992px) {
    .hero {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.home-page .hero-text > p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 600px;
}

/* Moderní kontakty (místo tlačítek) */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-link {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    width: fit-content;
    transition: color 0.3s ease;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.contact-link:hover::after {
    width: 100%;
}

.contact-link span {
    font-size: 1.5rem;
}

.contact-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    font-weight: 600;
    margin-bottom: -5px;
    display: block;
}

.contact-hours {
    display: block;
    margin-top: 5px;
    color: var(--gray);
    font-size: 0.875rem;
}

/* Obrázek */
.hero-image-container {
    position: relative;
    isolation: isolate;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shape-blob {
    position: absolute;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    background-color: var(--primary);
    border-radius: var(--blob-radius, 40% 60% 70% 30% / 40% 50% 60% 50%);
    z-index: -1;
}

.hero-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
}

/* Služby */
.services {
    background-color: var(--light-gray);
    padding: 6rem 5%;
}

.services-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 800;
    letter-spacing: -0.5px;
}

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

.service-card {
    background: var(--bg);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    border-left: 6px solid var(--primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Patička */
footer {
    background-color: var(--dark);
    color: white;
    padding: 4rem 5%;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-col h2,
.footer-col h4 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: #9ca3af;
    margin-bottom: 0.5rem;
}


.footer-col a {
    color: inherit;
    text-underline-offset: 4px;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-col a:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 4px;
}

@media (max-width: 400px) {
    .contact-link {
        font-size: 1.2rem;
    }

}

@media (max-width: 700px) {
    .header-description {
        display: none;
    }
}
    
/* Hlavička a služby */
.header-description {
    font-weight: 600;
    color: var(--gray);
}

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


/* Stránka hodnocení */
.intro {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 600px;
}

.review-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: 1.5rem;
}

.review-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 16px;
    border-left: 6px solid var(--primary);
}

.review-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.review-card p {
    color: var(--gray);
    margin-bottom: 1.25rem;
}

.review-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 76px;
    margin-top: auto;
    padding: 0.75rem 1rem;
    background: var(--primary);
    color: var(--dark);
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.review-button:hover {
    background: #edc900;
}

a:focus-visible {
    outline: 3px solid var(--dark);
    outline-offset: 4px;
}

.review-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--gray);
}

.thanks {
    margin-top: 1.5rem;
    font-weight: 600;
}


/* Ochrana osobních údajů */
.policy-heading {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5% 3rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--gray);
    text-decoration-color: var(--primary);
    text-decoration-thickness: 3px;
    text-underline-offset: 4px;
}

.policy-heading h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

.policy-background {
    background-color: var(--light-gray);
    padding: 3rem 5% 5rem;
}

.policy-content {
    max-width: 960px;
    margin: 0 auto;
    background: var(--bg);
    padding: clamp(1.25rem, 4vw, 3rem);
    border-radius: 16px;
    border-left: 6px solid var(--primary);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.policy-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.policy-content p {
    color: var(--gray);
    margin-bottom: 1rem;
}

.policy-content p:last-child {
    margin-bottom: 0;
}

.policy-content strong {
    color: var(--dark);
}

.policy-content a {
    color: var(--dark);
    text-decoration-color: var(--primary);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    overflow-wrap: anywhere;
}

.policy-content a:hover,
.back-link:hover {
    text-decoration-color: var(--dark);
}
