@charset "utf-8";

.contact-hero {
    width: 100%;
    min-height: 480px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.55));
}

.contact-hero-overlay {
    position: relative;
    text-align: center;
    color: white;
    z-index: 1;
}

.contact-hero-overlay h1 {
    font-family: "PT Serif", serif;
    font-size: 2.5rem;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}


.social-icons {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 0;
}

.social-icons a {
    color: white;
    text-decoration: none;
    font-family: "PT Serif", serif;
    letter-spacing: 0.03em;
    font-size: 40px;
}

.social-icons a:hover {
    color: #f0d0d0;
}

.contact-form-section {
    max-width: 600px;
    margin: 60px auto;
    padding: 0 24px;
}

.contact-form-section h2 {
    font-family: "PT Serif", serif;
    margin-bottom: 20px;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-family: "PT Serif", serif;
    margin-top: 16px;
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
    font-family: Arial, Helvetica, sans-serif;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #550C18;
}

.contact-form button {
    margin-top: 24px;
    padding: 12px 24px;
    background-color: #550C18;
    color: white;
    border: none;
    border-radius: 4px;
    font-family: "PT Serif", serif;
    cursor: pointer;
    transition: background-color 0.2s ease;
    align-self: center;
}

.contact-form button:hover {
    background-color: #7a1224;
}

@media (max-width: 768px) {

    .contact-hero {
        min-height: 330px;
        background-position: center center;
    }

    .contact-hero-overlay {
        padding: 0 20px;
    }

    .contact-hero-overlay h1 {
        font-size: 1.9rem;
    }

    .contact-form-section {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
        margin: 35px auto;
        padding: 0 20px;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        box-sizing: border-box;
        font-size: 16px;
    }

    .contact-form textarea {
        min-height: 150px;
    }

    .contact-form button {
        width: 100%;
        max-width: 250px;
    }
}