:root {
    --gold-color: #d4c179;
    --dark-text: #1a1a1a;
    --gray-text: #666666;
    --font-main: 'Geist', sans-serif;
}

body {
    font-family: var(--font-main);
    margin: 0;
    overflow-x: hidden;
    background-color: white;
}

/* --- ZÁKLADNÉ ROZLOŽENIE --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    position: relative;
    overflow: hidden;
}

.content-side {
    flex: 0.7;
    padding: 60px 6% 5% 8%; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    position: relative;
    background-color: white;
    z-index: 10;
}

.image-side {
    flex: 1.3;
    position: relative;
    overflow: hidden; 
    z-index: 1;
}

/* --- ANIMOVANÉ POZADIE (DESKTOP) --- */
.image-side::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* Cesta k obrázku z tvojho kódu */
    background: url('../files/bocian_bg.webp') no-repeat center center;
    background-size: cover;
    z-index: -1; 
    animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.15) translate(-2%, -1%); }
}

/* --- VSTUPNÉ ANIMÁCIE TEXTOV --- */
.content-side h1, 
.content-side p, 
.content-side .btn-gold,
.content-side .logo-area,
.content-side .form-control {
    opacity: 0; 
    transform: translateY(20px); 
    animation: fadeInUp 0.8s ease-out forwards;
}

