/*
Theme Name: Gekko Solar
Theme URI: https://gekko-solar.nl
Author: Gekko Solar
Author URI: https://gekko-solar.nl
Description: A modern, one-page WordPress theme for Gekko Solar. Based on the Hyperspace design by HTML5 UP, ported to WordPress with full Customizer support, an AJAX-powered contact form, and solar-business content sections (panels, batteries, EV chargers, monitoring).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gekko-solar
Tags: one-page, custom-colors, custom-logo, custom-menu, featured-images, theme-options, threaded-comments
*/

/*
 * The visual styling lives in assets/css/hyperspace.css (ported from Hyperspace by HTML5 UP).
 * That stylesheet is enqueued by functions.php so it loads before this file.
 *
 * Use this file for theme-specific overrides on top of the Hyperspace base.
 */

/* --- Gekko Solar overrides --------------------------------------------- */

#header .logo,
.site-branding a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

/* Form feedback messages */
.gs-form-message {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 4px;
    font-size: 0.95rem;
    line-height: 1.5;
    display: none;
}
.gs-form-message.is-visible { display: block; }
.gs-form-message.is-success {
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(46, 204, 113, 0.6);
    color: #ffffff;
}
.gs-form-message.is-error {
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.6);
    color: #ffffff;
}

/* Honeypot field — hidden from real users, visible to bots */
.gs-hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Required-field indicator */
.field label .required-mark {
    color: #ff7676;
    margin-left: 0.15em;
}

/* Disabled submit while AJAX in flight */
.button.submit.is-loading {
    opacity: 0.6;
    pointer-events: none;
    cursor: wait;
}

/* Posts/pages typography refinements */
.entry-content h2 { margin-top: 2rem; }
.entry-meta {
    font-size: 0.85rem;
    opacity: 0.75;
    margin-bottom: 1.5rem;
}

/* Screen reader text (WP accessibility requirement) */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}
.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}
