/**
 * Contact Page Styles
 */

body.page-template-contact-page,
body.page-slug-contact {
    color: #d4af37;
}

/* Footer styles for contact page */

.contact-page {
    padding: 60px 0;
    color: #d4af37;
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.contact-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    margin-bottom: 20px;
    color: #333;
}

.contact-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form-container,
.contact-info {
    border: 1px solid #d4af37;
    border-radius: 8px;
    padding: 30px;
}

.contact-form-container h2,
.contact-info h2,
.contact-map h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    margin-bottom: 25px;
    color: #d4af37;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    line-height: 1.5;
    font-weight: 400;
    margin-bottom: 8px;
    display: block;
    color: #d4af37;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #d4af37;
    border-radius: 6px;
    background-color: transparent;
    line-height: 1.5;
    font-size: 14px;
    color: #d4af37;
    font-family: inherit;
    min-height: 50px;
    box-sizing: border-box;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(212, 175, 55, 0.6);
    font-style: italic;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #d4af37;
    outline: none;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}

/* Contact Info Styles */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-info-item .icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d4af37;
    color: #d4af37;
}

.contact-info-item .content h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    margin-bottom: 5px;
    color: #d4af37;
}

.contact-info-item .content p {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.5;
    color: #d4af37;
}

/* Social media section styles */
.social-links {
    margin-top: 10px;
}

.social-links h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    margin-bottom: 15px;
    color: #d4af37;
}

.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d4af37;
    color: #d4af37;
    transition: all 0.3s;
}

.social-icon:hover {
    border-color: #d4af37;
    background-color: rgba(212, 175, 55, 0.1);
}

/* Follow Us section specific styling */
.follow-us-section {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.follow-us-section h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    margin-bottom: 20px;
    color: #d4af37;
}

.follow-us-section .social-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.follow-us-section .social-icon {
    background-color: #222;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    transition: all 0.3s;
}

.follow-us-section .social-icon svg {
    width: 20px;
    height: 20px;
}

/* Map Styles */
.contact-map {
    margin-top: 20px;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-page {
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    .contact-title {
        font-size: 32px;
    }
    
    .contact-form-container h2,
    .contact-info h2,
    .contact-map h2 {
        font-size: 24px;
    }
    
    .contact-info-item {
        gap: 15px;
    }
}

/* Contact Form 7 Style Overrides */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #d4af37;
    border-radius: 6px;
    background-color: transparent;
    line-height: 1.5;
    font-size: 14px;
    color: #d4af37;
    font-family: inherit;
    min-height: 50px;
    box-sizing: border-box;
    margin-bottom: 15px;
}

.wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: rgba(212, 175, 55, 0.6);
    font-style: italic;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    border-color: #d4af37;
    outline: none;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}

.wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 20px;
    background-color: #d4af37;
    color: #000 !important;
    border: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    min-height: 55px;
    cursor: pointer;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #c4a436;
    transform: translateY(-1px);
}

/* Error message styles */
.contact-form-error,
.wpcf7-not-valid-tip,
.wpcf7-response-output {
    color: #d4af37 !important;
    border: 1px solid #d4af37 !important;
    background: none !important;
    font-size: 13px;
    margin-top: 5px;
}

.wpcf7-response-output {
    margin: 20px 0 0 !important;
    padding: 15px 20px !important;
    border-radius: 6px !important;
    border: 1px solid #d4af37 !important;
}

/* Submit button styling */
.submit-button {
    width: 100%;
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 20px;
    background-color: #d4af37;
    color: #000 !important;
    border: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    min-height: 55px;
    cursor: pointer;
}

.submit-button:hover {
    background-color: #c4a436;
    transform: translateY(-1px);
}

/* Contact Form 7 error message */
div.wpcf7 .screen-reader-response {
    position: relative !important;
    height: auto !important;
    width: auto !important;
    clip: auto !important;
    clip-path: none !important;
    overflow: visible !important;
    background-color: rgba(255, 87, 87, 0.1);
    border: 1px solid rgba(255, 87, 87, 0.3);
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
    color: #ff5757;
    font-family: var(--font-body);
    font-size: 14px;
}

div.wpcf7 .screen-reader-response ul {
    display: none;
}

/* Comprehensive gold text overrides */
body.page-template-contact-page,
body.page-template-contact-page p,
body.page-template-contact-page span,
body.page-template-contact-page div,
body.page-template-contact-page li,
body.page-template-contact-page td,
body.page-template-contact-page th,
body.page-template-contact-page label,
body.page-template-contact-page input,
body.page-template-contact-page select,
body.page-template-contact-page textarea,
body.page-template-contact-page a,
body.page-slug-contact,
body.page-slug-contact p,
body.page-slug-contact span,
body.page-slug-contact div,
body.page-slug-contact li,
body.page-slug-contact td,
body.page-slug-contact th,
body.page-slug-contact label,
body.page-slug-contact input,
body.page-slug-contact select,
body.page-slug-contact textarea,
body.page-slug-contact a {
    color: #d4af37 !important;
}

/* Icon colors */
.contact-info-item .icon i,
.follow-us-section .social-icon i,
body.page-template-contact-page svg,
body.page-template-contact-page i,
body.page-slug-contact svg,
body.page-slug-contact i {
    stroke: #d4af37 !important;
    fill: none !important;
}

/* Contact form 7 specific styles */
.wpcf7-form label,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    color: #d4af37 !important;
}

/* Hide screen reader response div properly */
.screen-reader-response {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Remove the red error box at top */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
    display: none !important;
}

/* Form elements with gold borders */
body.page-template-contact-page input[type="text"],
body.page-template-contact-page input[type="email"],
body.page-template-contact-page input[type="tel"],
body.page-template-contact-page textarea,
body.page-template-contact-page select,
body.page-slug-contact input[type="text"],
body.page-slug-contact input[type="email"],
body.page-slug-contact input[type="tel"],
body.page-slug-contact textarea,
body.page-slug-contact select {
    color: #d4af37 !important;
    border-color: #d4af37 !important;
    background-color: transparent !important;
    margin-top:10px;
}

body.page-template-contact-page input:focus,
body.page-template-contact-page textarea:focus,
body.page-template-contact-page select:focus,
body.page-slug-contact input:focus,
body.page-slug-contact textarea:focus,
body.page-slug-contact select:focus {
    border-color: #d4af37 !important;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.5) !important;
    outline: none !important;
} 