html {
    box-sizing: border-box;
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    height: 100%;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background-image: url("../image/allfixbg2.webp");
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    background-attachment: scroll;
    background-color: #ffffff; /* Dark background for the body */
    color: #e0e0e0; /* Light text color for readability */
}

a {
    text-decoration: none;
    color: #89cff0; /* Lighter blue for links */
}

.modal {
    width: 100%;
    height: 100%;
    max-width: 767px;
    max-height: 100%;
    border-radius: 10px;
    background-color: rgba(30, 30, 46, 0.97); /* Darker modal background with slight transparency */
    box-shadow: 0 22px 64px 0 rgba(0, 0, 0, 0.5); /* Darker shadow */
    padding: 60px 50px;
    position: relative;
    margin: 30px auto 0 auto;
    flex-shrink: 0;
}

.modal::before,
.modal::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
}

.modal::before {
    top: 0;
    left: 0;
    max-width: 150px;
    max-height: 150px;
    background-image: url("../image/top.png");
}

.modal::after {
    top: calc(100% - 184px);
    right: 0;
    max-width: 198px;
    max-height: 185px;
    background-image: url("../image/bottom.png");
}

.modal__title {
    display: flex;
    margin: 0 auto;
    max-width: 400px;
    max-height: 90px;
    align-items: center;
    justify-content: center;
}

.modal__title img {
    width: 100%;
    height: auto;
}

.modal__description {
    color: #6aabcb; /* Softer blue for descriptions */
    font-size: 24px;
    font-weight: 500;
    line-height: 44px;
    text-align: center;
    margin: 20px 0 15px;
}

.modal__description span {
    font-weight: bold;
}

.modal__video {
    text-align: center;
}

.modal__img img {
    width: 100%;
}

.modal__video video {
    width: 100%;
}

.modal__name {
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
    max-width: 280px;
    margin: 0 auto 30px;
    color: #e0e0e0;
}

.modal__contact {
    display: flex;
    margin: 20px 0 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    line-height: 2.5em;
    color: #e0e0e0;
}

.modal__contact span {
    line-height: 1.5;
}

.modal__contact-btn a {
    padding: 18px 50px !important;
}

.modal__phone,
.modal__email {
    display: flex;
    align-items: center;
    font-size: 17.55px;
    font-weight: 500;
    line-height: 25px;
    color: #89cff0; /* Lighter blue for phone/email text */
}

.modal__phone img {
    margin-right: 13px;
    width: 50px;
    height: 50px;
}

.phone-number-link {
    text-decoration: none !important;
    font-weight: bold;
    font-size: 28px !important;
    color: #a0dfff !important; /* Brighter blue for the phone number */
}

.gradient-text {
    background: linear-gradient(0deg, rgba(80, 120, 200, 1) 0%, rgba(120, 180, 250, 1) 100%); /* Adjusted gradient for dark theme */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    color: #a0dfff; /* Fallback color */
}

.delimiter {
    color: #4a4a5e; /* Darker delimiter */
    margin: 0 30px;
}

.modal__bottom {
    position: relative;
    z-index: 1;
    margin: 50px 0 0;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background-color: #28283e; /* Darker background for bottom section */
}

