/* ================= SPECIFICKÉ STYLY PRO KONTAKTY ================= */

/* Hero sekcija s GIF bannerem */
.hero {
    position: relative !important;
    background-image: url(/res/img/services.gif) !important;
    background-size: cover !important;
    background-position: center !important;
    padding: 280px 20px 280px 20px !important;
    text-align: center !important;
    color: rgb(177, 31, 31) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: hidden !important;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: var(--hero-brightness);
    z-index: 1;
    transition: filter 0.3s ease;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--hero-overlay);
    z-index: 2;
    transition: background 0.3s ease;
}

.hero .p {
    position: relative;
    z-index: 3;
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--subtitle-bg);
    color: var(--subtitle-color);
    padding: 12px 28px;
    border-radius: 30px;
    border: 1px solid var(--subtitle-border);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Hlavní sekce a formulář */
.section {
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 800;
    color: var(--text-color);
}

/* Tlačítka kontaktů (Taplink) */
.contacts-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}

.btntl {
    width: 100%;
}

.btn-rect {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--card-bg);
    color: var(--text-color);
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px var(--card-shadow);
    transition: all 0.2s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.btn-rect:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Formulář */
form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--card-bg);
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 4px 15px var(--card-shadow);
}

input, textarea {
    width: 100%;
    padding: 14px;
    background: var(--bg-color);
    color: var(--text-color);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea {
    resize: vertical;
    min-height: 140px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-align: center;
}

.btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}