/*
 * KLIMA JINAK - Main CSS
 * Zkompilováno z modulárních zdrojových souborů (src/css/)
 *
 * Pro editaci upravuj soubory v src/css/ a pak spusť: ./scripts/build-css.sh
 */


/* ========== variables.css ========== */
:root {
    /* Colors */
    --primary-color: #003366;       /* Dark Blue */
    --primary-light: #004080;       /* Lighter Blue for hover */
    --accent-color: #00AEEF;        /* Cyan/Light Blue */
    --text-color: #1A1A1A;          /* Dark Grey */
    --text-light: #666666;          /* Medium Grey */
    --bg-light: #F1F1F2;            /* Light Grey Background */
    --white: #FFFFFF;
    
    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    
    /* Fonts */
    --font-main: 'Montserrat', sans-serif;
}

/* ========== base.css ========== */
/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
}

/* ========== typography.css ========== */
/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* ========== layout.css ========== */
/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Section styles */
.section__title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.section__subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== components/buttons.css ========== */
/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn--primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn--primary:hover {
    background-color: var(--primary-light);
    color: var(--white);
}

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

.btn--outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

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

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

.btn--large {
    padding: 16px 36px;
    font-size: 16px;
}

.btn--full {
    width: 100%;
}

/* ========== components/header.css ========== */
/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 51, 102, 0.06);
    z-index: 1000;
    height: var(--header-height);
}

.header .container {
    max-width: 100%;
    padding: 0 40px;
    height: 100%;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    flex-wrap: nowrap;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav__logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.nav__brand-info {
    display: flex;
    flex-direction: column;
}

.nav__logo-text {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
    line-height: 1.2;
}

.nav__brand-phone {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.nav__brand-phone:hover {
    opacity: 1;
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 24px;
    flex-shrink: 0;
}

.nav__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    padding: 8px 0;
    position: relative;
    white-space: nowrap;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link--active::after {
    width: 100%;
}

.nav__cta-group {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-shrink: 0;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav__toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* Mobile Menu Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Header */
@media (max-width: 1500px) {
    .nav__cta-group { display: none; }
    .nav__menu { margin: 0 auto; }
}

@media (max-width: 1100px) {
    .nav__menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--white);
        padding: 24px;
        gap: 16px;
        box-shadow: 0 4px 20px rgba(0, 51, 102, 0.1);
    }

    .nav__menu.active { display: flex; }
    .nav__toggle { display: flex; }
}


/* ========== components/footer.css ========== */
/* Footer */
.footer {
    padding: 60px 0 30px;
    background-color: var(--primary-color);
    color: var(--white);
    position: relative;
    z-index: 10;
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.footer__tagline {
    margin-top: 12px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer__links a:hover {
    color: var(--white);
}

.footer__static {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    cursor: default;
}

.footer__contact p {
    margin-bottom: 8px;
}

.footer__contact a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer__contact a:hover {
    color: var(--white);
}

.footer__bottom {
    padding-top: 30px;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Footer */
@media (max-width: 1400px) {
    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer__links { justify-content: center; }
}

/* ========== sections/hero.css ========== */
/* Homepage Hero */
.hero-home {
    padding: 140px 0 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-home::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 165, 172, 0.15) 0%, transparent 70%);
    z-index: 1;
}

.hero-home__content {
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-home__title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--white);
}

.hero-home__title--highlight {
    color: var(--accent-color);
}

.hero-home__subtitle {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    line-height: 1.6;
    max-width: 800px;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 500px;
    margin: 40px auto 0;
    overflow: hidden;
}

.hero-slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    animation: fadeEffect 1.5s;
    justify-content: center;
    align-items: center;
}

.hero-slide.active {
    display: flex;
}

.hero-slide__content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hero-slide__img {
    max-height: 400px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.hero-slide__caption {
    position: absolute;
    bottom: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 30px;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateY(0);
    transition: transform 0.3s ease;
    min-width: 250px;
}

.hero-slide__caption h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.hero-slide__caption p {
    margin: 4px 0 0;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Dots */
.hero-slider__dots {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 6px;
    background-color: rgba(255,255,255,0.4);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active, .dot:hover {
    background-color: var(--accent-color);
}

/* Page Header (Subpages) */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    text-align: center;
}

.page-header__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.page-header__subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
}

.page-header__text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 900px;
    text-align: center;
    line-height: 1.6;
    margin: 0;
}

/* Service Hero */
.service-hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #001f3f 0%, var(--primary-color) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.service-hero__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-hero__title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--white);
    line-height: 1.1;
}

