/* assets/css/sections/contact.css */

/* --- CONTACT HERO --- */
.contact-hero {
    padding: 80px 0 60px;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
    text-align: center;
}

.contact-hero h1 {
    font-size: 3rem; color: #0F172A; margin-bottom: 16px; letter-spacing: -1px;
}

.contact-badge {
    display: inline-block; background: #FFF7ED; color: #C2410C;
    font-weight: 700; padding: 8px 16px; border-radius: 50px;
    font-size: 0.9rem; margin-bottom: 24px; border: 1px solid #FFEDD5;
}

/* --- CONTACT GRID (Karty) --- */
.contact-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; margin-bottom: 80px;
}

.contact-card {
    background: white; border-radius: 24px; padding: 40px;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05); border: 1px solid #F1F5F9;
    display: flex; flex-direction: column; align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease; height: 100%;
}
.contact-card:hover {
    transform: translateY(-5px); box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
    border-color: rgba(0, 86, 210, 0.1);
}

.c-icon {
    width: 56px; height: 56px; background: #EFF6FF; color: var(--color-primary);
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 24px;
}
.c-title { font-size: 1.4rem; color: #0F172A; margin-bottom: 16px; font-weight: 700; }
.c-info-block { font-size: 1.05rem; color: #4B5563; line-height: 1.6; }
.c-info-block strong { color: #1E293B; }
.c-info-block a { text-decoration: none; color: var(--color-action); font-weight: 600; }
.c-info-block a:hover { text-decoration: underline; }

.contact-card.bank-card { background: #F8FAFC; border-color: #E2E8F0; }
.bank-number {
    font-family: 'Courier New', monospace; font-size: 1.4rem; color: #0F172A; font-weight: 700;
    background: white; padding: 10px 16px; border-radius: 8px; border: 1px dashed #CBD5E1;
    margin-top: 8px; display: inline-block;
}

/* --- FORMULÁŘOVÁ SEKCE --- */
.contact-form-wrapper {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px -20px rgba(0,0,0,0.1);
    border: 1px solid #E2E8F0;
    max-width: 800px;
    margin: 0 auto 80px;
}

.form-header { text-align: center; margin-bottom: 30px; }
.form-header h2 { font-size: 2rem; margin-bottom: 10px; color: #0F172A; }
.form-header p { color: #64748B; }

.form-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}

.form-group { display: flex; flex-direction: column; margin-bottom: 20px; }
.form-group label {
    font-size: 0.9rem; font-weight: 600; color: #334155; margin-bottom: 8px;
}
.form-control {
    padding: 12px 16px; border-radius: 12px; border: 1px solid #CBD5E1;
    font-size: 1rem; transition: all 0.2s; background: #F8FAFC; width: 100%;
    font-family: inherit;
}
.form-control:focus {
    outline: none; border-color: var(--color-primary); background: white;
    box-shadow: 0 0 0 3px rgba(0, 86, 210, 0.1);
}
textarea.form-control { resize: vertical; min-height: 120px; }
.full-width { grid-column: 1 / -1; }

/* --- SLIDE TO UNLOCK (AUTÍČKO) --- */
.slider-captcha-container {
    margin-top: 20px;
    margin-bottom: 30px;
    position: relative;
    user-select: none; /* Zamezí označování textu při tažení */
}

.slider-track {
    width: 100%;
    height: 54px;
    background: #E2E8F0;
    border-radius: 50px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
    transition: background 0.3s;
}

.slider-text {
    color: #94A3B8;
    font-weight: 600;
    font-size: 0.95rem;
    pointer-events: none; /* Aby text neblokoval tažení */
    transition: opacity 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slider-handle {
    position: absolute;
    left: 4px;
    top: 4px;
    width: 46px;
    height: 46px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    z-index: 2;
    transition: transform 0.1s linear; /* Plynulý pohyb */
    color: var(--color-action);
    font-size: 1.2rem;
}

.slider-handle:active {
    cursor: grabbing;
    transform: scale(1.05);
}

/* Stav: Odemčeno */
.slider-track.unlocked {
    background: #10B981; /* Zelená */
}
.slider-track.unlocked .slider-text {
    color: white;
    content: 'OVĚŘENO'; /* Text se změní přes JS */
}
.slider-handle.unlocked {
    color: #10B981;
}

/* Odesílací tlačítko */
.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    background: var(--color-primary);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0.5; /* Neaktivní vzhled */
    pointer-events: none; /* Nejde kliknout */
    display: flex; align-items: center; justify-content: center; gap: 10px;
}

.btn-submit.active {
    opacity: 1;
    pointer-events: auto;
}
.btn-submit.active:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}


/* --- LOCATIONS SECTION --- */
.locations-section {
    padding: 80px 0; background: #FFFFFF; border-top: 1px solid #F1F5F9;
}
.loc-header { text-align: center; margin-bottom: 60px; }
.loc-header h2 { font-size: 2.5rem; color: #0F172A; margin-bottom: 16px; }
.loc-header p { color: #64748B; font-size: 1.1rem; }
.loc-grid-layout { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px; }
.loc-district h3 { font-size: 1.1rem; color: var(--color-primary); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid #F1F5F9; display: flex; align-items: center; gap: 8px; }
.loc-list { list-style: none; padding: 0; margin: 0; }
.loc-list li { margin-bottom: 8px; font-size: 0.95rem; color: #475569; padding-left: 20px; position: relative; }
.loc-list li::before { content: '•'; color: #CBD5E1; position: absolute; left: 0; font-weight: bold; }
.loc-list li strong { color: #1E293B; font-weight: 600; }

@media (max-width: 768px) {
    .contact-hero h1 { font-size: 2.2rem; }
    .loc-grid-layout { grid-template-columns: 1fr; }
    .bank-number { font-size: 1.1rem; }
    .form-grid { grid-template-columns: 1fr; }
}