/* --- KOMPLETNÝ REDIZAJN UPRATKO.COM --- */

/* 1. Import modernej typografie */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;800&display=swap');

/* 2. Globálne nastavenia a svieže pozadie */
body {
    background: linear-gradient(135deg, #f5fafd 0%, #ffffff 50%, #f0f9f1 100%) !important;
    background-attachment: fixed !important;
    background-size: cover !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    color: #2c3e50;
    margin: 0;
    padding: 0;
}

/* Skrytie starých dekoračných prvkov Atomeru */
#background_top_image, #background_bottom, .searchbar_holder, .separator {
    display: none !important;
}

/* 3. Hlavný kontajner (Glassmorphism efekt) */
#main_holder {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05) !important;
    max-width: 1100px !important;
    margin: 40px auto !important;
    overflow: hidden;
}

#main_holder_inner {
    background: transparent !important;
}


/* 5. Moderná Navigácia */
#navbar_holder {
    background: rgba(255, 255, 255, 0.5) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 5px 0;
}

#hlavneMenu {
    display: flex;
    justify-content: center;
    gap: 35px;
    list-style: none;
}

#hlavneMenu li a {
    color: #003459 !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    padding: 15px 5px;
    text-decoration: none;
    transition: 0.3s;
    border-bottom: 3px solid transparent;
}

#hlavneMenu li a:hover, #hlavneMenu li.active a {
    color: #2ecc71 !important;
    border-bottom: 3px solid #2ecc71;
}

/* 6. Typografia a Obsah */
.content h1 {
    font-size: 38px !important;
    font-weight: 800;
    color: #003459;
    text-align: center;
    margin-bottom: 40px !important;
}

.content h2 {
    font-size: 22px !important;
    color: #003459;
    text-transform: uppercase;
    border-left: 5px solid #2ecc71;
    padding-left: 15px;
    margin: 40px 0 20px;
}

/* Transformácia tabuliek na moderné karty */
table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 15px !important;
    display: block;
}

tbody, tr {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

td {
    flex: 1;
    min-width: 280px;
    background: #ffffff !important;
    padding: 30px !important;
    border-radius: 20px;
    border: 1px solid #edf2f7 !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02) !important;
    transition: 0.3s;
}

td:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(46, 204, 113, 0.1) !important;
    border-color: #2ecc71 !important;
}

/* Zoznamy služieb */
.obsah ul {
    list-style: none;
    padding: 0;
}

.obsah ul li {
    padding: 10px 0 10px 30px;
    position: relative;
    border-bottom: 1px solid #f1f1f1;
    font-size: 15px;
}

.obsah ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2ecc71;
    font-weight: 900;
}

/* Štýlovanie cien */
span[style*="color: #ff6600"] {
    background: #e8f8f0;
    color: #003459 !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 800;
    display: inline-block;
    margin-top: 15px;
    font-size: 17px;
    border: 1px solid #2ecc71;
}

/* 7. Pätička */
footer {
    background: #003459 !important;
    color: #ffffff !important;
    padding: 50px 0;
    margin-top: 50px;
    text-align: center;
}

#footer_copyrights {
    background: rgba(0,0,0,0.1);
    padding: 20px 0;
}

#copyright, .pata_dev a {
    color: rgba(255,255,255,0.7) !important;
    text-decoration: none;
    font-size: 13px;
}

/* Responzivita pre mobilné zariadenia */
@media (max-width: 768px) {
    #hlavneMenu {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    td {
        min-width: 100%;
    }
    .content h1 {
        font-size: 28px !important;
    }
}