
/* ---------------------------------------SUBPAGE / JADROVE VRTANIE-----------------------------------------------------  */
/* Container & Background */
.premium-banner {
    position: relative;
    height: 450px; /* Higher than a standard subpage for visual impact */
    width: 100%;
    overflow: hidden;
    background: #000; /* Fallback */
    display: flex;
    align-items: center;
    color: #fff;
    font-family: 'Inter', sans-serif; /* A clean, modern font */
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    opacity: 0.7; /* Soften the video to make text pop */
}

.banner-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
    margin-bottom: 150px;
}

/* Typography & Layout */
.content-container {
    max-width: 2000px;
    animation: fadeInUp 1.2s ease-out;
    border: white solid 1px;
    padding: 20px;
    margin-top: 50px;
}

.service-tag {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ec0202; /* Accent color */
    margin-bottom: 20px;
    font-weight: 600;
}

.main-title {
    font-size: clamp(3rem, 8vw, 6rem); /* Responsive fluid typography */
    line-height: 0.9;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 800;
}

.outline-text {
    color: #ec0202;
    font-weight: 400;
}

.description-box {
    max-width: 800px;
    padding-left: 20px;
    border-left: 2px solid #ec0202; /* Vertical line adds "distinctive" structure */
}

.description-box p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}


/* Mobile Responsive */

@media (max-width: 880px) {
    .banner-overlay {
        margin-bottom: 0;
    }
    .content-container {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .banner-overlay {
        background: rgba(0,0,0,0.5);
        padding: 0 5%;
        text-align: center;
    }
    .description-box {
        border-left: none;
        padding-left: 0;
        margin: 0 auto;
    }
}
.snippets-jv {
    background: rgba(0, 0, 0, 0.7); /* must be transparent */
    backdrop-filter: blur(5px);
    position: relative;
    top: -80px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    z-index: 1000;
    width: 100%;
    padding: 10px;
    border-radius: 0;
    margin-bottom: -60px;
}

/* 2. The wrapper for each icon+text pair */
.snippets-jv .s {
    display: flex;
}

/* 3. The text styling */
.snippets-jv p {
    font-size: clamp(1rem, 1.3vw, 2rem);    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
    font-family: sans-serif; /* Ensures a clean look */
    line-height: 1;         /* Critical for vertical text centering */
}

/* 4. The Icon styling */
.snippets-jv svg {
    background-color: #d2051e;
    fill: white;
    height: 60px;
    width: 60px;    /* Force square shape */
    padding: 10px;
    flex-shrink: 0; /* Stops the icon from squishing */
    display: block; /* Removes weird bottom gaps in some browsers */
}

@media (max-width: 880px) {
    .snippets-jv {
        top: 0;
        margin-bottom: 20px;
        background-color: #211f1f;
        gap: 10px;
    }
}

@media (max-width: 590px) {
    .snippets-jv {
        display: none;
    }
}

/* ---------------------------------------content-----------------------------------------------------  */


.jv-content{
    display: flex;
    align-items: center;
    margin-bottom: -50px;
}

.jv-content img{
    height: 1000px;
}

.vrtanieh4{
    font-size: 2.5rem;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.vrtanieh4p{
    text-align: center;
}

table {
    width: 90%;
    margin: 20px auto 20px auto; /* Add some top/bottom margin */
    border-collapse: collapse;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

th, td {
    font-size: calc(12px + (15 - 12) * ((100vw - 320px) / (1200 - 320)));
    border-bottom: 1px solid #ddd; /* Lighter borders */
    padding: 12px 15px; /* Increased padding */
    text-align: left;
}


th {
    font-size: calc(12px + (17 - 12) * ((100vw - 320px) / (1200 - 320)));
    background-color: #211f1f; /* Very light blue main row */
    font-weight: 600; /* Slightly bolder header text */
    color: white;
}


tr:nth-child(even) {
    background-color: #f2f2f2; /* Light gray for even rows */
}

.mainrow {
    background-color: #211f1f; /* Very light blue main row */
    font-weight: bold;
}

/* Optional hover effect */
tr:hover:not(.mainrow) {
    background-color: #eaeaea;
}

th:not(:first-child), td:not(:first-child) {
    text-align: center;
    background-color: inherit; /* Inherit the background color */
}

/*  accordion  */


.accordion-item {
    width: 90%;
    margin: 20px auto 20px auto; /* Add some top/bottom margin */

}

.accordion-header {
    background-color: #f0f0f0;
    border: none;
    padding: 10px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    outline: none;
}

.accordion-content {
    padding: 10px;
    display: block; /* Content is initially visible */
}

.accordion-item.collapsed .accordion-content {
    display: none;
}

.accordion-header:after {
    content: '\2212'; /* Minus sign when open */
    float: right;
}

.accordion-item.collapsed .accordion-header:after {
    content: '\002B';
}/* Plus sign when closed */




.desc-container-content {
    padding: 2rem;
    background-color: #ffffff;
}

/* Všeobecné štýly pre nadpisy */


/* Špecifické štýly pre hlavný nadpis */
.desc-container-content h2 {
    color: #000000; /* Tmavo modrá pre nadpisy */
    font-weight: 700; /* Tučné písmo, ekvivalent k font-bold */
    margin-bottom: 1rem;
    font-size: 2.5rem; /* Väčší nadpis */
    text-align: center;
    border-bottom: 3px solid #d2051e; /* Modrá linka pod nadpisom */
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

/* Špecifické štýly pre podnadpisy */
.desc-container-content h3 {
    color: #000000; /* Tmavo modrá pre nadpisy */
    font-weight: 700; /* Tučné písmo, ekvivalent k font-bold */
    margin-bottom: 1rem;
    font-size: 1.75rem; /* Menší nadpis */
    margin-top: 2rem;
    border-left: 5px solid #d2051e; /* Modrá linka vľavo */
    padding-left: 1rem;
}

/* Štýly pre odseky */
.desc-container-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Štýly pre neusporiadaný zoznam */
.desc-container-content ul {
    list-style: none; /* Odstránenie predvolených odrážok */
    padding-left: 0;
    margin-bottom: 2rem;
}

/* Štýly pre položky zoznamu */
.desc-container-content ul li {
    background-color: rgba(255, 0, 0, 0.15); /* Svetlo modré pozadie pre položky zoznamu */
    padding: 1rem 1.5rem;
    margin-bottom: 0.75rem;
    border-radius: 0.75rem; /* Zaoblené rohy pre položky */
    display: flex; /* Ekvivalent k flex */
    align-items: center; /* Ekvivalent k items-center */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* Ekvivalent k shadow-sm */
    font-size: 1rem;
    color: #000000; /* Tmavší modrý text */
    gap: 10px;
    display: flex;
}


.desc-container-contact-info {
    background: linear-gradient(135deg, #211f1f 0%, #111111 100%);
    padding: 30px 40px;
    margin: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
}

.desc-container-contact-info::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background-color: #d2051e;
}

.desc-container-contact-info h3 {
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-right: auto;
    line-height: 1;
    text-transform: uppercase;
}

.desc-container-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* PHONE BUTTON */
#phone-button {
    background-color: #d2051e;
    color: #ffffff;
}

#phone-button:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-3px);
}

/* EMAIL BUTTON */
#email-button {
    border: 1px solid rgba(255,255,255,0.2);
    color: #ffffff;
    background-color: rgba(255,255,255,0.04);
}

#email-button:hover {
    background-color: rgba(255,255,255,0.12);
    transform: translateY(-3px);
}

