/*
Theme Name: Aerox Holdings Theme
Theme URI: https://aeroxholdings.com
Description: Custom theme for Aerox Holdings - U.S. Land Investments
Author: Aerox Holdings
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aerox-theme
*/

/* ===== CSS Variables ===== */
:root {
    --color-primary: #1a3a5c;
    --color-secondary: #c41e3a;
    --color-text: #333333;
    --color-text-light: #555555;
    --color-text-muted: #666666;
    --color-border: #dddddd;
    --color-bg-light: #f8f9fa;
    --font-primary: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-card: 0 2px 20px rgba(0,0,0,0.08);
    --border-radius: 4px;
    --border-radius-lg: 8px;
    --border-radius-pill: 25px;
    --transition: 0.3s ease;
    --primary: #0B2D5C;
    --accent: #C2272D;
    --light: #F5F5F7;
    --border: #E1E1E6;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    line-height: 1.6;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Header ===== */
.site-header {
    background: #fff;
    padding: 20px 0 15px;
    text-align: center;
}

.site-header .header-inner .custom-logo {
    max-height: 70px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.site-logo img {
    height: 45px;
    width: auto;
}

.site-logo .logo-text {
    text-align: left;
}

.site-logo .logo-text .company-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 2px;
    line-height: 1.2;
}

.site-logo .logo-text .company-tagline {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--color-primary);
    text-transform: uppercase;
}

/* HERO WRAPPER */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero picture,
.hero img {
    width: 100%;
    display: block;
    height: auto;
}

/* TEXT OVERLAY ON HERO */
.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    padding: 20px;
    width: 90%;
    max-width: 900px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 12px;
}

.hero-text h1 {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
    color: #ffffff;
}

.hero-text p {
    font-size: 1.2rem;
    font-weight: 300;
    color: #ffffff;
}

@media (max-width: 700px) {
    .hero-text {
        top: 58%;
        padding: 16px;
        background: rgba(0, 0, 0, 0.35);
    }

    .hero-text h1 {
        font-size: 1.6rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }
}

/* ===== Main Content Layout ===== */
.main-content-wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 16px 64px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
}

/* ===== About Section ===== */
.section-label {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: #777777;
    margin-bottom: 6px;
}

.section-label::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    border-radius: 999px;
    margin-bottom: 16px;
    margin-top: 6px;
}

.about-section h2, .contact-section h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary);
    font-weight: 700;
}

.about-section p {
    color: var(--color-text-light);
    font-size: 16px;
    line-height: 1.8;
}

/* ===== Contact Form Section ===== */
.contact-section {
    background: var(--light);
    padding: 22px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.contact-section h3 {
    font-size: 22px;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.contact-section > p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

/* ===== Form Styles ===== */
.aerox-contact-form label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 4px;
}

.aerox-contact-form input[type="text"],
.aerox-contact-form input[type="email"],
.aerox-contact-form input[type="tel"],
.aerox-contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #cccccc;
    font-size: 1rem;
    margin-bottom: 14px;
    font-family: inherit;
    line-height: 18px;
}

.aerox-contact-form input:focus,
.aerox-contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.aerox-contact-form textarea {
    height: 100px;
    resize: vertical;
}

.aerox-contact-form .submit-btn {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    font-size: 0.95rem;
    font-family: inherit;
    transition: background 0.15s ease, transform 0.05s ease;
    margin-top: 4px;
}

.aerox-contact-form .submit-btn:hover {
    background: #a01830;
}

.aerox-contact-form .submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Form Messages */
.form-message {
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    font-size: 14px;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* reCAPTCHA badge positioning */
.grecaptcha-badge {
    visibility: hidden;
}

.recaptcha-notice {
    font-size: 11px;
    color: #999;
    margin-top: 15px;
    text-align: center;
}

.recaptcha-notice a {
    color: #666;
    text-decoration: underline;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--color-bg-light);
    padding: 20px;
    text-align: center;
    border-top: 1px solid #eee;
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.footer-info {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 10px;
}

.footer-info strong {
    display: block;
    margin-bottom: 5px;
}

.footer-info a {
    color: var(--color-text-light);
}

.footer-info a:hover {
    color: var(--color-primary);
}

/* ===== Responsive ===== */

@media (max-width: 768px) {
    .site-header .header-inner .custom-logo {
        height: 52px;
        width: auto;
    }

    .hero-section {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .main-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-section {
        padding-right: 0;
    }

    .contact-section {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 350px;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .site-logo .logo-text .company-name {
        font-size: 20px;
    }
}
