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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            color: #333;
            line-height: 1.6;
            overflow-x: hidden;
        }

        header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 100vw;
            z-index: 1000;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            will-change: transform;
            background: transparent;
        }

        header.hide {
            transform: translateY(-110%);
        }

        header.scrolled {
            background: white;
            color: #1e293b;    /* tmavý text */
            box-shadow: 0 4px 20px rgba(0,0,0,0.8);
            transition: all 0.3s ease;
        }

        header.scrolled nav a {
            color: black; /* změna barvy odkazů na tmavou */
        }

        header.scrolled nav a:hover::after {
            background: #2563eb; /* underline zůstává modrá */
        }

        header.scrolled .logo-text h1 {
            color: #fff;
        }

        header.scrolled .logo-text p {
            color: #fff;
        }


        @keyframes slideDown {
            from {
                transform: translateY(-100%);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .menu-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            z-index: 1001;
        }

        .menu-toggle span {
            width: 25px;
            height: 3px;
            background: #ffffff;
            transition: all 0.3s ease;
            border-radius: 2px;
        }

        /* Animace hamburger -> X */
        .menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(7px, 7px);
        }

        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -7px);
        }

        /* Scrolled header - tmavé pozadí pro hamburger */
        header.scrolled .menu-toggle span {
            background: #000000;
        }

        .logo {
            display: flex;
            align-items: center;
        }
        
        .logo-icon {
            height: 100%;
            width: auto;
            max-height: 60px;
            display: flex;
            align-items: center;
        }

        .logo-icon img {
            height: 100%;
            width: 150px;
            object-fit: contain;
        }



        .logo-text h1 {
            font-size: 1.2rem;
            color: #fff;
            font-weight: 600;
        }

        .logo-text p {
            font-size: 0.85rem;
            color: #f9fafb;
        }

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

        nav a {
            text-decoration: none;
            color: #000000;
            font-weight: 500;
            transition: color 0.3s;
            position: relative;
            font-size: 1.2rem;
        }

        nav a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: #2563eb;
            transition: width 0.3s;
        }

        nav a:hover {
            color: #2563eb;
        }

        nav a:hover::after {
            width: 100%;
        }

        .cta-btn {
            background: #ff6b00;
            color: white;
            padding: 12px 30px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s;
        }

        .cta-btn:hover {
            background: #e65c00;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
        }

/* Services Section */
.services {
    padding: 100px 20px;
    background: white;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 50px;
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 60px;
}

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

.service-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s;
    cursor: pointer;
    overflow: hidden; /* důležité pro obrázek */
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: #2563eb;
}

/* obrázek přes celý rám */
.service-card img {
    width: calc(100% + 60px);
    height: 400px;
    object-fit: cover;
    margin: -30px -30px 20px -30px;
    display: block;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

/* tlačítko – stejný vzhled jako původně */
.btn-service {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 20px;
    background: #ff6b00;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-service:hover {
    background: #e65c00;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.3);
}

/* Galerie ukázek */

        .order-section{
            padding-top: 150px;
        }
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            padding-bottom: 64px;
        }

        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 20px;
            height: 500px;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.8);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .gallery-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(134, 133, 95, 0.2);
        }

        .gallery-item:hover img {
            transform: scale(1.05);
        }

               /* Footer */
        footer {
            background:#002f5f;
            color: white;
            padding: 60px 20px 20px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            max-width: 1400px;
            margin: 0 auto 40px;
        }

        .footer-about h3 {
            margin-bottom: 20px;
        }

        .footer-about p {
            color: #d1d1d1;
            line-height: 1.8;
        }

        .footer-links h4 {
            margin-bottom: 20px;
        }

        .footer-links ul {
            list-style: none;
        }

        .footer-links a {
            color: #d1d1d1;
            text-decoration: none;
            display: block;
            padding: 8px 0;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: #ff6b00;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid #d1d1d157;
            color: #d1d1d1;
        }

        .footer-brand {
            display: flex;
            align-items: center;
            background-color: white;
            border-radius: 15px;
            padding: 0 10px;
            margin-bottom: 10px;
        }

        .footer-brand img {
            height: 70px;
            width: auto;
        }

        .footer-brand-text strong {
            font-size: 20px;
        }

        .footer-brand-text p {
            font-size: 12px;
            color: #d1d1d1;
            margin: 0;
        }


        /* Animations */
        .fade-in {
            animation: fadeIn 1s ease-out;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* galerie layout */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.lightbox .arrow {
    position: absolute;
    top: 50%;
    font-size: 60px;
    color: white;
    cursor: pointer;
    user-select: none;
    transform: translateY(-50%);
}

.lightbox .arrow.left {
    left: 30px;
}

.lightbox .arrow.right {
    right: 30px;
}

/* ========================================
   RESPONSIVE DESIGN - GALERIE & SERVICES
   ======================================== */

/* Tablety a menší desktop (max-width: 1200px) */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }

    .gallery-item {
        height: 450px;
    }
}