/* MOBILE */
@media (max-width: 900px) {

    .desc-container-contact-info {
        flex-direction: column;
        align-items: stretch;
        padding: 40px 25px;
    }

    .desc-container-contact-info h3 {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .desc-container-contact-button {
        width: 100%;
    }
}

/* Responzívne prispôsobenie */

@media (max-width: 768px) {
    .desc-container-content {
        margin: 1rem;
        padding: 1rem;
    }
    .desc-container-content h1 {
        font-size: 2rem;
    }
    .desc-container-content h2 {
        font-size: 1.5rem;
    }
    .desc-container-content p {
        font-size: 0.95rem;
    }
    .desc-container-content ul li {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    .desc-container-contact-info{
        font-size: 0.95rem;
    }
}



@media (max-width: 650px) {
    .desc-container-contact-info{
        flex-direction: column;
    }
    .desc-container-contact-info h3{
    }
}

@media (max-width: 500px) {
    .desc-container-content ul li{
        flex-direction: column;
    }
}

@media (max-width: 1214px) {
    .jv-content img {
        display: none;
    }
}



/* ---------------------------------------related services-----------------------------------------------------  */

.related-services {
    background: linear-gradient(135deg, #211f1f 0%, #111111 100%);
    padding: 60px 40px;
    margin: 60px 20px;
    position: relative;
    overflow: hidden;
}

.related-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background-color: #d2051e;
}

.related-services-header {
    margin-bottom: 40px;
}

.related-services-label {
    display: inline-block;
    color: #d2051e;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.related-services-header h3 {
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
}

.related-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.related-service-card {
    background-color: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 30px;
    text-decoration: none;
    transition: all 0.35s ease;
    position: relative;
}

.related-service-card:hover {
    transform: translateY(-6px);
    background-color: rgba(255,255,255,0.08);
    border-color: rgba(210,5,30,0.4);
}

.service-number {
    color: #d2051e;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 20px;
}

.related-service-card h4 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.related-service-card p {
    color: rgba(255,255,255,0.72);
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 1rem;
}

.service-link {
    color: #ffffff;
    font-weight: 700;
    transition: color 0.3s ease;
}

.related-service-card:hover .service-link {
    color: #d2051e;
}

/* MOBILE */
@media (max-width: 700px) {

    .related-services {
        padding: 40px 25px;
        margin: 40px 15px;
    }

    .related-services-grid {
        grid-template-columns: 1fr;
    }

    .related-service-card {
        padding: 25px;
    }
}