.modal__boxs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.modal__box {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.box {
    max-width: 160px;
    max-height: 144px;
    background: linear-gradient(0deg, rgb(40, 40, 60) 0%, rgba(60, 60, 80, 1) 100%); /* Darker gradient for boxes */
    width: 160px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease-out;
    transform: scale(1);
    border: 1px solid #3a3a4e; /* Subtle border for definition */
}

.box:hover {
    transform: scale(1.1);
    background-color: #3e3e5e; /* Darker hover background */
    background: linear-gradient(0deg, rgb(50, 50, 70) 0%, rgba(70, 70, 90, 1) 100%); /* Darker hover gradient */
}

.modal__company {
    color: #e0e0e0; /* Light text for company names */
    font-size: 18px;
    font-weight: bold;
    line-height: 44px;
    text-align: center;
    cursor: pointer;
}

.vyrobcovia {
    width: auto;
    height: 30px;
    max-width: 100px;
    max-height: 50px;
    filter: brightness(0) invert(1); /* This filter makes the logos white */
}

.modal__btn {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.modal__btn a {
    background: linear-gradient(43.96deg, #3a7d8c 0%, #2a6a77 100%); /* Darker, desaturated gradient for buttons */
    color: #fff;
    font-weight: 600;
    padding: 18px 100px;
    border-radius: 4px;
    text-decoration: none;
    transform: scale(1);
    transition: all .3s ease-out;
}

.modal__btn a:hover {
    background: linear-gradient(43.96deg, #4aa0b0 0%, #3a7d8c 100%); /* Slightly brighter hover state */
    color: #fff;
    font-weight: 600;
    padding: 18px 100px;
    border-radius: 4px;
    text-decoration: none;
    transform: scale(1.05);
    transition: all .3s ease-in;
    
}

.skryte {
    display: none;
}

.naviguj {
    vertical-align: middle;
    width: 40px;
    height: auto;
}

@media (max-width: 768px) {
    body {
        height: auto;
    }

    .modal {
        padding: 150px 15px;
        max-height: unset;
        max-width: unset;
        height: auto;
    }

    .modal__title span::after {
        display: none;
    }

    .modal__phone img {
        margin-right: 5px;
    }

    .modal__phone,
    .modal__email {
        font-size: 16px;
    }
}

@media (max-width: 375px) {
    .modal__phone,
    .modal__email {
        font-size: 16px;
    }
}

@media (max-width: 350px) {
    .modal__boxs {
        justify-content: center;
    }
}

.center-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

#menu.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#menu strong {
    text-align: center;
    display: block;
    color: #e0e0e0;
}

.product-name-item {
    text-align: center;
    color: #e0e0e0;
}

.product-price-item b {
    display: block;
    text-align: center;
    color: #e0e0e0;
}

.address-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.address-list li{
    margin-bottom: 15px;
}

.address-list .address-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #c0c0c0; /* Lighter gray for address text */
    padding: 15px 20px;
    border-radius: 10px;
    background-color: #2e2e4e; /* Darker background for address links */
    background: linear-gradient(0deg, rgb(40, 40, 60) 0%, rgba(60, 60, 80, 1) 100%); /* Darker gradient */
    box-shadow: none;
    transition: all .3s ease-out;
    transform: scale(1);
    width: 100%;
}

.address-list .address-link:hover {
    transform: scale(1.05);
    background-color: #3e3e5e; /* Darker hover background */
    background: linear-gradient(0deg, rgb(50, 50, 70) 0%, rgba(70, 70, 90, 1) 100%); /* Darker hover gradient */
    box-shadow: none;
    transition: all .3s ease-in;
}

.address-list .naviguj {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    margin-right: 15px;
}

.address-list span {
    font-size: 17px;
    color: #c0c0c0; /* Lighter gray for address details */
    line-height: 1.5;
    flex-grow: 1;
    text-align: left;
}

.modal__contact > span {
    display: block;
    text-align: center;
    margin-top: 30px;
    font-size: 16px;
    color: #c0c0c0; /* Lighter gray for contact info */
}

.modal__contact > span b {
    font-weight: 700;
    color: #e0e0e0; /* Light text for bold parts in contact info */
}

.margin-bottom{
    margin-bottom: 30px;
}

.divider {
    height: 50px;
    clear: both;
    margin: 0 auto;
    width: 100%;
    
}

/* Specific changes for accessory images */
.modal__box img[alt="púzdro notebook"],
.modal__box img[alt="púzdro tablet"],
.modal__box img[alt="ochranné sklo ipad"],
.modal__box img[alt="ochranné sklo apple"] {
    /* No filter applied here, as requested */
}