/* ===================================================== */
/* RESET */
/* ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #000;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}


/* ===================================================== */
/* HEADER */
/* ===================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    min-height: 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 5px 40px;

    background: rgba(0, 0, 0, 0.32);

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    z-index: 1000;
}
/* TEXTOVY NAZOV FIRMY */

.brand-name {
    position: absolute;
    left: 40px;

    color: #ffffff;

    font-size: 20px;
    font-weight: 600;

    letter-spacing: 2px;

    white-space: nowrap;
}


/* ===================================================== */
/* NAVIGATION */
/* ===================================================== */

.nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.nav a {
    color: white;

    text-decoration: none;

    font-size: 17px;
    font-weight: 500;

    transition: 0.3s;
}

.nav a:hover {
    color: #00a8ff;
}


/* ===================================================== */
/* LANGUAGE SWITCH */
/* ===================================================== */

.lang-switch {
    position: absolute;
    right: 40px;
    display: flex;
    gap: 10px;
}

.lang-switch span {
    cursor: pointer;

    font-size: 14px;
    font-weight: bold;

    opacity: 0.60;

    transition: 0.3s;
}

.lang-switch span:hover,
.lang-switch span.active {
    color: #00a8ff;
    opacity: 1;
}


/* ===================================================== */
/* HERO */
/* ===================================================== */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 110px 25px 40px;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.20),
            rgba(0, 0, 0, 0.30)
        ),
        url("img/pozadie.jpg") center / cover no-repeat;
}

.hero-content {
    position: relative;

    max-width: 1000px;

    text-align: center;

    z-index: 2;
}
/* HLAVNY NAZOV FIRMY */

.hero-brand {
    color: #ffffff;

    font-size: clamp(58px, 7vw, 90px);
    font-weight: 700;

    letter-spacing: 5px;

    line-height: 1;

    text-shadow:
        0 3px 18px rgba(0, 0, 0, 0.65);
}


/* POVODNY HERO TEXT POSUNUTY NIZSIE */

.hero-main {
    margin-top: 18px;
}

.hero-content h1 {
    font-size: clamp(40px, 6vw, 64px);

    line-height: 1.1;

    font-weight: 700;

    text-shadow:
        0 3px 15px rgba(0, 0, 0, 0.75);
}

.hero-content p {
    margin-top: 18px;

    font-size: clamp(18px, 2.5vw, 24px);

    color: #f0f0f0;

    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.8);
}


/* ===================================================== */
/* GENERAL SECTIONS */
/* ===================================================== */

.section {
    padding: 90px 40px;

    text-align: center;
}

.section h2 {
    font-size: clamp(32px, 4vw, 44px);

    margin-bottom: 15px;
}

.section-intro {
    max-width: 760px;

    margin: 0 auto;

    color: #bdbdbd;

    font-size: 18px;

    line-height: 1.6;
}

.dark {
    background: #0c0c0c;
}


/* ===================================================== */
/* SERVICES */
/* ===================================================== */

.services-section {
    background:
        radial-gradient(
            circle at top center,
            rgba(0, 168, 255, 0.08),
            transparent 40%
        ),
        #050505;
}

.services-grid {
    width: 100%;
    max-width: 1180px;

    margin: 50px auto 0;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;

    align-items: start;
}


/* SERVICE CARD */

.service-card {
    background:
        rgba(255, 255, 255, 0.035);

    border:
        1px solid rgba(255, 255, 255, 0.09);

    border-radius: 16px;

    overflow: hidden;

    transition:
        transform 0.3s,
        border-color 0.3s,
        background 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);

    border-color:
        rgba(0, 168, 255, 0.45);

    background:
        rgba(255, 255, 255, 0.055);
}

.service-card.open {
    border-color:
        rgba(0, 168, 255, 0.7);
}


/* Last card centered */

.service-card:last-child {
    grid-column: 1 / -1;

    width: calc(50% - 11px);

    justify-self: center;
}


/* ===================================================== */
/* SERVICE BUTTON */
/* ===================================================== */

.service-toggle {
    width: 100%;

    min-height: 130px;

    display: grid;

    grid-template-columns:
        55px 1fr 35px;

    align-items: center;

    gap: 18px;

    padding: 25px;

    background: transparent;

    color: white;

    border: none;

    text-align: left;

    cursor: pointer;
}