/* Tablety (max-width: 992px) */
@media (max-width: 992px) {
    /* Mobilní menu */
    .menu-toggle {
        display: flex;
    }

    .menu-toggle span {
        background: #000;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: white;
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav a {
        display: block;
        padding: 15px 0;
        color: #000;
        border-bottom: 1px solid #e5e7eb;
    }

    .cta-btn {
        margin-top: 20px;
        display: block;
        text-align: center;
    }

    /* Services */
    .services {
        padding: 80px 20px;
    }

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

    .service-card img {
        height: 350px;
    }

    /* Order section */
    .order-section {
        padding-top: 120px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        padding-bottom: 48px;
    }

    .gallery-item {
        height: 400px;
    }

    /* Lightbox arrows */
    .lightbox .arrow {
        font-size: 50px;
    }

    .lightbox .arrow.left {
        left: 20px;
    }

    .lightbox .arrow.right {
        right: 20px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* Mobilní zařízení na šířku (max-width: 768px) */
@media (max-width: 768px) {
    header {
        padding: 1rem;
    }

    .logo-icon img {
        width: 120px;
    }

    nav {
        width: 280px;
    }

    /* Services */
    .services {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .service-card {
        padding: 20px;
    }

    .service-card img {
        width: calc(100% + 40px);
        height: 300px;
        margin: -20px -20px 15px -20px;
    }

    .service-card h3 {
        font-size: 22px;
    }

    .service-card p {
        font-size: 15px;
    }

    /* Order section */
    .order-section {
        padding-top: 100px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding-bottom: 40px;
    }

    .gallery-item {
        height: 350px;
        border-radius: 16px;
    }

    /* Lightbox */
    .lightbox-img {
        max-width: 95%;
        max-height: 85%;
    }

    .lightbox .close {
        top: 15px;
        right: 20px;
        font-size: 35px;
    }

    .lightbox .arrow {
        font-size: 45px;
    }

    .lightbox .arrow.left {
        left: 15px;
    }

    .lightbox .arrow.right {
        right: 15px;
    }

        /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        justify-items: center; /* vodorovně */
        text-align: center;    /* text na střed */
    }

    .footer-about {
        grid-column: auto;
        justify-items: center; /* vodorovně */
        text-align: center;    /* text na střed */
    }
}

/* Mobilní zařízení (max-width: 576px) */
@media (max-width: 576px) {
    header {
        padding: 0.8rem;
    }

    .logo-icon img {
        width: 100px;
    }

    nav {
        width: 100%;
    }

    /* Services */
    .services {
        padding: 50px 15px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 15px;
    }

    .services-grid {
        gap: 20px;
    }

    .service-card {
        padding: 15px;
        border-radius: 10px;
    }

    .service-card img {
        width: calc(100% + 30px);
        height: 250px;
        margin: -15px -15px 12px -15px;
        border-radius: 10px 10px 0 0;
    }

    .service-card h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .service-card p {
        font-size: 14px;
        line-height: 1.6;
    }

    .btn-service {
        margin-top: 15px;
        padding: 8px 18px;
        font-size: 14px;
    }

    /* Order section */
    .order-section {
        padding-top: 80px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-bottom: 32px;
    }

    .gallery-item {
        height: 300px;
        border-radius: 12px;
    }

    /* Lightbox */
    .lightbox-img {
        max-width: 95%;
        max-height: 80%;
    }

    .lightbox .close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }

    .lightbox .arrow {
        font-size: 40px;
    }

    .lightbox .arrow.left {
        left: 10px;
    }

    .lightbox .arrow.right {
        right: 10px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-about {
        grid-column: auto;
    }

    .footer-brand img {
        height: 60px;
    }

    .footer-brand-text strong {
        font-size: 18px;
    }

    footer {
        padding: 40px 15px 15px;
    }
}

/* Extra malá zařízení (max-width: 400px) */
@media (max-width: 400px) {
    .logo-icon img {
        width: 90px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .service-card img {
        height: 200px;
    }

    .service-card h3 {
        font-size: 18px;
    }

    .service-card p {
        font-size: 13px;
    }

    .btn-service {
        padding: 7px 16px;
        font-size: 13px;
    }

    .gallery-item {
        height: 250px;
    }

    .lightbox .arrow {
        font-size: 35px;
    }

    .lightbox .close {
        font-size: 28px;
    }
}

/* Landscape orientace pro mobilní zařízení */
@media (max-height: 600px) and (orientation: landscape) {
    .order-section {
        padding-top: 80px;
    }

    .services {
        padding: 50px 20px;
    }

    .gallery-item {
        height: 280px;
    }

    .lightbox-img {
        max-height: 90vh;
    }

    .lightbox .arrow {
        font-size: 40px;
    }
}

/* Velmi úzké obrazovky - jedna sloupec vždy */
@media (max-width: 450px) {
    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Tablet landscape specifické úpravy */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .gallery-item {
        height: 380px;
    }
}