/* Contact Page Styles (English) */

.contact-section {
    padding: 100px 0;
    background: #E0D5CF;
}

.contact-wrapper {
    max-width: 1337px;
    margin: 0 auto;
    padding: 0 54px;
    display: flex;
    gap: 80px;
    align-items: flex-start;
    text-align: left;
    direction: ltr;
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 33px;
}

.contact-heading-area {
    flex-shrink: 0;
    width: 353px;
    text-align: right;
}

.contact-heading {
    font-family: 'FbMatador', sans-serif;
    font-size: 38px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-dark);
    text-align: left;
    direction: ltr;
}

.contact-heading .highlight-text {
    color: var(--accent-color);
    font-weight: 600;
    display: block;
    margin-top: 10px;
}

.contact-image {
    text-align: center;
    margin-top: 74px;
    width: 560px;
    margin-right: -180px;
}

.contact-image img {
    max-width: 80%;
    height: auto;
    margin-left: -90px;
    margin-top: -20px;
}

.form-row {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    align-self: flex-end;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row .form-group {
    width: 372px;
    flex-shrink: 0;
}

.contact-form > .form-group:not(.full-width) {
    width: 774px;
    align-self: flex-end;
}

.form-group label {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    text-align: left;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    padding: 12px;
    background: #E8E3DD;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    color: var(--text-dark);
    height: 48px;
    direction: ltr;
    text-align: left;
}

.form-group textarea {
    min-height: 180px;
    height: auto;
    resize: vertical;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23003346' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
    padding-left: 35px;
    cursor: pointer;
}

.form-group.full-width {
    width: 774px;
    align-self: flex-end;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}

.form-checkbox {
    display: flex;
    flex-direction: row-reverse;
    gap: 10px;
    align-items: flex-start;
    margin-right: auto;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.form-checkbox label {
    font-size: 14px;
    color: var(--text-dark);
    text-align: left;
}

.form-checkbox label a {
    color: var(--text-dark);
    text-decoration: underline;
}

.btn-submit {
    padding: 12px 32px;
    background: transparent;
    border: 1.5px solid var(--text-dark);
    border-radius: 6px;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 115px;
    height: 49px;
    margin-left: 22px;
    margin-right: auto;
}

.btn-submit:hover {
    background: var(--text-dark);
    color: #D77960;
}

/* Contact Form 7 Fixes */
.wpcf7 .form-row,
.wpcf7 .form-group,
.wpcf7 .form-checkbox {
    display: flex;
}

.wpcf7 .form-group {
    flex-direction: column;
}

.wpcf7-form-control-wrap {
    display: block;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
}

.wpcf7 .btn-submit,
.wpcf7 input.btn-submit {
    padding: 12px 32px;
    background: transparent;
    border: 1.5px solid var(--text-dark);
    border-radius: 6px;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 115px;
    height: 49px;
    margin-left: 22px;
    margin-right: auto;
}

/* ===========================
   RESPONSIVE BREAKPOINTS
   =========================== */

/* Tablet and below */
@media (max-width: 1400px) {
    .contact-wrapper {
        flex-direction: column;
        gap: 40px;
        padding: 0 30px;
    }
    
    .contact-heading-area,
    .contact-form {
        width: 100%;
    }
    
    .contact-image {
        width: 100%;
        margin-right: 0;
        margin-top: 40px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .form-row .form-group {
        width: 100% !important;
        max-width: 100%;
    }
    
    .contact-form > .form-group:not(.full-width) {
        width: 100% !important;
        max-width: 100%;
    }
    
    .form-group.full-width {
        width: 100% !important;
        max-width: 100%;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        max-width: 100%;
    }
    
    .form-checkbox {
        width: 100%;
        margin-left: 0;
    }
    
    .btn-submit {
        margin-left: 0;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-wrapper {
        padding: 0 20px;
    }
    
    .contact-heading {
        font-size: 28px;
    }
    
    .form-group label {
        font-size: 14px;
    }
    
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group select,
    .form-group textarea {
        font-size: 14px;
    }
    
    .btn-submit {
        width: 100%;
        max-width: 200px;
    }
}
