/* --- VARIABLES & RESET --- */
:root {
    --primary-color: #b28c50; /* Zlatá */
    --primary-hover: #d4a964;
    --dark-bg: #121212;
    --card-bg: #1e1e1e;
    --text-color: #f4f4f4;
    --text-muted: #a0a0a0;
    --white: #ffffff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --shadow: 0 10px 30px rgba(0,0,0,0.5);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.highlight { color: var(--primary-color); }
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--white);
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* --- HEADER --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 40px;
    background: rgba(18, 18, 18, 0.9); /* Priesvitnosť */
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

.navbar .logo img { width: 120px; height: auto; }

.navbar .links { display: flex; gap: 2.5rem; }
.navbar .links a {
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.navbar .links a:hover { color: var(--primary-color); }
.navbar .links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}
.navbar .links a:hover::after { width: 100%; }

.action_btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(178, 140, 80, 0.3);
}

.action_btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(178, 140, 80, 0.5);
    color: var(--white);
}

.toggle_btn { display: none; font-size: 1.5rem; cursor: pointer; color: var(--white); }

/* Dropdown Menu (Mobile) */
.dropdown_menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(15px);
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.dropdown_menu.open { display: block; animation: slideDown 0.3s ease; }
.dropdown_menu li { margin: 1.5rem 0; }
.dropdown_menu .mobile-btn { display: inline-block; width: 100%; max-width: 250px; margin-top: 1rem; }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('obrazky/hero-img2.1.jpg') center/cover no-repeat;
    padding: 0 20px;
    margin-bottom: 0; /* Remove margin to connect with info bar */
}

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(18,18,18,1));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 2.5rem;
    color: #ddd;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-3px); }

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}
.btn-secondary:hover { background: var(--white); color: var(--dark-bg); }

/* --- INFO BAR (Floating in Hero) --- */
.infcontainer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(178, 140, 80, 0.9);
    backdrop-filter: blur(5px);
    padding: 1.5rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 5;
    font-weight: 600;
}

.infcontainer a { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.infcontainer a:hover { color: var(--dark-bg); }
.infcontainer .divider { opacity: 0.5; }

/* --- CARDS SECTION --- */
.section-padding { padding: 6rem 20px; }
.container { max-width: 1200px; margin: auto; }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: rgba(178, 140, 80, 0.3);
}
.card:hover::before { transform: scaleX(1); }

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--white); }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* --- SPLIT SECTION (Offer/Expectations) --- */
.split-section {
    display: flex;
    flex-wrap: wrap;
    min-height: 500px;
}

