/*
Theme Name: Empire Microscope
Theme URI: https://microscope.topofnyc.com
Author: Apple Orange Marketing
Author URI: https://www.appleorangemarketing.com
Description: Custom theme for Empire Microscope Service & Repair LLC - built with Elementor
Version: 2.1.1
License: GNU General Public License v2 or later
Text Domain: empire-microscope
*/

/* Base reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #c9a030; text-decoration: none; }
a:hover { color: #f0c040; }

.site-content { width: 100%; }

/* CF7 form styling */
.wpcf7-form p { margin-bottom: 14px; }
.wpcf7-form label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    border-color: #c9a030;
    outline: none;
    box-shadow: 0 0 0 3px rgba(201,160,48,0.1);
}
.wpcf7-form textarea { resize: vertical; min-height: 120px; }
.wpcf7-submit {
    width: 100%;
    padding: 15px;
    background: #c9a030;
    color: #ffffff;
    border: none;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    letter-spacing: 0.5px;
}
.wpcf7-submit:hover { background: #f0c040; }

/* Contact Form 7 - Custom Styling */
.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px 20px;
}

.contact-form-grid .form-label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

}

.contact-form-grid .form-submit {
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    margin-top: 6px;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #fff;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #c9a030;
    outline: none;
    box-shadow: 0 0 0 3px rgba(201,160,48,0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 130px;
}

.form-submit {
    width: 100%;
    padding: 15px;
    background: #c9a030;
    color: #ffffff;
    border: none;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-submit:hover {
    background: #f0c040;
    transform: translateY(-1px);
}

.form-submit:active {
    transform: translateY(0);
}

/* Wpcf7 response messages */
.wpcf7-response-output {
    border-radius: 5px;
    padding: 12px 20px;
    margin-top: 15px;
    font-size: 0.9rem;
    text-align: center;
}

.wpcf7 .wpcf7-response-output.wpcf7-validation-errors {
    border: 1px solid #e0a0a0;
    background: #fdf0f0;
    color: #a04040;
}

.wpcf7 .wpcf7-response-output.wpcf7-mail-sent-ok {
    border: 1px solid #a0d0a0;
    background: #f0fdf0;
    color: #408040;
}

/* Spinner */
.wpcf7 .wpcf7-spinner {
    visibility: hidden;
    display: inline-block;
}

/* Responsive - stack to 1 column on mobile */
@media (max-width: 600px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
    }
}
