/* Import fontů z Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Condensed:wght@300;400;500;600;700&display=swap');

/* Nastavení Inter jako výchozí font */
body, html {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    height: 100%;
}

/* Sticky footer - footer vždy dole */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main, .container {
    flex: 1;
}

/* Nastavení IBM Plex Sans Condensed pro nadpisy */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'IBM Plex Sans Condensed', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
}

/* Oprava pro obrázky kol - vždy zobrazit celý obrázek */
.bike-detail-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto;
}

/* Pro modal obrázky */
.modal-bike-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto;
}

/* Zarovnání kontejneru obrázku */
.bike-image-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 300px;
    background-color: #ffffff;
    border-radius: 0.375rem 0 0 0.375rem;
    padding: 20px 10px 10px 10px;
}

/* Obrázky kol na hlavní stránce - vždy zarovnané nahoru bez mezer */
.card-img-top {
    object-fit: contain;
    object-position: top center;
    height: 250px;
    width: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0.375rem 0.375rem 0 0;
    display: block;
}

/* Specifické nastavení pro H1 */
h1, .h1 {
    font-size: 36px;
    line-height: 43.2px;
    margin-bottom: 12px;
    color: #000;
    text-transform: none;
}

/* Specifické nastavení pro H2 */
h2, .h2 {
    font-size: 30px;
    line-height: 36px;
    margin-bottom: 12px;
    color: #000;
    text-transform: none;
}

/* Specifické nastavení pro H3 */
h3, .h3 {
    font-size: 24px;
    line-height: 28.8px;
    margin-bottom: 12px;
    color: #000;
    text-transform: none;
}

/* Specifické nastavení pro H4 */
h4, .h4 {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 12px;
    color: #000;
    text-transform: none;
}

/* Černý toggle switch pro admin */
.toggle-black:checked {
    background-color: #000 !important;
    border-color: #000 !important;
}

.toggle-black:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.25) !important;
}

/* Specifické nastavení pro H5 */
h5, .h5 {
    font-size: 18px;
    line-height: 21.6px;
    margin-bottom: 12px;
    color: #000;
    text-transform: none;
}

/* Specifické nastavení pro H6 */
h6, .h6 {
    font-size: 16px;
    line-height: 19.2px;
    margin-bottom: 12px;
    color: #000;
    text-transform: none;
}

.calendar td{height:90px}.badge.bg-success-subtle{background:#e9f7ef;border:1px solid #c6e6d1}

/* Hover efekt pro proklikávací karty kol - na homepage a v kalendáři */
.card[onclick]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    transition: all 0.2s ease-in-out;
}

/* Vyloučit hover efekt z karet s formulářovými elementy */
.card:has(input):hover,
.card:has(select):hover,
.card:has(button):not([onclick]):hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Žluté podtržítko pro menu položky - pouze pro veřejné menu */
.navbar-light .navbar-nav .nav-link {
    position: relative;
    transition: all 0.3s ease;
    font-weight: bold;
    margin-left: 0.25rem;
    margin-right: 0.25rem;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #000 !important;
}

.navbar-light .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -1px;
    left: 50%;
    background-color: #ffc107;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-light .navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Aktivní stav menu odkazu - trvalé žluté podtržení */
.navbar-light .navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Styly pro neaktivní pole v rezervačním formuláři */
.form-control:disabled,
.form-select:disabled {
    background-color: #f8f9fa;
    opacity: 0.6;
    cursor: not-allowed;
}

.form-control:disabled::placeholder,
.form-select:disabled::placeholder {
    color: #6c757d;
}

/* Bílé podtržítko pro admin menu */
.navbar-dark .navbar-nav .nav-link {
    position: relative;
    transition: all 0.3s ease;
    font-weight: bold;
    margin-left: 0.25rem;
    margin-right: 0.25rem;
}

.navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -1px;
    left: 50%;
    background-color: #fff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-dark .navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Aktivní stav admin menu odkazu - trvalé bílé podtržení */
.navbar-dark .navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Styly pro kontaktní hlavičku */
.bg-light {
    background-color: #f8f9fa !important;
}

.contact-header a {
    transition: color 0.2s ease;
}

.contact-header a:hover {
    color: #ffc107 !important;
}