.content-side .logo-area { animation-delay: 0.1s; }
.content-side h1 { animation-delay: 0.3s; }
.content-side .description { animation-delay: 0.5s; }
.content-side .form-control:nth-of-type(1) { animation-delay: 0.6s; }
.content-side .form-control:nth-of-type(2) { animation-delay: 0.7s; }
.content-side .form-control:nth-of-type(3) { animation-delay: 0.8s; }
.content-side .btn-gold { animation-delay: 0.7s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* --- OBLÚKY (SVG) --- */
.curve-divider {
    position: absolute;
    top: 0;
    right: -119px; 
    height: 100%;
    width: 120px; 
    z-index: 11;
    pointer-events: none;
}

.curve-mobile { display: none; } /* Na PC skryté */

/* --- TYPOGRAFIA A PRVKY --- */
.logo-area img { max-width: 160px; margin-bottom: 6rem; }

h1 {
    font-weight: 800;
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

h1 span { color: var(--gold-color); }

.description {
    color: var(--gray-text);
    max-width: 380px;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.btn-gold {
    background-color: var(--gold-color);
    color: white;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    width: fit-content;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: #cbb563; 
    color: white;
    transform: translateY(-3px); 
    box-shadow: 0 10px 25px rgba(212, 193, 121, 0.6);
}

/* --- FORM STYLES --- */
.demand-form {
    max-width: 450px;
}

.demand-form .form-control {
    border-radius: 50px;
    padding: 14px 24px;
    border: 1px solid #ccc;
    background: #fff;
    color: #333;
}

.demand-form .form-control::placeholder {
    color: #666;
}

.demand-form .form-control:focus {
    background: #fff;
    box-shadow: none;
    border-color: #999;
    color: #333;
    outline: none;
}

.demand-form .btn-gold {
    border: none;
    outline: none;
    cursor: pointer;
}

/* --- KARTA S CENAMI A IKONY --- */
.pricing-card {
    position: absolute;
    bottom: 8%; 
    right: 40px; 
    left: auto; 
    background: white;
    padding: 30px 55px 30px 30px;
    border-radius: 60px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    max-width: 460px;
    z-index: 20;
}

.icon-box {
    width: 120px; height: 120px; min-width: 120px;
    border: 1px solid #f2f2f2; border-radius: 32px;
    background-color: #fafafa;
    display: flex; align-items: center; justify-content: center;
    margin-right: 20px; 
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 40;
    color: #d4c179 !important; font-size: 66px;
}

.card-text-area h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 5px; margin-top:10px; }
.card-text-area p { font-size: 0.9rem; color: var(--gray-text); margin: 0; }

/* --- INDIKÁTORY --- */
.carousel-indicators-custom {
    position: absolute; right: 25px; top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 8px;
}

.carousel-indicators-custom button {
    width: 6px; height: 6px; border-radius: 10px;
    background-color: #e0e0e0; border: none; transition: all 0.4s ease;
    padding: 0; cursor: pointer;
}

.carousel-indicators-custom button:hover { background-color: #cccccc; }
.carousel-indicators-custom button.active {
    background-color: var(--gold-color) !important; height: 24px;
}

/* --- SOCIÁLNE SIETE --- */
.social-icons {
    position: absolute; top: 30px; right: 40px; z-index: 100; display: flex; gap: 12px;
}

.social-icons a {
    color: #ffffff; background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px); width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; text-decoration: none; transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
    background: rgba(255, 255, 255, 0.3); transform: translateY(-2px); color: #ffffff;
}
.social-icons svg { display: block; }

.footer-text { position: absolute; bottom: 30px; font-size: 0.75rem; color: #ccc; }


/* =========================================
   MOBILNÁ VERZIA (Max 992px)
   ========================================= */
@media (max-width: 992px) {

    /* --- 1. ZÁKLADNÉ ROZLOŽENIE --- */
    .hero-section {
        flex-direction: column !important;
        height: auto !important;
        min-height: 100vh !important;
        position: relative !important;
        overflow-x: hidden !important; 
    }

    /* --- 2. HORNÁ BIELA ČASŤ --- */
    .content-side {
        width: 100% !important;
        flex: none !important;
        padding: 40px 40px 80px 40px !important;
        background: white !important;
        position: relative !important;
        z-index: 20 !important;
        overflow: visible !important; 
        
        /* Zarovnanie vľavo */
        align-items: flex-start !important;
        text-align: left !important;
        justify-content: flex-start !important;
    }

    /* --- 3. SPODNÁ ČASŤ A ANIMÁCIA POZADIA --- */
    .image-side {
        width: 100% !important;
        flex: none !important;
        height: 650px !important; 
        margin-top: -50px !important; 
        position: relative !important;
        z-index: 10 !important;
        overflow: hidden !important; 
        
        /* Vypneme statické pozadie rodiča */
        background: none !important;
        background-image: none !important;
    }

    .image-side::before {
        content: "" !important;
        display: block !important;
        position: absolute !important;
        top: 0 !important; left: 0 !important;
        width: 100% !important; height: 100% !important;
        
        /* Cesta k obrázku a zapnutie animácie */
        background: url('../files/bocian_bg.webp') no-repeat center bottom !important;
        background-size: cover !important;
        animation: kenBurns 20s ease-in-out infinite alternate !important;
        z-index: 0 !important; 
    }

    /* --- 4. OBLÚKY --- */
    .curve-divider { display: none !important; }
    
    .curve-mobile {
        display: block !important;
        position: absolute !important;
        bottom: -48px !important;
        left: 0 !important;
        width: 100% !important;
        height: 50px !important;
        z-index: 30 !important;
        pointer-events: none !important;
    }

    /* --- 5. TYPOGRAFIA (Zarovnanie vľavo) --- */
    h1 { 
        font-size: 2.8rem !important; 
        margin-bottom: 1rem !important; 
        line-height: 1.1 !important; 
        text-align: left !important;
    }
    
    .logo-area { width: 100% !important; text-align: left !important; }
    .logo-area img { margin: 0 0 2rem 0 !important; max-width: 140px !important; }
    
    .description { 
        margin: 0 0 2rem 0 !important; 
        text-align: left !important; 
        width: 100% !important;
    }
    
    .btn-gold {
        margin: 0 !important;
        max-width: 350px !important;
        width: 100% !important;
        text-align: center !important;
    }

    /* --- 6. KARTA S CENAMI --- */
    .pricing-card {
        position: absolute !important;
        bottom: 50px !important;
        left: 50% !important;
        top: auto !important; 
        right: auto !important;
        transform: translateX(-50%) !important;
        
        width: 90% !important;
        max-width: 380px !important;
        padding: 20px !important;
        border-radius: 30px !important;
        box-shadow: 0 15px 40px rgba(0,0,0,0.25) !important;
        z-index: 50 !important;
        margin: 0 !important; 
    }
    
    .icon-box {
        width: 80px !important; height: 80px !important; min-width: 80px !important;
        border-radius: 20px !important;
        margin-right: 15px !important;
    }
    .material-symbols-outlined { font-size: 40px !important; }

    /* --- 7. SOCIÁLNE SIETE --- */
    .social-icons {
        position: absolute !important;
        top: 40px !important; 
        bottom: auto !important;
        right: 20px !important;
        
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        z-index: 50 !important;
    }
    
    .social-icons a {
        background: rgba(255, 255, 255, 0.9) !important;
        color: var(--gold-color) !important;
        border: none !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
    }

    /* --- 8. COPYRIGHT --- */
    .footer-text {
        position: absolute !important;
        bottom: 15px !important;
        left: 0 !important;
        width: 100% !important;
        text-align: center !important;
        color: rgba(255, 255, 255, 0.6) !important;
        font-size: 0.75rem !important;
        z-index: 60 !important;
    }
}