/* --- 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); }
}

/* KONTAKT HERO */
.contact-hero { text-align: center; background: linear-gradient(rgba(31,31,31,0.8), rgba(31,31,31,0.8)), url('obrazky/kontaktovanie.jpg'); background-size: cover; background-position: center; padding: 400px 20px 100px; }
.contact-hero h1 { font-size: clamp(30px, 5vw, 60px); color: #b28c50; margin-bottom: 15px; }
.contact-hero p { font-size: 1.1rem; max-width: 600px; margin: auto; color: #ccc; }

/* KONTAKTNÝ GRID */
.contact-grid { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 30px; 
    max-width: 1200px; 
    margin: -50px auto 80px; 
    padding: 0 20px; 
    position: relative; 
    z-index: 2; 
}

/* Úprava kartičky ako odkazu */
.contact-card { 
    background: #262626; 
    padding: 40px; 
    border-radius: 20px; 
    text-align: center; 
    flex: 1 1 350px; 
    border: 1px solid #333; 
    transition: all 0.3s ease; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
    display: block; /* Dôležité pre klikateľnosť celej plochy */
    text-decoration: none; /* Odstráni podčiarknutie */
    color: #fff;
}

.contact-card:hover { 
    transform: translateY(-10px); 
    border-color: #b28c50; 
    background: #2d2d2d; /* Jemné zvýraznenie pozadia pri hoveri */
}

.contact-card i { 
    font-size: 40px; 
    color: #b28c50; 
    margin-bottom: 20px; 
    transition: 0.3s;
}

/* Efekt na ikonu, keď sa prejde po karte */
.contact-card:hover i {
    transform: scale(1.1);
}

.contact-card h3 { 
    font-size: 24px; 
    margin-bottom: 10px; 
    font-family: 'Montserrat', sans-serif;
}

.contact-card p { 
    color: #888; 
    margin-bottom: 20px; 
}

.contact-link { 
    font-size: 20px; 
    font-weight: bold; 
    color: #b28c50; 
    display: inline-block;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

/* Podčiarknutie "linku" vnútri karty pri hoveri na kartu */
.contact-card:hover .contact-link {
    border-bottom-color: #b28c50;
}

/* --- 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;
    }
    .infcontainer {
        position: relative !important;
        flex-direction: column;
        gap: 12px;
        padding: 20px !important;
        font-size: 0.9rem;
    }
    .reveal {
        transform: translateY(20px); 
        transition: all 0.6s ease;
    }
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.contact-hero{
    padding-top: 250px;
}
}

@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) {

    /* 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; }
    /* Footer */
    .footer-container { gap: 2rem; }
    .footer-col { flex: 1 1 100%; text-align: center; }
    .footer-col p { justify-content: center; }
}

@media(max-width: 480px) {
    .btn-primary, .btn-secondary { width: 100%; text-align: center; }
}