:root {
    --primary-color: #0066CC; /* Hlboká, profesionálna modrá */
    --primary-color-darker: #004C99;
    --dark-color: #0d0d0d;
    --light-color: #ffffff;
    --overlay-color: rgba(0, 0, 0, 0.65);
    --font-family: 'Poppins', sans-serif;
}

/* Globálne štýly */

html {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}
body {
    font-family: var(--font-family);
    line-height: 1.7;
    background-color: var(--dark-color);
    overflow-x: hidden;
}

#why-us, #talents, #services, #agenti, #kontakt {
    scroll-margin-top: 80px;
}

/* --- Všeobecné nastavenia sekcií --- */
.why-us, .talents, .services, .agenti, .kontakt {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 100px 0;
}
.separator {
    margin-top: 10px;
    margin-bottom: 30px;
}
.text-white-50 { color: rgba(255, 255, 255, 0.5) !important; }

/* --- TALENT CARD STYLE (Pre funkčnosť overlayu) --- */
.talent-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.talent-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.talent-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.85);
    color: var(--light-color);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}
.talent-card:hover .talent-overlay {
    transform: translateY(0);
}

/* --- NAVBAR --- */
.navbar {
    padding: 0.75rem 1rem;
    transition: background-color 0.4s ease, padding 0.4s ease;
    background-color: transparent;
    z-index: 1020;
}

.navbar.scrolled {
    background-color: var(--dark-color) !important;
    padding: 0.75rem 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1030;
    overflow-y: visible !important;
}

.navbar.scrolled::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    z-index: 10;
}

.logo {
    height: 60px;
    transition: height 0.3s ease;
}

.navbar.scrolled .logo {
    height: 50px;
}

.navbar-nav .nav-link {
    color: var(--light-color) !important;
    margin: 0 0.75rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s;
    font-weight: 500;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.social-icons a {
    font-size: 1rem;
    transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: scale(1.05);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-toggler {
    margin-left: auto;
}

@media (max-width: 991.98px) {
    .navbar {
        background-color: var(--dark-color) !important;
    }

    .navbar .container {
        position: relative;
    }

    .navbar-toggler {
        position: absolute;
        top: 0.75rem; /* Zodpovedá hornému paddingu .navbar, vertikálne vycentruje */
        right: 1rem; /* Zodpovedá pravému paddingu, odtiahne od okraja */
        margin: 0; /* Pre istotu odstráni všetky margíny */
    }

    .navbar-collapse {
        text-align: center;
        margin-top: 1rem;
    }
    .navbar-nav .nav-link {
        margin: 0.5rem 0;
    }
    .d-none.d-lg-flex {
        display: none !important;
    }
}

/* --- HERO SEKCIA --- */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("assets/img/hero.jpg") no-repeat center center/cover;
    transform: scale(1);
    animation: zoomHero 8s linear infinite alternate;
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--overlay-color);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-logo {
    height: 320px;
}

.hero h1 {
    letter-spacing: 1px;
    text-shadow: 0 3px 15px rgba(0,0,0,0.3);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-color-darker);
    border-color: var(--primary-color-darker);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-animated-item {
    animation: fadeInUp 1s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    opacity: 0;
}

@keyframes zoomHero {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.15);
    }
}

/* Why Choose Us Section */
.why-us {
    background-color: #111111;
    color: var(--light-color);
    padding-top: 150px;
    padding-bottom: 150px;
    text-align: left;
}

.handwriting-font {
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
    text-transform: none !important;
    font-weight: 500 !important;

}

/* Why Us Content */
.why-us-content h2 {
    line-height: 1.2;
}

/* Stats Item */
.stat-item p {
    line-height: 1.3;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .why-us {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .why-us-content {
        text-align: center;
    }

    .stats-container {
        margin-top: 4rem;
    }

    .stat-item {
        justify-content: center;
    }
}

/* --- SEKCIA TALENTY --- */
.talents {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding-top: 250px;
    padding-bottom: 150px;
}

/* Kontajner karty */
.talent-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.talent-img {
    display: block;
    width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.5s ease-in-out, transform 0.5s ease-in-out;
    transform: scale(1.05);
}

.talent-card:hover .talent-img {
    filter: grayscale(0%);
    transform: scale(1);
}

/* Prekrytie textu */
.talent-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6); /
    color: var(--light-color);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Text dole */
    opacity: 0; /* Štandardne neviditeľné */
    transition: opacity 0.4s ease-in-out;
    text-align: left;
}

.talent-overlay h5 {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    transform: translateY(10px);
    transition: transform 0.4s ease-in-out;
}

.talent-overlay p {
    font-size: 0.9rem;
    margin-bottom: 0;
    /* Pôvodná pozícia, aby sa vysunul */
    transform: translateY(10px);
    transition: transform 0.4s ease-in-out 0.1s; /* Mierne oneskorenie p */
}

.talent-card:hover .talent-overlay {
    opacity: 1;
}

.talent-card:hover .talent-overlay h5,
.talent-card:hover .talent-overlay p {
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .talents {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .talents-content {
        text-align: center;
        margin-bottom: 2rem;
    }

    .talent-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    }

    .talent-overlay h5,
    .talent-overlay p {
        transform: translateY(0);
    }
}

