/* Posun kotvy kvôli fixnému menu */
section, footer, [id] {
    scroll-margin-top: 80px;
}

/* Honeypot - ochrana pred spamom */
.robot-check {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

/* Efekt pre galériu */
#realizace .card {
    cursor: pointer;
}

.gallery-card {
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.gallery-card img {
    transition: all 0.5s ease;
    height: 250px; /* Fixná výška pre jednotný vzhľad */
    object-fit: cover;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

/* Aby sa obrázky v modálnom okne (galérii) nedeformovali */
.modal-body .carousel-item img {
    height: 600px;
    object-fit: contain;
    background-color: #000; /* Čierne pozadie pre fotky */
}

@media (max-width: 768px) {
    .modal-body .carousel-item img {
        height: 300px; /* Menšia výška na mobile */
    }
}

.read-more {
        display: none;
}

.read-more.collapsed {
        display: inline-block;
}

:root {
            --rgsb-primary: #fd0000;
            --bs-primary-rgb: 253, 0, 0;
            --rgsb-dark: #212529;
        }

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

        .btn-primary:hover {
            background-color: #960000;
            border-color: #960000;
        }

        .text-primary {
            color: var(--rgsb-primary) !important;
        }

        body {
            font-family: 'Inter', sans-serif;
            color: #444;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        .logo {
            height: 50px;
            width: auto;
        }

        main {
            flex: 1; /* Zajistí, že patička bude vždy dole i při málo obsahu */
        }

        .navbar {
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .navbar-brand {
            font-weight: 800;
            letter-spacing: -0.5px;
            font-size: 1.5rem;
        }

        /* Hero Sekce */
        .hero-section {
            /* Obrázek z Unsplash - zdarma pro komerční užití */
            background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 140px 0;
        }

        /* Karty produktů */
        .product-card {
            border: 1px solid rgba(0,0,0,0.08);
            background: #fff;
            border-radius: 12px;
            transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
            height: 100%;
            padding: 2rem;
            text-align: center;
            position: relative;
        }

        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            border-color: var(--rgsb-primary);
        }

        .product-icon {
            font-size: 3rem;
            color: var(--rgsb-primary);
            margin-bottom: 1.5rem;
            display: inline-block;
        }

        .card-title {
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--rgsb-dark);
        }

        .card-text {
            font-size: 0.95rem;
            color: #6c757d;
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        .btn-link-custom {
            text-decoration: none;
            font-weight: 600;
            color: var(--rgsb-primary);
        }
        
        .btn-link-custom:hover {
            text-decoration: underline;
        }

        /* Patička */
        footer {
            background-color: #1a1e21; /* Tmavé pozadí */
            color: #adb5bd; /* Světle šedý text */
            padding-top: 4rem;
            padding-bottom: 2rem;
            margin-top: 5rem;
        }

        footer h5 {
            color: white;
            font-weight: 700;
            margin-bottom: 1.2rem;
        }

        footer a {
            color: #adb5bd;
            text-decoration: none;
            transition: color 0.2s;
        }

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

        .contact-icon {
            width: 25px;
            display: inline-block;
            color: var(--rgsb-primary);
        }