/* SERVICE ICON */

.service-icon {
    width: 52px;
    height: 52px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 13px;

    background:
        rgba(0, 168, 255, 0.11);

    color: #00a8ff;

    font-size: 28px;
}


/* SERVICE TEXT */

.service-main h3 {
    font-size: 23px;

    margin-bottom: 8px;
}

.service-main p {
    color: #bcbcbc;

    font-size: 15px;

    line-height: 1.5;
}


/* PLUS */

.service-arrow {
    font-size: 30px;

    color: #00a8ff;

    text-align: center;

    transition:
        transform 0.35s;
}

.service-card.open .service-arrow {
    transform: rotate(45deg);
}


/* ===================================================== */
/* SERVICE DETAILS */
/* ===================================================== */

.service-detail {
    max-height: 0;

    overflow: hidden;

    opacity: 0;

    padding: 0 28px;

    text-align: left;

    transition:
        max-height 0.5s ease,
        opacity 0.35s ease,
        padding 0.4s ease;
}

.service-card.open .service-detail {
    max-height: 1200px;

    opacity: 1;

    padding:
        5px 28px 30px;
}


/* DETAIL TEXT */

.service-detail-text {
    padding-top: 22px;

    border-top:
        1px solid rgba(255, 255, 255, 0.08);
}

.service-detail-text h3 {
    margin-bottom: 12px;

    color: #00a8ff;

    font-size: 22px;
}

.service-detail-text p {
    margin-bottom: 20px;

    color: #d2d2d2;

    line-height: 1.65;
}


/* LIST */

.service-detail ul {
    list-style: none;

    display: grid;

    gap: 11px;

    padding-left: 0;
    margin-left: 0;
    margin-bottom: 25px;
}

.service-detail li {
    color: #dddddd;

    line-height: 1.5;
}

.service-detail li {
    display: grid;
    grid-template-columns: 20px 1fr;
    align-items: start;
    column-gap: 8px;

    color: #dddddd;
    line-height: 1.5;
}

.service-detail li::before {
    content: "✓";

    color: #00a8ff;
    font-weight: bold;

    width: 20px;
    text-align: left;
}


/* ===================================================== */
/* SERVICE PHOTO GALLERY */
/* ===================================================== */

.service-gallery {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;

    margin-top: 20px;
}

.gallery-placeholder {
    min-height: 130px;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 15px;

    border-radius: 10px;

    background:
        rgba(255, 255, 255, 0.025);

    border:
        1px dashed rgba(
            255,
            255,
            255,
            0.20
        );

    color: #777;

    text-align: center;

    font-size: 13px;
}


/* Future real photos */

.service-gallery img {
    width: 100%;
    height: 150px;

    object-fit: cover;

    border-radius: 10px;

    transition: 0.3s;
}

.service-gallery img:hover {
    transform: scale(1.03);
}
/* ===================================================== */
/* ABOUT */
/* ===================================================== */

.about-section {
    background:
        radial-gradient(
            circle at center,
            rgba(0, 168, 255, 0.06),
            transparent 55%
        ),
        #090909;
}

.about-content {
    width: 100%;
    max-width: 850px;

    margin: 0 auto;

    text-align: left;
}

.about-content h2 {
    text-align: center;
    margin-bottom: 30px;
}

.about-content p {
    margin-bottom: 18px;

    color: #cccccc;

    font-size: 18px;
    line-height: 1.7;
}

/* ===================================================== */
/* WHY US */
/* ===================================================== */

.why-grid {
    max-width: 1000px;

    margin: 45px auto 0;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.why-item {
    padding: 22px;

    background:
        rgba(255, 255, 255, 0.035);

    border:
        1px solid rgba(
            255,
            255,
            255,
            0.08
        );

    border-radius: 12px;

    transition: 0.3s;
}

.why-item:hover {
    transform: translateY(-3px);

    border-color:
        rgba(0, 168, 255, 0.35);
}


/* ===================================================== */
/* REALIZATIONS */
/* ===================================================== */

.realizations-section {
    background: #080808;
}

.realizations-grid {
    width: 100%;
    max-width: 1180px;
    margin: 45px auto 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.realization-card {
    overflow: hidden;

    background: #101010;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;

    text-align: left;

    transition: 0.3s;
}

.realization-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 168, 255, 0.45);
}