/* --- PARALLAX PREDELOVACIA SEKCIA --- */
.parallax-divider {
    background: url("assets/img/hero.jpg") no-repeat center center/cover;
    height: 350px;
    position: relative;
    background-attachment: fixed;
}

.parallax-divider::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

@media (max-width: 991.98px) {
    .parallax-divider {
        background-attachment: scroll;
        height: 250px;
    }
}

/* --- SEKCIA SLUŽBY --- */
.services {
    background-color: #111111;
    color: var(--light-color);
    padding-top: 100px;
    padding-bottom: 150px;
}

.service-card {
    background-color: var(--dark-color);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 10px var(--primary-color);
    border-color: var(--primary-color);
}

.service-card h4 {
    color: var(--light-color);
}

/* --- PARALLAX PREDELOVACIA SEKCIA (CTA) --- */
.parallax-divider {
    background: url("assets/img/hero.jpg") no-repeat center center/cover;
    height: 350px;
    position: relative;
    background-attachment: fixed;
    z-index: 1;
}
.parallax-divider::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
}
.parallax-divider .container {
    position: relative;
    z-index: 3;
}
.btn-outline-light {
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--light-color);
    color: var(--light-color);
    transition: all 0.3s ease;
    z-index: 3;
    position: relative;
}
.btn-outline-light:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-color);
    transform: scale(1.05);
}
@media (max-width: 991.98px) {
    .parallax-divider {
        background-attachment: scroll;
        height: 250px;
    }
}

/* --- SEKCIA SLUŽBY --- */
.services {
    background-color: #111111;
}
.service-card {
    background-color: var(--dark-color);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 10px var(--primary-color);
    border-color: var(--primary-color);
}

/* Sekcia agenti */
.agenti {
    background: linear-gradient(180deg, #0e0e0e 0%, #1a1a1a 100%);
}

.separator {
    width: 60px;
    height: 4px;
    border-radius: 2px;
    margin: 12px auto 20px;
}

.agent-card {
    background: #1f1f1f;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    transform: translateY(0);
}

.agent-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

.agent-header {
    background: linear-gradient(135deg, #111, #222);
    padding: 50px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.agent-header i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.agent-card:hover .agent-header i {
    transform: scale(1.1);
}

.agent-body {
    padding: 25px 20px;
    text-align: center;
}

.agent-body h4 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.agent-body .role {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.agent-body p {
    color: #bfbfbf;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.agent-body a {
    color: #bfbfbf;
    text-decoration: none;
}

.agent-body a:hover {
    color: var(--primary-color);
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    color: #bfbfbf;
    font-size: 1.2rem;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}
.separator {
    width: 60px;
    height: 4px;
    border-radius: 2px;
    margin: 12px 0 20px 0;
}


/* --- SEKCIA SPONZORI (HORIZONTÁLNY SCROLL) --- */
.sponsors {
    background-color: #111111;
    overflow: hidden;
    padding: 60px 0;
}
.sponsor-scroller {
    display: flex;
    white-space: nowrap;
    animation: scroll-left 30s linear infinite; /* Rýchlosť a trvanie animácie */
}
.sponsor-item {
    flex: 0 0 auto;
    width: 250px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sponsor-logo {
    max-height: 80px;
    max-width: 100%;
    filter: grayscale(100%) opacity(70%);
    transition: all 0.3s;
}
.sponsor-logo:hover {
    filter: grayscale(0%) opacity(100%);
}

/* Keyframes pre animáciu scrollovania (posun o 50% pre plynulú slučku) */
@keyframes scroll-left {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Sekcia kontakt */
.kontakt {
    background: linear-gradient(135deg, #111, #1c1c1c);
    color: #fff;
}

.separator {
    width: 60px;
    height: 4px;
    background: #007bff;
    border-radius: 2px;
}

/* Karta kontaktu */
.contact-card {
    background: #222;
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.3s ease;
}
.contact-card:hover {
    transform: translateY(-5px);
}

/* Položky kontaktu */
/* Formulár */
.contact-form {
    background: #1a1a1a;
    border-radius: 1rem;
}
.contact-form .form-control {
    background: #2a2a2a;
    border: 1px solid #444;
    color: #fff;
    padding: 0.9rem 1.2rem;
    border-radius: 0.5rem;
    transition: 0.3s;
}
.contact-form .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 10px rgba(0,123,255,0.3);
}
.contact-form .form-control::placeholder {
    color: #aaa;
}
.contact-form button {
    border-radius: 0.7rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}
.contact-form button:hover {
    background: #0056b3;
}
/* Kontakt - info tabuľka */
.contact-card {
    background: #222;
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.icon-circle {
    background: #007bff;
    color: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-item p,
.contact-item a {
    margin: 0;
    line-height: 1.4;
}

/* --- FOOTER --- */
.footer {
    background-color: #111111;
    padding-top: 60px;
    padding-bottom: 20px;
    color: var(--light-color);
}
.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
}
.footer-link, .footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
    line-height: 2;
}
.footer-link:hover, .footer a:hover {
    color: var(--primary-color);
}
.footer h5 {
    color: var(--light-color);
    margin-bottom: 20px;
    font-weight: bold;
}
.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 20px;
    margin-top: 40px;
}