/* Contact Section Styles */
.contact-section {
    position: relative;
    width: 100%;
    min-height: 813px;
    overflow: hidden;
    background-image: url(../../img/contact-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact-container {
    position: relative;
    width: 100%;
    max-width: 1926px;
    margin: 0 auto;
    min-height: 813px;
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../img/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 1;
    transition: transform 0.8s ease;
}

.contact-section:hover .contact-background {
    transform: scale(1.02);
}

.contact-content {
    position: relative;
    z-index: 2;
    padding: 70px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 813px;
}

.contact-title {
    font-size: 41px;
    font-weight: 600;
    color: #004923;
    text-align: center;
    text-transform: uppercase;
}

.contact-description {
    /* Besoin d'informations, envie de visiter ou de vous inscrire ? */
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 28px;
    /* or 117% */
    /* leading-trim and text-edge are draft CSS properties.

Read more: https://drafts.csswg.org/css-inline-3/#leading-trim
*/
    leading-trim: both;
    text-edge: cap;
    text-align: center;
    color: #000000;
    margin-bottom: 40px;
    margin-top: 15px;
}

.contact-form {
    width: 100%;
    max-width: 853px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.form-group {
    flex: 1;
    position: relative;
}

.form-group.full-width {
    flex: 1 1 100%;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    height: 75px;
    padding: 20px 30px;
    border: 2px solid transparent;
    border-radius: 5px;
    background-color: #ffffff;
    font-size: 14px;
    color: #000000;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-sizing: border-box;
    resize: none !important;
    font-size: 20px;
    text-transform: uppercase;
    font-family: 'Outfit';
    position: relative;
}

.contact-form input:hover,
.contact-form textarea:hover {
    border-color: rgba(192, 151, 54, 0.3);
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.12), 0 0 0 3px rgba(192, 151, 54, 0.1);
    transform: translateY(-1px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
    font-size: 20px;
    text-transform: uppercase;
    font-family: 'Outfit';
}

.contact-form textarea {
    height: 240px;
    resize: vertical;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #C09736;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.15), 0 0 0 3px rgba(192, 151, 54, 0.2);
    transform: translateY(-3px);
    background-color: #fafafa;
}

.form-submit {
    display: flex;
    justify-content: center;
    margin-top: 5px;
}

.submit-btn {
    background-color: #C09736;
    color: #ffffff;
    border-radius: 300px;
    padding: 20px 40px;
    font-size: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-width: 340px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit';
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.submit-btn:hover {
    background-color: white;
    color: #C09736;
    border: 2px solid;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:active {
    transform: translateY(-1px);
    transition: transform 0.1s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-content {
        padding: 30px 10px;
    }

    .contact-title {
        font-size: 26px;
        margin-bottom: 5px;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .contact-form input,
    .contact-form textarea {
        height: 60px;
        padding: 15px 20px;
        font-size: 15px !important;
    }

    .contact-form textarea {
        height: 180px;
        width: 100%;
    }

    .submit-btn {
        min-width: 150px;
        height: 15px;
        font-size: 15px;
    }

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(192, 151, 54, 0.3);
    }


    .contact-form input:hover,
    .contact-form textarea:hover {
        transform: translateY(-0.5px);
    }

    .contact-description {
        font-size: 19px;
        margin-top: 5px;
        padding: 0 50px;
        margin-bottom: 29px;
    }

    .contact-form {
        width: 95%;
        margin: 0 auto;
    }
}

@media (max-width: 360px) {
    .contact-description {
        padding: 0 40px !important;
    }
}