/* Globální nastavení */
body {
    font-family: 'Inter', sans-serif;
    color: #2c3e50;
    overflow-x: hidden;
}

/* Navigace */
.navbar {
    transition: all 0.3s ease;
}

.nav-link {
    font-size: 0.95rem;
    color: #4a5568 !important;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: #0d6efd !important;
}

/* Hero sekce */
.hero-section {
    min-height: 85vh;
    /* Téměř přes celou výšku, ale vidíme kousek karet dole */
    background: url('bg.png') center/cover no-repeat;
    /* Přidáme tmavý overlay, aby šel přečíst text */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 10, 30, 0.9) 0%, rgba(10, 10, 30, 0.6) 100%);
    z-index: 1;
}

/* Text Gradient Effect */
.text-gradient {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Karty s efektem zvednutí (Hover Lift) */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    /* Karta vyjede nahoru */
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .15) !important;
    /* Větší stín */
}

/* Ikony v kroužku */
.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Proces (Kroky 1-2-3-4) */
.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    position: relative;
    z-index: 2;
}

/* Propojení kroků čárou na velkých displejích */
@media (min-width: 768px) {
    #proces .col-md-3::after {
        content: '';
        position: absolute;
        top: 25px;
        left: 50%;
        width: 100%;
        height: 2px;
        background: #dee2e6;
        z-index: 1;
        transform: translateY(-50%);
    }

    /* Skryjeme čáru u posledního prvku */
    #proces .col-md-3:last-child::after {
        display: none;
    }
}

/* Tlačítka */
.btn-primary {
    background-color: #0d6efd;
    border: none;
    padding: 12px 24px;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    transform: scale(1.02);
    /* Jemné zvětšení */
    transition: transform 0.2s;
}

/* Mezery */
.mt-n5 {
    margin-top: -4rem !important;
    /* Vytáhne karty do Hero sekce */
}


/* --- NEW MODERN STYLES --- */

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
    background: rgba(18, 18, 28, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Scroll Animations (AOS override) */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Portfolio Gallery */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    cursor: pointer;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 110, 253, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    padding: 20px;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

/* FAQ Accordion Customization */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 0.5rem !important;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.accordion-button {
    font-weight: 600;
    padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: #0d6efd;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, .125);
}

/* Floating Action Button */
.fab-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #0d6efd;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 5px 20px rgba(13, 110, 253, 0.4);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0.9;
}

.fab-btn:hover {
    transform: scale(1.1);
    color: white;
    opacity: 1;
}

/* Services Icons */
.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.card:hover .service-icon {
    transform: rotate(10deg);
}

/* --- Added custom utilities --- */
.hover-scale {
    transition: transform 0.2s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.shadow-lg-primary {
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.4) !important;
}

.hover-underline:hover {
    text-decoration: underline !important;
}