/* ========================================= */
/* 🏢 HERO SEKCIA - O FIRME (VŠETKY 4 ROHY) */
/* ========================================= */

.footer-bottom a {
    color: inherit; /* Prevezme farbu okolitého textu */
    text-decoration: none; /* Odstráni podčiarknutie */
    font-weight: bold; /* Voliteľné: zvýrazní tvoju značku */
}

.footer-bottom a:hover {
    text-decoration: underline; /* Podčiarkne sa až pri prejdení myšou */
}

* {
    scroll-behavior: smooth;
}

/* Dizajn odkazu v GDPR súhlase */
.gdpr-link {
    color: #FF2800; /* Tvoja firemná červená */
    text-decoration: none; /* Odstráni základné podčiarknutie */
    font-weight: 600; /* Bude mierne hrubší, aby vynikol */
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

/* Efekt po prejdení myšou */
.gdpr-link:hover {
    color: white;
    text-decoration: underline; /* Pri hoveri sa podčiarkne */
}

.sekcia-hero-onas {
    position: relative;
    /* Tvoje nastavenie výšky */
    height: 40vh; 
    min-height: 250px; /* Poistka pre mobily, aby to nebolo príliš úzke */
    
    /* Tvoje pozadie a efekty */
    background-image: url('obrazkykinetech/team-of-engineers-meeting-to-report-project-construction-on-laptop-screen.webp'); 
    background-size: cover;
    background-position: center;
    
    /* Tvoje okraje - vytvárajú efekt karty */
    margin-top: 5px;
    margin-right: 10px;
    margin-left: 10px;
    
    /* Tmavý filter cez inset tieň */
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.4); /* Mierne som stmavil (0.4) pre lepšiu čitateľnosť textu */
    
    /* Tvoj Clip-path (4 zrezané rohy) */
    clip-path: polygon(
        0% 20px,
        20px 0%,
        calc(100% - 20px) 0%,
        100% 20px,
        100% calc(100% - 20px),
        calc(100% - 20px) 100%,
        20px 100%,
        0% calc(100% - 20px)
    );

    /* NOVÉ: Zarovnanie obsahu dole vľavo */
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

/* Obal pre text */
.hero-onas-obsah {
    width: 100%;
    max-width: 1400px; /* Aby to lícovalo s pätou na veľkých displejoch */
    margin: 0 auto;    /* Centrovanie v rámci flex kontajnera */
    
    /* DÔLEŽITÉ: Odsadenie musí byť väčšie ako zrezanie rohu (20px), 
       inak bude text "seknutý" alebo nalepený na hrane */
    padding-left: 50px; 
    padding-bottom: 40px; 
}

/* Štýl nadpisu */
.nadpis-onas {
    font-family: 'Oxanium', sans-serif;
    font-size: 60px; /* Veľký výrazný nadpis */
    font-weight: 500;
    color: white;
    text-transform: uppercase;
    margin: 0;
    line-height: 1;
    padding-left: 20px;
    border-left: 5px solid #FF2800;
}

/* ========================================= */
/* 📱 RESPONZIVITA (MOBIL A TABLET) */
/* ========================================= */

@media (max-width: 768px) {
    .sekcia-hero-onas {
        height: 30vh; /* Na mobile môže byť trochu nižšia */
        margin-left: 10px; /* Menšie okraje na mobile */
        margin-right: 10px;
        
        /* Ak chceš na mobile menšie zrezanie rohov (napr. 10px), 
           musel by si tu prepísať celý clip-path. 
           Ale 20px vyzerá dobre aj na mobile. */
    }

    .hero-onas-obsah {
        /* Na mobile zmenšíme odsadenie, ale stále musíme nechať 
           dosť miesta kvôli zrezanému rohu (aspoň 25-30px) */
        padding-left: 30px; 
        padding-bottom: 30px;
    }

    .nadpis-onas {
        font-size: 30px; /* Menší font pre mobil */
        padding-left: 15px;
        border-left-width: 3px;
    }
}

/* ======================================= */
/* PODSTRÁNKA: O NÁS - TEXTOVÁ SEKCIA      */
/* ======================================= */

.subpage-about-section {
    background-color: white;
    margin-top: 100px;
    font-family: "Oxanium", sans-serif;
    color: black;
}

.subpage-about-container {
    max-width: 85%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Zarovná začiatok stĺpcov hore */
    gap: 80px; /* Medzera medzi ľavým nadpisom a pravým textom */
}

/* --- Ľavá strana (Nadpisy) --- */
.subpage-left-col {
    flex: 1; /* Zaberie 1 časť priestoru (cca 40-50%) */
    position: sticky; /* Pekný efekt: ak je text vpravo dlhý, nadpis ostane viditeľný */
    top: 100px;
}

.subpage-tag {
    display: block;
    color: #FF4500; /* Oranžová farba pre zátvorky a text (zmeň podľa brandu, ak treba) */
    font-size: 16px;
    letter-spacing: 2px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 15px;
}

/* Ak chceš, aby len zátvorky boli oranžové a text čierny, použi iné riešenie, 
   ale podľa obrázku 2 to vyzerá na jednu farbu pre tag. */

.subpage-title {
    font-size: 60px; /* Veľký nadpis ako na hlavnej stránke */
    line-height: 1;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    color: black;
}

/* --- Pravá strana (Texty) --- */
.subpage-right-col {
    flex: 1; /* Zaberie 1 časť priestoru */
    display: flex;
    flex-direction: column;
    gap: 50px; /* Medzera medzi blokom "Kto sme" a "Misia" */
    padding-top: 10px; /* Jemná korekcia, aby text začínal opticky zarovno s nadpisom */
}

.text-block h3.block-title {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 15px;
    color: black;
}

.text-block p {
    font-size: 16px;
    line-height: 1.6;
    color: #333; /* Jemne svetlejšia čierna pre lepší kontrast čítania */
    margin: 0;
    max-width: 100%;
}

/* ======================================= */
/* RESPONSIVITA (Tablet a Mobil)           */
/* ======================================= */

@media (max-width: 1024px) {
    .subpage-about-container {
        gap: 40px;
        max-width: 90%;
    }
    
    .subpage-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .subpage-about-section {
        margin-top: 70px;
    }

    .subpage-about-container {
        flex-direction: column; /* Zmení rozloženie na stĺpec */
        padding: 0 0px;
        gap: 40px;
    }

    .subpage-left-col {
        width: 100%;
        position: static; /* Zruší sticky efekt na mobile */
        margin-bottom: 20px;
    }

    .subpage-right-col {
        width: 100%;
        gap: 40px;
    }
    
    .subpage-title {
        font-size: 30px;
        margin-bottom: -25px;
    }
    .subpage-tag {
        font-size: 15px;
    }
    .text-block h3.block-title {
        font-size: 20px;
    }
}

/* ======================================= */
/* PODSTRÁNKA: FAQ BEZ TLAČIDIEL           */
/* ======================================= */

.faq-subpage-section {
    background-color: #ffffff;
    margin-top: 100px;
    margin-bottom: 100px;
    font-family: "Oxanium", sans-serif;
}

/* Používam rovnaký kontajner ako v predchádzajúcej sekcii pre zarovnanie */
.faq-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1.8fr; /* Viac priestoru pre text otázok */
    gap: 100px;
}