.split-box {
    flex: 1 1 500px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.split-box .content {
    flex: 1;
    padding: 4rem;
    z-index: 2;
}

.split-box.dark { background: #1a1a1a; }
.split-box.light { background: #252525; }

.split-box .image-bg {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    transition: var(--transition);
    z-index: 1;
}

.split-box:hover .image-bg { opacity: 0.2; transform: scale(1.05); }

.split-box h2 { font-size: 2rem; margin-bottom: 1.5rem; color: var(--primary-color); }

.check-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.check-list i { color: var(--primary-color); }

.link-arrow {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    border-bottom: 2px solid transparent;
}
.link-arrow:hover { border-bottom-color: var(--primary-color); }

/* --- CTA GRID (Image Links) --- */
.cta-grid {
    display: flex;
    flex-wrap: wrap;
}

.cta-item {
    flex: 1 1 400px;
    height: 350px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-item img {
    position: absolute;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cta-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    transition: 0.3s;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    transform: translateY(20px);
    transition: 0.3s;
}

.cta-content h3 { font-size: 2.2rem; color: var(--white); margin-bottom: 0.5rem; }
.cta-content p { color: var(--primary-color); opacity: 0; transform: translateY(10px); transition: 0.3s; }

.cta-item:hover img { transform: scale(1.1); }
.cta-item:hover::after { background: rgba(0,0,0,0.4); }
.cta-item:hover .cta-content { transform: translateY(0); }
.cta-item:hover .cta-content p { opacity: 1; transform: translateY(0); }


/* --- FOOTER --- */
footer {
    background: #0d0d0d;
    padding-top: 4rem;
    color: var(--text-muted);
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between; /* Roztiahne logo a kontakt na kraje */
    flex-wrap: wrap;
    gap: 2rem;
    padding: 0 20px 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-col {
    flex: 1 1 300px;
}

.footer-logo {
    width: 140px;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 12px;

}.footer-col a:hover {
    color: rgba(178, 140, 80, 0.9);
    margin: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 20px;
    background: #000;
    font-size: 0.8rem;
}

/* --- OPRAVA TEXTU INFORMÁCIE PRE FIRMY (CTA) --- */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-col p {
        justify-content: center;
    }

    /* Zmenšenie textu "Informácie pre firmy" na mobiloch, aby nešiel po okraj */
    .cta-content h3 {
        font-size: 1.4rem !important; /* Vynútenie menšej veľkosti */
        padding: 0 15px;
        line-height: 1.3;
    }

    /* Responzivita pre infcontainer a reveal v predchádzajúcom požiadavku */
    .infcontainer {
        position: relative !important;
        flex-direction: column;
        gap: 12px;
        padding: 20px !important;
        font-size: 0.9rem;
    }

    .reveal {
        transform: translateY(20px); /* Jemnejší posun pre mobily */
        transition: all 0.6s ease;
    }
}

@media (max-width: 480px) {
    .cta-content h3 {
        font-size: 1.2rem !important;
    }
}

/* --- ANIMATION UTILS --- */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE --- */
/* --- PÔVODNÉ CSS ZOSTÁVA AŽ PO RESPONSIVE ČASŤ --- */

/* ... (vaše premenné a základné štýly) ... */

/* --- RESPONSIVE ÚPRAVY --- */

@media(max-width: 992px) {
    .navbar .links, .navbar .action_btn { display: none; }
    .toggle_btn { display: block; }
    header { padding: 15px 20px; } /* Zmenšenie paddingu headeru */
}

@media(max-width: 768px) {
    .hero { 
        height: auto; 
        min-height: 90vh; 
        padding: 250px 20px 40px; /* Zväčšený horný padding zo 100px na 140px */
        display: flex;
        flex-direction: column;
        justify-content: flex-start; /* Zmenené z center na flex-start pre lepšiu kontrolu */
    }

    .hero-content {
        margin-bottom: 40px; /* Priestor medzi tlačidlami a infobarom */
    }

    /* OPRAVA: INFCONTAINER - pridanie horného marginu, aby nebol nalepený na tlačidlách */
    .infcontainer { 
        position: relative; 
        flex-direction: column; 
        gap: 15px; 
        padding: 1.5rem 10px; 
        background: var(--primary-color);
        margin-top: 20px; /* Odsunutie od tlačidiel hero sekcie */
        width: calc(100% + 40px); /* Roztiahnutie na celú šírku (kompenzácia paddingu body) */
        margin-left: -20px; 
    }
    .infcontainer a { font-size: 0.95rem; } /* Zmenšenie textu v lište */
    .infcontainer .divider { display: none; }

    /* OPRAVA: REVEAL animácia na mobiloch */
    .reveal {
        opacity: 0;
        transform: translateY(20px); /* Menší posun, aby to na mobile "neskákalo" */
        transition: all 0.6s ease-out;
    }

    /* Split sekcie */
    .split-box { flex: 1 1 100%; min-height: auto; }
    .split-box .content { padding: 2.5rem 1.5rem; }
    .split-box h2 { font-size: 1.6rem; }

    /* OPRAVA: TEXT "Informácie pre firmy" a CTA sekcia */
    .cta-item { height: 280px; flex: 1 1 100%; }
    .cta-content h3 { 
        font-size: 1.5rem; /* Zmenšené z 2.2rem, aby text nešiel po okraj */
        padding: 0 10px; 
    }
    .cta-content p { font-size: 0.9rem; }

    /* Footer */
    .footer-container { gap: 2rem; }
    .footer-col { flex: 1 1 100%; text-align: center; }
    .footer-col p { justify-content: center; }
}

@media(max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .btn-primary, .btn-secondary { width: 100%; text-align: center; }
    
    /* Extra zmenšenie nadpisov v obrázkoch pre veľmi malé mobily */
    .cta-content h3 { font-size: 1.3rem; } 
}