.realization-image {
    height: 230px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #151515;

    color: #666;
    font-size: 14px;
}

.realization-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;
}

.realization-info {
    padding: 18px 20px 20px;
}

.realization-info h3 {
    margin-bottom: 7px;

    color: #ffffff;
    font-size: 19px;
}

.realization-info p {
    color: #999999;

    font-size: 14px;
    line-height: 1.5;
}


/* ===================================================== */
/* FAQ */
/* ===================================================== */

.faq-list {
    width: 100%;
    max-width: 900px;

    margin: 45px auto 0;

    display: grid;

    gap: 18px;
}

.faq-item {
    padding: 25px 28px;

    text-align: left;

    background:
        rgba(255, 255, 255, 0.035);

    border:
        1px solid rgba(
            255,
            255,
            255,
            0.08
        );

    border-radius: 14px;

    transition: 0.3s;
}

.faq-item:hover {
    background:
        rgba(255, 255, 255, 0.055);

    border-color:
        rgba(0, 168, 255, 0.35);
}

.faq-item h3 {
    margin-bottom: 10px;

    color: #00a8ff;

    font-size: 20px;
}

.faq-item p {
    color: #d0d0d0;

    line-height: 1.65;
}


/* ===================================================== */
/* CONTACT */
/* ===================================================== */

.contact-section {
    background: #050505;
}

.contact-section h2 {
    margin-bottom: 0;
}


/* JEMNÝ MODRÝ DETAIL */

.contact-accent {
    width: 55px;
    height: 2px;

    margin: 18px auto 48px;

    background: #00a8ff;

    border-radius: 10px;

    opacity: 0.8;
}


/* HLAVNÝ KONTAKTNÝ PÁS */

.contact-modern {
    width: 100%;
    max-width: 1180px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1.35fr 0.8fr 1fr 1.15fr 1.45fr;

    align-items: center;

    gap: 35px;

    text-align: left;
}


/* FIRMA + MENO */

.contact-identity {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.contact-identity strong {
    color: #ffffff;

    font-size: 21px;
    font-weight: 600;
}

.contact-identity span {
    color: #9a9a9a;

    font-size: 16px;
}


/* OSTATNÉ ÚDAJE */

.contact-data {
    display: flex;
    flex-direction: column;

    gap: 6px;

    min-width: 0;
}

.contact-data span {
    color: #707070;

    font-size: 11px;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 1.2px;
}

.contact-data strong,
.contact-data a {
    color: #e8e8e8;

    font-size: 16px;
    font-weight: 500;

    line-height: 1.4;

    text-decoration: none;

    white-space: nowrap;
}


/* TELEFÓN + E-MAIL */

.contact-data a {
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.contact-data a:hover {
    color: #00a8ff;
}



/* ===================================================== */
/* TOP BUTTON */
/* ===================================================== */

#topBtn {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 48px;
    height: 48px;

    display: none;

    align-items: center;
    justify-content: center;

    color: white;

    background: #00a8ff;

    border: none;

    border-radius: 10px;

    font-size: 20px;

    cursor: pointer;

    z-index: 999;

    transition: 0.3s;
}

#topBtn:hover {
    box-shadow:
        0 0 15px rgba(
            0,
            168,
            255,
            0.7
        );
}


/* ===================================================== */
/* FOOTER */
/* ===================================================== */

.footer {
    padding: 30px 20px;

    background: #000;

    color: #888;

    text-align: center;

    font-size: 14px;
}


.phone .header {
    min-height: 100px;
}

.phone .brand-name {
    font-size: 30px;
}

.phone .nav a {
    font-size: 26px;
}

.phone .lang-switch span {
    font-size: 21px;
}
.phone .hero {
    min-height: 60vh;
    background-size: cover ;
    background-repeat: no-repeat;
    background-position: center top;
}
.phone .service-toggle {
    min-height: 180px;
    padding: 35px;
}

.phone .service-main h3 {
    font-size: 38px;
}

.phone .service-main p {
    font-size: 26px;
}

.phone .service-icon {
    width: 68px;
    height: 68px;
    font-size: 36px;
}

.phone .service-arrow {
    font-size: 38px;
}