.faq-main-title {
    font-size: 60px;
    line-height: 1.1;
    font-weight: 500;
    text-transform: uppercase;
    margin: 20px 0;
    color: black;
}

.faq-subtitle {
    color: #666;
    font-size: 16px;
    max-width: 350px;
    line-height: 1.5;
}

/* Accordion Štýly */
.faq-accordion-item {
    border-bottom: 1px solid #eee;
}

.faq-trigger {
    width: 100%;
    padding: 30px 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-q-text {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    font-family: "Oxanium", sans-serif;
}

/* Ikona Plus/Mínus (Tvoja pôvodná červená) */
.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    background: #FF2800; /* Kinetech červená */
    transition: transform 0.3s ease;
}

.faq-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.faq-icon::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

/* Aktívny stav ikony */
.faq-accordion-item.active .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.faq-panel-inner {
    padding-bottom: 30px;
    color: #444;
    line-height: 1.7;
    font-size: 17px;
}

/* Responzivita */
@media (max-width: 1100px) {
    .faq-grid-layout {
        gap: 50px;
    }
    .faq-main-title {
        font-size: 40px;
    }
}

@media (max-width: 900px) {
    .faq-grid-layout {
        grid-template-columns: 1fr;
    }
    .faq-left-side {
        margin-bottom: 30px;
    } 
    .faq-main-title {
        font-size: 30px;
    }
    .faq-q-text {
        font-size: 18px;
    }
    .faq-grid-layout {
        gap: 0px !important;
    }
}

