/* ============================================================
   IT Bednařík — Main Stylesheet
   ============================================================ */

:root {
    --color-dark: #0f1b2d;
    --color-dark-lighter: #162338;
    --color-accent: #25b879;
    --color-accent-hover: #1fa068;
    --color-text: #333;
    --color-text-light: #6b7280;
    --color-bg: #ffffff;
    --color-bg-alt: #f7f8fa;
    --color-border: #e5e7eb;
    --color-white: #ffffff;

    --font-main: 'Plus Jakarta Sans', system-ui, sans-serif;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --transition: 0.3s ease;
    --container: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-accent {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}
.btn-accent:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37,184,121,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}
.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-dark);
}

.btn-sm { padding: 10px 20px; font-size: 14px; }

.btn-white {
    background: var(--color-white);
    color: var(--color-dark);
    border-color: var(--color-white);
}
.btn-white:hover {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-dark);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo img { height: 36px; width: auto; }

.main-nav {
    display: flex;
    gap: 8px;
}

.main-nav a {
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
    color: var(--color-white);
    background: rgba(255,255,255,0.1);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-lighter) 100%);
    color: var(--color-white);
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 28px;
}
.hero h1 span {
    color: var(--color-accent);
}

.hero-list {
    margin-bottom: 32px;
}
.hero-list li {
    padding: 6px 0;
    padding-left: 28px;
    position: relative;
    font-size: 15px;
    color: rgba(255,255,255,0.85);
}
.hero-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.hero-image {
    position: relative;
}
.hero-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    object-fit: cover;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
    padding: 80px 0;
}
.section-alt {
    background: var(--color-bg-alt);
}
.section-dark {
    background: var(--color-dark);
    color: var(--color-white);
}

.section-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* ============================================================
   ABOUT PREVIEW (Homepage)
   ============================================================ */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-preview img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    object-fit: cover;
}

.about-preview-text p {
    color: var(--color-text-light);
    margin-bottom: 24px;
    font-size: 15px;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.service-card {
    background: var(--color-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card-body {
    padding: 24px;
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--color-text-light);
    font-size: 14px;
    line-height: 1.6;
}

.service-card .btn {
    margin-top: 16px;
    width: 100%;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
    padding: 60px 0;
    background: var(--color-dark);
    color: var(--color-white);
    text-align: center;
}

.cta-banner h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
}
.cta-banner p {
    color: rgba(255,255,255,0.7);
    max-width: 560px;
    margin: 0 auto 28px;
    font-size: 15px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--color-bg);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 4rem;
    line-height: 1;
    color: var(--color-accent);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-card blockquote {
    font-style: italic;
    color: var(--color-text-light);
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author strong {
    display: block;
    font-size: 15px;
}
.testimonial-author span {
    font-size: 13px;
    color: var(--color-text-light);
}

/* ============================================================
   CLIENT LOGOS
   ============================================================ */
.logos-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 20px 0;
    margin-top: 40px;
}

.logos-strip img {
    height: 48px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all var(--transition);
}
.logos-strip img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ============================================================
   CONTACT STRIP
   ============================================================ */
.contact-strip {
    padding: 40px 0;
    background: var(--color-dark-lighter);
    color: var(--color-white);
}

.contact-strip-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.contact-strip-phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
}
.contact-strip-phone:hover { text-decoration: underline; }

.contact-strip-address {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.contact-strip-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-strip-cta h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.page-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-lighter) 100%);
    color: var(--color-white);
    text-align: center;
}

.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
}

.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-story img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    object-fit: cover;
    position: sticky;
    top: 100px;
}

.about-story-text h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--color-dark);
}

.about-story-text p {
    color: var(--color-text-light);
    margin-bottom: 16px;
    font-size: 15px;
}

/* Values grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.value-card {
    padding: 28px;
    background: var(--color-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--color-accent);
}

.value-card .value-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 12px;
}

.value-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.value-card p {
    color: var(--color-text-light);
    font-size: 14px;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

/* ============================================================
   NEWS
   ============================================================ */
.news-list {
    margin-top: 40px;
}

.news-item {
    background: var(--color-bg);
    border-radius: var(--radius);
    padding: 28px 32px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--color-accent);
}

.news-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.news-date {
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 12px;
}

.news-body {
    color: var(--color-text-light);
    font-size: 15px;
}

.news-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-light);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-info-card {
    padding: 28px;
    border-radius: var(--radius);
    background: var(--color-bg);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.contact-info-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 4px;
}

.contact-info-card a,
.contact-info-card p {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
}
.contact-info-card a:hover {
    color: var(--color-accent);
}

.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    min-height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================================
   PRIVACY PAGE
   ============================================================ */
.prose {
    max-width: 760px;
    margin: 0 auto;
}

.prose h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 12px;
    color: var(--color-dark);
}

.prose h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 8px;
}

.prose p {
    color: var(--color-text-light);
    margin-bottom: 14px;
    font-size: 15px;
}

.prose ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 14px;
}

.prose ul li {
    color: var(--color-text-light);
    font-size: 15px;
    margin-bottom: 6px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--color-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo { margin-bottom: 16px; height: 36px; width: auto; }

.footer-about p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    transition: all var(--transition);
}
.social-links a:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

.site-footer h4 {
    color: var(--color-white);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
}

.site-footer ul li {
    margin-bottom: 8px;
}
.site-footer ul a {
    font-size: 14px;
    transition: color var(--transition);
}
.site-footer ul a:hover {
    color: var(--color-accent);
}

.footer-hours p {
    font-size: 14px;
    margin-bottom: 4px;
}

.footer-emergency {
    color: var(--color-accent);
    font-weight: 700;
    margin-top: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 24px;
    margin-top: 40px;
    text-align: center;
    font-size: 13px;
}

.footer-bottom a {
    color: var(--color-accent);
}
.footer-bottom a:hover {
    text-decoration: underline;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--color-dark);
    color: rgba(255,255,255,0.85);
    padding: 20px 24px;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}

.cookie-banner p {
    font-size: 14px;
    margin-bottom: 12px;
    max-width: 700px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* ============================================================
   WHY ME (Homepage)
   ============================================================ */
.why-me {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-me img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    object-fit: cover;
}

.why-me-text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.why-me-list li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    font-size: 15px;
    color: var(--color-text-light);
}
.why-me-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .hero-inner,
    .about-preview,
    .about-story,
    .why-me {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero { padding: 120px 0 60px; }
    .hero h1 { font-size: 2.2rem; }

    .services-grid,
    .services-page-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }

    .main-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--color-dark);
        flex-direction: column;
        padding: 16px 24px;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .main-nav.open { display: flex; }

    .hero h1 { font-size: 2rem; }
    .section-title { font-size: 1.8rem; }
    .page-hero h1 { font-size: 2rem; }

    .services-grid,
    .services-page-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .contact-strip-inner {
        flex-direction: column;
        text-align: center;
    }

    .contact-strip-cta {
        flex-direction: column;
    }

    .logos-strip { gap: 24px; }
    .logos-strip img { height: 36px; }
}