.service-hero__subtitle {
    font-size: 1.25rem;
    color: var(--accent-color);
    margin-bottom: 32px;
    font-weight: 500;
}

.service-hero__text p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.8;
}

.service-hero__text p:last-child {
    margin-bottom: 0;
}

.service-hero__image {
    display: flex;
    justify-content: center;
}

.service-hero__image img {
    width: 100%;
    max-width: 550px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.4s ease;
}

.service-hero__image img:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

/* Responsive Hero */
@media (max-width: 992px) {
    .hero-home__title { font-size: 3rem; }
    .service-hero { padding: 120px 0 60px; }
    .service-hero__grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .service-hero__image { order: 0; margin-top: 20px; }
    .service-hero__image img { transform: none; }
    .service-hero__title { font-size: 2.25rem; }
}

@media (max-width: 768px) {
    .hero-home { padding: 120px 0 60px; }
    .hero-home::before { display: none; }
    .page-header { padding: 120px 0 48px; }
    .page-header__title { font-size: 1.75rem; }
    
    .hero-slider { height: 400px; }
    .hero-slide__img { max-height: 280px; }
    .hero-slide__caption { bottom: 40px; padding: 10px 20px; }
}

@media (max-width: 480px) {
    .hero__title { font-size: 1.75rem; }
}

/* ========== sections/usp.css ========== */
/* USP Section */
.usp {
    padding: 100px 0;
    background-color: var(--white);
}

.usp__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.usp__item {
    text-align: center;
    padding: 32px 24px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.usp__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 51, 102, 0.12);
}

.usp__icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.usp__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.usp__text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .usp__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .usp__grid { grid-template-columns: 1fr; }
}

/* ========== sections/services.css ========== */
/* Services Grid */
.services {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.services__item {
    padding: 32px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.08);
    transition: transform 0.3s ease;
}

.services__item:hover {
    transform: translateY(-4px);
}

.services__title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.services__text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Services Detail Page */
.services-detail {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.service-card {
    display: flex;
    gap: 40px;
    padding: 48px;
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.08);
    margin-bottom: 32px;
    align-items: flex-start;
}

.service-card:last-child {
    margin-bottom: 0;
}

.service-card__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: var(--bg-light);
    border-radius: 16px;
    color: var(--primary-color);
}

.service-card__content {
    flex: 1;
}

.service-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.service-card__text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-card__list li {
    position: relative;
    padding-left: 24px;
    font-size: 0.95rem;
    color: #444;
}

.service-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 12px;
    height: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003366' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-card { flex-direction: column; padding: 32px; gap: 24px; }
    .service-card__list { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .services__grid { grid-template-columns: 1fr; }
}

/* ========== sections/products.css ========== */
/* Products Page */
.products-intro {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.products-intro__text {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.products-grid {
    padding: 0 0 80px;
    background-color: var(--bg-light);
}

.products-grid__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
}

.products-grid__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.product-card {
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 51, 102, 0.12);
}

.product-card__image {
    height: 200px;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.product-card__image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-card__content {
    padding: 24px;
}

.product-card__brand {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.product-card__title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.product-card__desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-card__link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.product-card__link:hover {
    color: var(--accent-color);
}

/* Featured Products (Gold/Silver/Bronze) */
.featured-products {
    padding: 80px 0;
    background-color: var(--white);
}

.product-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.product-row:last-child {
    margin-bottom: 0;
}

.product-row:nth-child(even) {
    direction: rtl; /* Switch order for even rows */
}

.product-row:nth-child(even) .product-row__content {
    direction: ltr; /* Reset text direction */
}

.product-row__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-row__image img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.1));
}

.product-row__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--white);
}