/* ======================================= */
/* 🆕 FAQ PÄTIČKA - IDENTICKÉ PARAMETRE */
/* ======================================= */

.faq-footer {
    background-color: #0a0a0a;
    color: #ffffff;
    padding: 80px 0 30px 0;
    font-family: "Oxanium", sans-serif;
}

.faq-footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.faq-footer-top {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.faq-footer-title {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 60px;
    text-transform: uppercase;
}

.faq-footer-links-grid {
    display: flex;
    gap: 100px;
}

.faq-footer-nav, .faq-footer-socials {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-footer-nav a, .faq-footer-socials a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-footer-nav a:hover, .faq-footer-socials a:hover {
    color: #FF2800;
}

.faq-contact-info-text {
    text-align: right;
    margin-bottom: 40px;
    font-size: 15px;
    line-height: 1.6;
    color: #ccc;
}

/* --- FORMULÁR --- */
.faq-footer-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.faq-form-content {
    display: none;
    animation: faqFadeIn 0.4s ease;
}

.faq-form-content.faq-active {
    display: block;
}

@keyframes faqFadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.faq-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.faq-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.faq-form-group label {
    font-size: 12px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.faq-form-group input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #333;
    color: #fff;
    padding: 10px 0;
    font-family: inherit;
    font-size: 15px;
    outline: none;
}

.faq-form-group input:focus {
    border-bottom-color: #FF2800;
}

/* --- OVLÁDACIA LIŠTA --- */
.faq-form-controls {
    display: flex;
    justify-content: flex-end; /* Posunuté doprava, keďže chýbajú prepínače */
    align-items: center;
    margin-top: 30px;
    border-top: 1px solid #0a0a0a;
    padding-top: 25px;
}

/* Tlačidlo POSLAŤ (zosúladené parametre) */
.faq-footer-submit-btn {
    background-color: #ffffff;
    color: #000;
    border: none;
    font-size: 15px;        
    line-height: 2.5em;     
    padding: 7px 30px;      
    font-weight: 500; 
    font-family: "Oxanium", sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    clip-path: polygon(0% 8px, 8px 0%, calc(100% - 8px) 0%, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0% calc(100% - 8px));
}

.faq-footer-submit-btn:hover {
    background-color: #FF2800;
    color: #fff;
}

/* --- SPODNÁ LIŠTA --- */
.faq-footer-bottom {
    border-top: 1px solid #222;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
}

/* --- RESPONZIVITA --- */
@media (max-width: 1024px) {
    .faq-footer-top { grid-template-columns: 1fr; gap: 50px; }
    .faq-contact-info-text { text-align: left; }
    .faq-footer-links-grid { gap: 50px; }
}

@media (max-width: 768px) {
    .faq-form-controls {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    .faq-footer-submit-btn { width: 100%; justify-content: center; }
}

@media (max-width: 500px) {
    .faq-footer-container { padding: 0 15px !important; }
    .footer-title {
        font-size: 27px !important;
    }
}

/* --- MOBILNÝ REORDERING (Identické poradie) --- */
@media (max-width: 900px) {
    .faq-footer-top { display: flex; flex-direction: column; gap: 40px; margin-bottom: 40px; }
    .faq-footer-branding, .faq-footer-contact-section { display: contents; }

    .faq-footer-title { order: 1; text-align: center; margin-bottom: 20px; font-size: 32px; }
    .faq-footer-form { order: 2; width: 100%; }
    .faq-contact-info-text { order: 3; text-align: center; padding-top: 20px; border-top: 1px solid #222; }
    .faq-footer-links-grid { order: 4; justify-content: center; gap: 40px; }

    .faq-form-controls { padding-top: 10px; border-top: none; }
    .faq-footer-submit-btn { height: 50px; padding: 3px 10px !important; }
    .faq-form-row { grid-template-columns: 1fr; gap: 10px; }
}