body {
    background-color: #181818;
    color: #ededed;
    font-family: 'Segoe UI', 'Arial', sans-serif;
}

body {
    background-color: #181818;
    background-image: url('https://www.transparenttextures.com/patterns/grunge-wall.png');
}

#page-wrapper {
    opacity: 0;
    transform: translateY(-40px);
    transition:
        opacity 0.7s cubic-bezier(.55,0,.1,1),
        transform 0.7s cubic-bezier(.55,0,.1,1);
}

#page-wrapper.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.navbar {
    background-color: #212121 !important;
    border-bottom: 3px solid #d94636;
}

.navbar .navbar-brand,
.navbar .nav-link,
#clock,
#clock-mobile {
    color: #ededed !important;
    font-weight: bold;
    letter-spacing: 2px;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: #d94636 !important;
}

#uvod {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.card{
    background: #232323;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.19);
    border: #d94636 solid 2px;
}

.galerie-img {
    width: 100%;
    height: 220px;
    aspect-ratio: 1/1; 
    object-fit: cover;
}

.modal-large-img {
    max-width: 800px;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 12px;
}

.modal-img-border {
    border: 5px solid #d94636;  
    border-radius: 12px;
    box-shadow: 0 2px 14px rgba(0,0,0,0.19);
}

.stred-sekce {
    margin-left: auto;
    margin-right: auto;
    width: 70%;
}

section {
    background: #232323;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.19);
    margin-bottom: 22px;
    padding-top: 15px;
    padding-bottom: 15px;
}

h1, h2, h3, h4, h5 {
    color: #fff;
    letter-spacing: 1.5px;
}

a {
    color: #d94636;
}
a:hover {
    color: #fff;
    text-decoration: underline;
}

.btn-primary {
    background-color: #d94636;
    border: none;
    color: #fff;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(217,70,54,0.15);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #b53629;
    color: #fff;
}

.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
    background-color: #a52c1b !important;
    border-color: #a52c1b !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(217,70,54,0.15);
}

.kurz-card {
    background: #181818;
    border: 1.5px solid #232323;
    color: #ededed;
    transition: transform 0.22s, box-shadow 0.22s;
}

.kurz-card:hover {
    animation: pulse 0.45s;
    z-index: 2;
    box-shadow: 0 8px 30px rgba(217,70,54,0.13);
    border-color: #d94636;
    cursor: pointer;
}
@keyframes pulse {
    0% { transform: scale(1);}
    50% { transform: scale(1.07);}
    100% { transform: scale(1);}
}

.img-thumbnail {
    background: #181818;
    border: 2px solid #d94636;
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}
.img-thumbnail:hover {
    transform: scale(1.04);
    border-color: #b53629;
    transition: transform 0.18s, border-color 0.18s;
}

.blockquote, .blockquote-footer {
    color: #cccccc;
    border-left: 5px solid #d94636;
    background: #1a1a1a;
    padding-left: 1.2rem;
}

.kontakt-mapa {
    display: block;
    margin: 0 auto;
    max-width: 340px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 2px solid #d94636;
    box-shadow: 0 2px 12px #000a;
}

@media (max-width: 575px) {
    .kontakt-mapa {
        max-width: 90vw;
        width: 100%;
        height: auto;
    }
}

footer {
    background: #181818;
    color: #888;
    font-size: 0.97rem;
    border-top: 2px solid #232323;
}

::-webkit-scrollbar {
    width: 8px;
    background: #232323;
}
::-webkit-scrollbar-thumb {
    background: #d94636;
    border-radius: 8px;
}

.pozice-img {
    position: relative;
}

.kurz-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

@media (max-width: 991px) {
    #clock, #clock-mobile {
        display: none !important;
    }
}

.reference-blok {
    background: #181818;
    border-radius: 10px;
    margin-bottom: 1.2rem;
    padding: 1.1rem 1.2rem 0.9rem 1.2rem;
    border-left: 4px solid #d94636;
    box-shadow: 0 2px 10px #0004;
}

.reference-blok p {
    margin-bottom: 0.8rem;
    font-size: 1.07em;
}

.reference-footer {
    font-size: 0.96em;
    color: #ccc;
    margin-bottom: 0.1em;
    margin-top: -0.6em;
}

@media (max-width: 575px) {
    .reference-blok {
        padding: 0.85rem 0.7rem 0.75rem 0.95rem;
        font-size: 0.99em;
    }
    h2 {
        font-size: 1.25em;
    }
}