.product-badge--gold {
    background: linear-gradient(135deg, #D4AF37 0%, #F2D06B 100%);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.product-badge--silver {
    background: linear-gradient(135deg, #A8A9AD 0%, #CCCCCC 100%);
    box-shadow: 0 4px 15px rgba(168, 169, 173, 0.3);
}

.product-badge--bronze {
    background: linear-gradient(135deg, #CD7F32 0%, #E6A368 100%);
    box-shadow: 0 4px 15px rgba(205, 127, 50, 0.3);
}

.product-row__title {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.product-row__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.product-row__price small {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
}

@media (max-width: 1024px) {
    .products-grid__items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-row {
        gap: 40px;
        margin-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .product-row { grid-template-columns: 1fr; text-align: center; }
    .product-row:nth-child(even) { direction: ltr; } /* Reset direction on mobile */
    .product-row__content { align-items: center; }
    
    .products-grid__items { grid-template-columns: 1fr; }
}

/* ========== sections/contact.css ========== */
/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-top: 48px;
}

.contact__info {
    padding-right: 32px;
}

.contact__heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.contact__owner {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

.contact__details {
    margin-bottom: 24px;
}

.contact__details p {
    margin-bottom: 12px;
    font-size: 1rem;
}

.contact__details a {
    color: var(--primary-color);
}

.contact__details a:hover {
    color: var(--accent-color);
}

.contact__area {
    font-size: 0.95rem;
    color: #888;
    font-style: italic;
}

.contact__cta-box {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact__text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* Contact Page specific */
.contact-page {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.contact-page__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info-box {
    background-color: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.08);
}

.contact-info-box__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.contact-info-box__owner {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

.contact-info-box__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-box__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.contact-info-box__label {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 4px;
}

.contact-info-box__value {
    font-size: 1.1rem;
    color: var(--text-color);
}

.contact-info-box__value a {
    color: var(--primary-color);
}

.contact-info-box__value a:hover {
    color: var(--accent-color);
}

.contact-form-box {
    background-color: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.08);
}

.contact-form-box__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.contact-form-box__subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

.form__group {
    margin-bottom: 20px;
}

.form__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-main);
    font-size: 1rem;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

/* Map Section */
.map-section {
    padding: 0 0 80px;
    background-color: var(--bg-light);
}

.map-section__container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.08);
}

.map-section__container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.map-section--small {
    padding: 0 0 60px;
}

.map-section--small .map-section__container iframe {
    height: 250px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: var(--white);
}

.cta-box {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 20px;
}

.cta-box__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-box__text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-box__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 1400px) {
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact__info { padding-right: 0; }
}

@media (max-width: 1024px) {
    .contact-page__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .cta-box { padding: 40px 24px; }
    .cta-box__title { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .cta-box__buttons { flex-direction: column; }
    .cta-box__buttons .btn { width: 100%; }
    .contact__form { padding: 24px; }
}

/* Radio Card Výběr (servis - povaha + termín) */
.form__radio-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.form__radio-group--4 {
    grid-template-columns: repeat(4, 1fr);
}

.form__radio-card {
    cursor: pointer;
    display: block;
}

.form__radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.form__radio-card__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px 10px;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    background: #fff;
    transition: all 0.2s ease;
    min-height: 72px;
    gap: 6px;
}

.form__radio-card:hover .form__radio-card__content {
    border-color: var(--primary-color);
    background: #f0f5ff;
}

.form__radio-card input[type="radio"]:checked + .form__radio-card__content {
    border-color: var(--primary-color);
    background: #e8f0fe;
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.form__radio-card__icon {
    font-size: 1.4rem;
    line-height: 1;
}

.form__radio-card__text {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.form__radio-card__text small {
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--text-light);
}

@media (max-width: 600px) {
    .form__radio-group {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .form__radio-group--4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .form__radio-card__content {
        padding: 12px 8px;
        min-height: 64px;
    }
    .form__radio-card__icon { font-size: 1.2rem; }
    .form__radio-card__text { font-size: 0.78rem; }
}

/* ========== sections/certificates.css ========== */
/* --- Certificates Section --- */
.certificates {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.certificates__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
    padding: 0;
    width: 100%;
}

.certificate-item {
    position: relative;
    width: 200px;
    height: 280px;
    background: #fff;
    padding: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0; /* Reset margins */
}

.certificate-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.certificate-item__image,
.certificate-item img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures the whole certificate is visible */
    display: block;
}

.certificate-item__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,51,102,0.9), transparent);
    padding: 20px 10px 10px;
    border-radius: 0 0 12px 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
}

.certificate-item:hover .certificate-item__overlay {
    opacity: 1;
}

.certificate-item__title {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

.certificate-item__zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    opacity: 0;
    transition: all 0.3s ease;
}

