/* --- CSS PRE KONTAKTNÝ FORMULÁR --- */

.form-section {
    padding: 10rem 0 6rem 0;
    background-color: var(--bg-dark);
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.form-header p {
    color: var(--text-color);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.required {
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    width: 100%;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background-color: var(--bg-dark);
    color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

/* Chybové stavy */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ef4444;
}

.error-message {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.3rem;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

/* Checkbox špecifiká */
.checkbox-group {
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-color);
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

.form-submit-wrapper {
    margin-top: 1rem;
    text-align: center;
}

.btn-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem;
}

/* Úspešná správa */
.form-success-message {
    text-align: center;
    padding: 2rem 1rem;
}

.form-success-message i {
    font-size: 4rem;
    color: #22c55e;
    margin-bottom: 1rem;
}

.form-success-message h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.form-success-message p {
    color: var(--text-color);
    font-size: 1.05rem;
}

/* --- CSS PRE KONTAKTNÝ TÍM --- */

.contact-team-section {
    padding: 4rem 0 2rem 0;
    background-color: var(--bg-dark);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.team-card {
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.team-img-wrapper {
    width: 130px;
    height: 130px;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.team-role {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
}

.team-contacts {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.team-contacts li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--text-color);
}

.team-contacts li i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.team-contacts li a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.team-contacts li a:hover {
    color: var(--primary-color);
}


/* Responzivita */
@media screen and (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
    .form-wrapper {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    .form-section {
        padding: 8rem 0 4rem 0;
    }
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        padding: 0 1rem;
    }
}