/*
Theme Name: Greatlands Electrical Services
Theme URI: https://greatlandselectrical.com
Description: Professional one-page website theme for Greatlands Electrical Services
Version: 1.0.0
Author: Greatlands Electrical Services
Author URI: https://greatlandselectrical.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: greatlands-electrical
Domain Path: /languages
*/

:root {
    --primary: #0066ff;
    --primary-foreground: #ffffff;
    --background: #1a1a1a;
    --foreground: #f8f8f8;
    --card: #2a2a2a;
    --secondary: #3a3a3a;
    --muted: #a0a0a0;
    --border: #3a3a3a;
    --radius: 0.65rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0052cc;
}

button, .button {
    font-family: inherit;
    border: none;
    cursor: pointer;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-branding {
    flex: 1;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.site-title a {
    color: var(--primary);
}

.site-description {
    font-size: 0.75rem;
    color: var(--muted);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.main-navigation {
    flex: 1;
    text-align: center;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.main-navigation a {
    color: var(--foreground);
    font-weight: 500;
}

.header-cta {
    flex-shrink: 0;
}

.call-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    transition: all 0.3s ease;
}

.call-button:hover {
    background-color: #0052cc;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.5);
}

/* Main Content */
.site-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.entry-content {
    font-size: 1rem;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
    background-color: #0a0a0a;
    border-top: 1px solid var(--border);
    padding: 3rem 1rem;
    margin-top: 3rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.footer-section p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-section a {
    color: var(--foreground);
}

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

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .site-branding {
        flex-basis: 100%;
    }

    .main-navigation {
        flex-basis: 100%;
        order: 3;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    .header-cta {
        flex-basis: auto;
    }

    .site-title {
        font-size: 1.25rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