.certificate-item:hover .certificate-item__zoom {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* --- Lightbox Styles --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox__content {
    position: relative;
    width: auto;
    max-width: 90vw;
    height: auto;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox__image {
    max-width: 100%;
    max-height: 80vh; /* Limits height to fit screen */
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    display: block;
}

.lightbox__title {
    color: #fff;
    margin-top: 16px;
    font-size: 1.1rem;
    text-align: center;
}

.lightbox__close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    z-index: 2001;
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    padding: 20px;
    transition: color 0.3s ease;
    z-index: 2001;
}

.lightbox__nav:hover {
    color: var(--accent-color);
}

.lightbox__nav--prev {
    left: -60px;
}

.lightbox__nav--next {
    right: -60px;
}

/* --- Mobile & Tablet Overrides --- */
@media (max-width: 1024px) {
    .lightbox__nav--prev { left: -40px; }
    .lightbox__nav--next { right: -40px; }
}

@media (max-width: 768px) {
    /* Horizontal Scroll Strip for Mobile */
    .certificates__grid {
        display: flex;
        flex-wrap: nowrap !important; /* Force single line */
        overflow-x: auto !important;
        justify-content: flex-start !important;
        gap: 16px;
        padding: 10px 24px;
        width: 100%;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Hide scrollbar Firefox */
    }
    
    .certificates__grid::-webkit-scrollbar {
        display: none; /* Hide scrollbar Chrome */
    }

    .certificate-item {
        flex: 0 0 auto; /* Prevent shrinking */
        width: 140px;   /* Fixed width for visibility */
        height: 190px;
        margin: 0;
    }

    /* Lightbox Mobile Adjustments */
    .lightbox__nav {
        padding: 10px;
        font-size: 24px;
    }
    .lightbox__nav--prev { left: -10px; top: 50%; }
    .lightbox__nav--next { right: -10px; top: 50%; }
    .lightbox__content { width: 95vw; }
    .lightbox__image { max-height: 70vh; }
    .lightbox__close { top: -40px; right: 10px; }
}

/* ========== sections/clients.css ========== */
/* Clients Section (Logo Slider) */
.clients {
    padding: 80px 0;
    background-color: var(--white);
    border-top: 1px solid #EAEAEA;
}

.logo-slider {
    padding: 80px 0 100px;
    background-color: var(--white);
    overflow: hidden;
    position: relative;
    border-top: 1px solid #F0F0F0;
}

.logo-slider__title {
    text-align: center;
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-weight: 700;
}

.logo-slider__track-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    transform: translateZ(0);
}

.logo-slider__track-container::before,
.logo-slider__track-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-slider__track-container::before {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}

.logo-slider__track-container::after {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}

.logo-slider__track {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 45s linear infinite;
    padding: 25px 0;
    width: max-content;
    min-width: 100%;
}

.logo-slider__track-container:hover .logo-slider__track {
    animation-play-state: paused;
}

.logo-slider__item {
    display: inline-block;
    vertical-align: middle;
    width: 175px;
    height: 95px;
    margin: 0 35px;
    box-sizing: border-box;
}

.logo-slider__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: opacity(0.9);
    transition: all 0.3s ease;
    mix-blend-mode: multiply;
}

.logo-slider__item:hover .logo-slider__img {
    filter: opacity(1);
    transform: scale(1.15);
}

/* Specific overrides for clients slider items (Original class from index) */
.clients__item {
    width: 200px !important;
    height: 120px !important;
    margin: 0 10px !important;
}

.clients__logo {
    max-width: 170px;
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: transform 0.3s ease;
}

.clients__logo:hover {
    transform: scale(1.1);
}

@keyframes scroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 768px) {
    .logo-slider__track { animation-duration: 30s; }
    .logo-slider__item { width: 120px; height: 70px; margin: 0 20px; }
    .logo-slider__track-container::before, 
    .logo-slider__track-container::after { width: 50px; }
    .logo-slider__title { font-size: 1.4rem; margin-bottom: 30px; }
    
    .clients__item { width: 160px !important; height: 90px !important; margin: 0 20px !important; }
    .clients__logo { max-width: 140px; }
}

/* ========== sections/testimonials.css ========== */
/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-icon {
    font-size: 50px;
    color: #e2e2e2;
    line-height: 1;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    font-style: italic;
    margin-bottom: 30px;
    flex-grow: 1;
}

.testimonial-author {
    border-top: 1px solid #eee;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
}

.testimonial-company {
    color: var(--primary-color, #003366);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.testimonial-name {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.testimonial-position {
    color: #888;
    font-size: 0.85rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 30px;
    }
}

/* ========== sections/video.css ========== */
/* Video Section */
.video-section {
    padding: 100px 0;
    background-color: var(--white);
    text-align: center;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 48px auto 0;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.15);
    background-color: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .video-section { padding: 80px 0; }
}

/* ========== utils.css ========== */
/* Animations */
.reveal,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.reveal { transform: translateY(30px); }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }

.reveal-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.stagger-delay:nth-child(1) { transition-delay: 0.1s; }
.stagger-delay:nth-child(2) { transition-delay: 0.2s; }
.stagger-delay:nth-child(3) { transition-delay: 0.3s; }
.stagger-delay:nth-child(4) { transition-delay: 0.4s; }
.stagger-delay:nth-child(5) { transition-delay: 0.5s; }
.stagger-delay:nth-child(6) { transition-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-left, .reveal-right {
        transition: none;
        opacity: 1;
        transform: none;
    }
}
