/* Custom styles for kontakt.php - improved design */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
    /* Lighter background for the entire page */
}

.section-header-contact {
    text-align: center;
    margin-bottom: 40px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #0056b3;
    /* Blue text as requested */
    margin-top: -30px;
    margin-bottom: 40px;
    font-weight: 500;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.container.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    /* Slightly reduced gap for a tighter layout */
    padding: 100px 20px;
    align-items: stretch;
    /* Stretch items to match height */
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-section,
.contact-info-section {
    background-color: #ffffff;
    /* White background for sections */
    padding: 35px;
    border-radius: 10px;
    /* Slightly more rounded corners */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    /* More prominent shadow */
    transition: transform 0.3s ease;
}

.contact-form-section:hover,
.contact-info-section:hover {
    transform: translateY(-5px);
    /* Subtle lift effect on hover */
}

.contact-form-section {
    flex: 2;
    min-width: 320px;
    max-width: 650px;
}

.contact-info-section {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Space out content nicely */
}

.section-title {
    text-align: center;
    font-size: 2.8em;
    /* Slightly larger title */
    margin-bottom: 50px;
    color: #004d99;
    font-weight: 600;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    /* Bolder labels */
    color: #555;
    font-size: 0.95em;
}

.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 14px;
    /* Larger padding for input fields */
    border: 1px solid #e0e0e0;
    /* Lighter border color */
    border-radius: 6px;
    font-size: 1.0em;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
    border-color: #007bff;
    /* Highlight on focus */
    outline: none;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
    /* Minimum height for textarea */
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 12px;
    flex-wrap: wrap;
    /* Allow wrapping on smaller screens */
}

.radio-group input[type="radio"] {
    margin-right: 8px;
    transform: scale(1.1);
    /* Slightly larger radio buttons */
}

.radio-group label {
    font-weight: normal;
    color: #555;
    margin-bottom: 0;
    /* Override default label margin */
    font-size: 0.9em;
}

.submit-button {
    background-color: #007bff;
    /* Primary blue color */
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.15em;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
    /* Shadow for button */
}

.submit-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.contact-info-section h3 {
    color: #004d99;
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.8em;
    font-weight: 600;
}

.contact-info-section p {
    margin-bottom: 15px;
    font-size: 1.0em;
    color: #555;
    display: flex;
    align-items: center;
}

.contact-info-section p i {
    margin-right: 12px;
    color: #007bff;
    /* Use primary blue for icons */
    font-size: 1.3em;
}

/* Map specific styles */
.map-container {
    width: 100%;
    height: 250px;
    /* Fixed height for the map */
    border-radius: 8px;
    overflow: hidden;
    margin-top: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Remove social links from this section as they are in the footer */
.contact-info-section .social-links {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-form-section,
    .contact-info-section {
        max-width: 100%;
        width: 100%;
        padding: 25px;
    }

    .section-title {
        font-size: 2.2em;
        margin-bottom: 30px;
    }

    .contact-info-section h3 {
        font-size: 1.5em;
    }
}