:root {
    --bs-btn-bg: #2c3034!important;
}
.roboto-700 {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings:
    "wdth" 700;
}
body {
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

html {
    overflow-x: hidden;
}
.btn-dark {background-color: #2c3034!important;}
.navbar.sticky-top {
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-sticky {
    backdrop-filter: blur(10px);
    background-color: rgba(33, 37, 41, 0.95) !important;
}

.nav-link {
    color: #e0e0e0 !important;
    transition: color 0.3s ease;
}
.nav-link:hover {
    color: #ffffff !important;
    transition: color 0.3s ease;
}

.card-standard {
    background-color: #3487df;
}

.card-premium {
    background-color: #e8353f;
}

.card-premium-config {
    background-color: #993399;
}

.card-original {
    background-color: #f7be34;
}

.card-cell {
    background-color: #009999;
}

.card-body {
    padding: 25px;
}
.square {
    border-radius: 0px;
    border-style: none;
    border-width: 0;
}

.small-text {
    font-size: 10px;
    line-height: 0.8;
}

.card {
    height: 100%;
}

.card h2 {
    font-size: 1.2rem;
}

.split-column {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.split-column .card {
    flex: 1;
    margin-bottom: 10px;
}

.split-column .card:last-child {
    margin-bottom: 0;
}

.header-section {
    text-align: center;
}

.header-section h1 {
    margin-bottom: 20px;
}

footer {
    border-top: 1px solid #dee2e6;
}

footer svg {
    fill: #6c757d;
    transition: fill 0.3s ease;
}

footer:hover svg {
    fill: #fff;
}

main {
    flex: 1;
}

.partner-logo-container {
    padding: 1.5rem;
    transition: all 0.3s ease;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo-link {
    text-decoration: none;
    display: block;
}

.partner-logo {
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}

.partner-logo-link:hover .partner-logo {
    transform: scale(1.1);
    filter: grayscale(0%) opacity(1);
}

@media (min-width: 992px) {
    .row.justify-content-center .col-lg-3:only-child {
        max-width: 300px;
    }
}
@media (min-width: 992px) and (max-width: 1200px) {
        .carousel-item {
        height: 72vh;
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .row.justify-content-center .col-md-6:only-child {
        max-width: 400px;
    }
    .carousel-item {
        height: 72vh;
    }
}

@media (max-width: 767px) {
    .partneri-ikony {
        padding: 0px 100px;
    }

    .partner-logo-container {
        padding: 0rem 1.5rem !important;
        height: 50px !important;
    }
    .carousel-item {
        height: 72vh;
    }
}

.carousel-item {
    min-height: 500px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    z-index: 2;
}

.carousel-content {
    color: #2c3034;
    max-width: 500px;
}

.carousel-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: slideInUp 1s ease-out;
}

.carousel-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    animation: slideInUp 1s ease-out 0.2s both;
}

.carousel-content .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: all 0.3s ease;
    animation: slideInUp 1s ease-out 0.4s both;
}

.carousel-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.carousel-indicators [data-bs-target] {
    width: 28px;
    height: 4px;
    margin: 0 5px;
    background-color: rgba(100, 100, 100, 0.5);
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: rgba(100, 100, 100, 0.75);
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(13%) sepia(12%) saturate(565%) hue-rotate(169deg) brightness(94%) contrast(84%);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-content {
    animation: slideInUp 1s ease-out;
}

@media (max-width: 1200px)
{
    .carousel-zobrazeni-mobil
        {display:block;}
    .carousel-zobrazeni
        {display:none;}
}
@media (min-width: 1201px)
{
    .carousel-zobrazeni
        {display:block}
    .carousel-zobrazeni-mobil
        {display:none;}
    .carousel-item {
        height: 90vh;
        min-height: 400px;
    }
}


@media (max-width: 768px) {
    .carousel-item {
        height: auto;
        min-height: unset;
    }
    .mobile-carousel-content {
        margin-top: -50px;
    }

    #mobileCarousel .carousel-indicators {
        position: relative;
        bottom: auto;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
        margin: -10px 0px;
    }

    .carousel-content h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .carousel-content p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .carousel-content .btn {
        padding: 10px 25px;
        font-size: 1rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
    }

    .carousel-control-prev {
        left: 15px;
    }

    .carousel-control-next {
        right: 15px;
    }
}

@media (max-width: 576px) {
    .mobile-carousel-img {
        margin-top: -30px; /* Mobil carousel úprava */
    }
    .carousel-content h2 {
        font-size: 2rem;
    }

    .carousel-content p {
        font-size: 1rem;
    }

    .carousel-overlay {
        padding: 0 15px;
    }
}

.products-section {
    min-height: 100vh;
}

.section-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
}

.product-row {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    transition: all 0.3s ease;
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.product-image {
    transition: all 0.4s ease;
    border-radius: 12px;
}

.product-row:hover .product-image-wrapper::before {
    opacity: 1;
}

.product-title {
    font-size: 1.75rem;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 1rem;
}

.product-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #64748b;
}

.product-features {
    background: #f1f5f9;
    padding: 1.5rem;
    border-radius: 8px;
}

.product-features li {
    font-size: 0.95rem;
    color: #475569;
    font-weight: 500;
}

.price-current {
    color: #4f46e5 !important;
}

.price-original {
    font-size: 1rem;
}

@media (max-width: 991.98px) {
    .section-title {
        font-size: 2rem;
    }
    
    .product-row {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-content {
        text-align: center;
    }
    
    .product-features {
        text-align: left;
    }
    
    .btn-primary {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 575.98px) {
    .products-section {
        padding: 2rem 0;
    }
    
    .product-row {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .product-features {
        padding: 1rem;
    }
}

.product-row {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.product-row:nth-child(2) { animation-delay: 0.1s; }
.product-row:nth-child(3) { animation-delay: 0.2s; }
.product-row:nth-child(4) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quality-table-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
}

.quality-table-wrapper {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.quality-table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    width: 100%;
}


.table-header {
    background-color: #2b2f34;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 1.2rem 1rem;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 20%;
}

.table-header:first-child {
    border-top-left-radius: 16px;
}

.table-header:last-child {
    border-top-right-radius: 16px;
}

.quality-row {
    transition: all 0.3s ease;
}

.quality-label {
    padding: 1.5rem 1rem;
    border-right: 3px solid transparent;
    vertical-align: middle;
}

.quality-info {
    display: flex;
    flex-direction: column;
}

.quality-name {
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.quality-desc {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 4px;
}

.standard-label {
    border-right-color: #3487df;
    color: #3487df;
}

.premium-label {
    border-right-color: #e8353f;
    color: #e8353f;
}

.premium-config-label {
    border-right-color: #993399;
    color: #993399;
}

.original-label {
    border-right-color: #f7be34;
    color: #f7be34;
}

.cell-label {
    border-right-color: #009999;
    color: #009999;
}

.device-cell {
    padding: 1.5rem;
    text-align: center;
    vertical-align: middle;
    position: relative;
    width: 18.75%;
}

.quality-square {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.quality-square::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quality-square:hover::before {
    opacity: 1;
}

.standard-square {
    background: linear-gradient(135deg, #3487df 0%, #2563eb 100%);
}

.premium-square {
    background: linear-gradient(135deg, #e8353f 0%, #dc2626 100%);
}

.premium-config-square {
    background: linear-gradient(135deg, #993399 0%, #7c2d92 100%);
}

.original-square {
    background: linear-gradient(135deg, #f7be34 0%, #f59e0b 100%);
}
.cell-square {
    background: linear-gradient(135deg, #009999 0%, #008a8a 100%);
}

.unavailable-square {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    opacity: 0.5;
    cursor: not-allowed;
}

.quality-legend {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.legend-square {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    flex-shrink: 0;
}

.legend-item {
    font-size: 0.9rem;
    font-weight: 500;
    color: #475569;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .quality-square {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .device-cell {
        padding: 1rem 0.5rem;
    }
    
    .quality-label {
        padding: 1rem;
    }
    
    .table-header {
        padding: 1rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .quality-name {
        font-size: 0.85rem;
    }
    
    .quality-desc {
        font-size: 0.75rem;
    }
    
    .quality-legend {
        padding: 1rem;
    }
    
    .legend-item {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .quality-square {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .table-header {
        padding: 0.8rem 0.3rem;
        font-size: 0.75rem;
    }
    
    .device-cell {
        padding: 0.8rem 0.2rem;
    }
}

#toggleArrow {
    transition: transform 0.3s ease;
}

#toggleArrow.rotated {
    transform: rotate(180deg);
}

#toggleSpecificCategories {
    color: #6c757d;
    font-weight: 500;
}

#toggleSpecificCategories:hover {
    color: #495057;
}

.mobile-carousel-img {
    height: 400px;
    object-fit: contain;
    object-position: center;
}

.mobile-carousel-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #212529;
}

.mobile-carousel-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

@media (max-width: 767.98px) {
    .mobile-carousel-content {
        padding: 1.5rem 0;
    }
    
    .mobile-carousel-content .container {
        padding: 0 1rem;
    }
    
    .mobile-carousel-content h2 {
        font-size: 1.25rem;
    }
    
    .mobile-carousel-content p {
        font-size: 0.9rem;
    }

    .odsun-nadpisy {
        margin-top: 20px!important;
        margin-bottom: 15px!important;
    }
    .odsun-konf-top {
        margin-top: 20px!important;
    }
    .odsun-konf-bot {
        margin-bottom: 15px!important;
    }
}
@media (max-width: 992px) {
    .odsun-nadpisy {
        margin-top: 20px!important;
        margin-bottom: 15px!important;
    }
    .odsun-konf-top {
        margin-top: 20px!important;
    }
    .odsun-konf-bot {
        margin-bottom: 15px!important;
    }
    .mobil-original {
        padding-top: 0px!important;
    }
}
.mobile-same-images .carousel-item {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 200px;
}
/*
@media (min-width: 1701px) {
    .carousel-content {
        margin-left: -150px;
    }
    .navbar-brand {
        margin-left: -150px;
    }
}
*/
div {
    scroll-margin-top: 70px;
}
.border-out {
    border-width: 2px;
}
.svg-barva{
    filter: brightness(0) saturate(100%) invert(16%) sepia(17%) saturate(300%) hue-rotate(168deg) brightness(98%) contrast(92%);
}
.font700 {
    font-weight: 700;
}

.flag-icon {
    width: 20px;
    height: 15px;
    object-fit: cover;
    vertical-align: middle;
    border-radius: 2px;
}

.dropdown-menu .dropdown-item.active {
    background-color: #0d6efd;
    color: white;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #e9ecef;
}

.dropdown-menu .dropdown-item.active:hover {
    background-color: #0b5ed7;
}
