/* Hero */
.contact-hero {
    display: flex;
    flex-direction: column;
    justify-content: center; /* dikey ortala */
    align-items: center;
    min-height: 80px; /* çok yüksek olmasın */
    text-align: center;
    gap: 10px;
    padding: 20px 10px;
}

    .contact-hero h2 {
        font-size: 32px;
        margin: 0;
    }

    .contact-hero p {
        border: 2px solid red;
        padding: 10px 20px;
        border-radius: 25px;
        width: 90%;
        max-width: 500px;
        text-align: center;
        margin: 0;
    }

/* Contact Section */
.contact-section {
    padding: 50px 20px;
    background: #f4f6f9;
}

.contact-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 50px auto 0;
}

/* Form & Info */
.contact-form, .contact-info {
    background: #e8e3e3;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 300px;
}

    /* Form */
    .contact-form .form-group {
        margin-bottom: 20px;
    }

    .contact-form label {
        display: block;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 14px;
        box-sizing: border-box;
    }

    .contact-form button {
        background: #2563eb;
        color: #fff;
        border: none;
        padding: 12px 25px;
        border-radius: 5px;
        font-weight: bold;
        cursor: pointer;
        transition: 0.3s;
    }

        .contact-form button:hover {
            background: #1e40af;
            transform: translateY(-2px);
        }

/* Telefon input */
.telefon-input {
    display: flex;
    align-items: center;
}

    .telefon-input span {
        background: #eee;
        padding: 10px 12px;
        border: 1px solid #ccc;
        border-right: none;
        border-radius: 5px 0 0 5px;
        font-weight: bold;
    }

    .telefon-input input {
        border: 1px solid #ccc;
        padding: 10px;
        border-radius: 0 5px 5px 0;
        flex: 1;
    }

/* Info / Map */
.contact-info h3 {
    margin-top: 0;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info a {
    display: block;
    color: #2563eb;
    text-decoration: none;
    margin-bottom: 5px;
}

    .contact-info a:hover {
        text-decoration: underline;
    }

.contact-info iframe {
    width: 100%;
    height: 250px;
    border: none;
    border-radius: 8px;
    margin-top: 20px;
}

/* Mesaj kutuları */
.contact-form .msg-box {
    padding: 10px;
    border-radius: 15px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #fff;
}

.msg-success {
    background-color: #4CAF50;
    border: 2px solid #4CAF50;
}

.msg-error {
    background-color: #c62828;
    border: 2px solid #c62828;
}

/* Responsive */
@media(max-width: 900px) {
    .contact-flex {
        flex-direction: column;
        gap: 30px;
    }

    .contact-hero p {
        width: 90%;
    }
}
