﻿.contact-section {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    background: #f8f9fa;
    width: 100%;
}

    .contact-section h2 {
        font-size: 2rem;
        font-weight: bold;
        padding-left: 1rem;
        margin-bottom: 2rem;
        position: relative;
    }

        .contact-section h2::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0.3rem;
            width: 5px;
            height: 80%;
            background-color: #007bff;
            border-radius: 3px;
        }

.contact-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    justify-content: center;
}

.contact-form {
    background: #0056b3;
    color: white;
    padding: 2rem;
    border-radius: 20px;
    flex: 1 1 350px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

    .contact-form input,
    .contact-form textarea {
        padding: 0.8rem;
        border: none;
        border-radius: 6px;
        font-size: 1rem;
        width: 100%;
    }

    .contact-form button {
        padding: 0.8rem;
        background: #2c2c2c;
        color: white;
        border: none;
        border-radius: 999px;
        font-weight: bold;
        cursor: pointer;
    }

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    flex: 1 1 350px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

    .contact-info p {
        margin-bottom: 1rem;
        font-size: 1rem;
        line-height: 1.6;
    }

    .contact-info i {
        color: #007bff;
        margin-right: 0.5rem;
    }


.map-outer {
    max-width: 1300px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: #f8f9fa;
    width: 100%;
    margin-bottom: 3rem;
}

.map-outer {
    margin-top: 2rem; /* mezera nad mapou */
    padding: 0 2rem;
}

.map-container {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.success-alert {
    margin-top: 1rem;
    padding: 1rem 1.5rem;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
    }

    .contact-form,
    .contact-info {
        width: 100%;
        max-width: 500px;
    }

    .contact-section {
        padding: 2rem 1rem;
    }

    .map-outer {
        padding: 2rem 1rem;
    }

    .map-container {
        border-radius: 12px;
    }

    .contact-form button {
        width: 100%;
    }

    .success-alert {
        margin: 1rem auto;
        max-width: 500px;
    }
}

