/*!
Theme Name: Oconee Locksmith
Theme URI: https://www.oconeelocksmith.com
Author: Oconee Locksmith
Author URI: https://www.oconeelocksmith.com
Description: A professional, modern WordPress theme for Oconee Locksmith services with charcoal and orange branding.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oconee-locksmith
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
*/

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* ========================================
   COLOR VARIABLES
   ======================================== */

:root {
    --color-charcoal: #2a2a2a;
    --color-dark-charcoal: #1a1a1a;
    --color-orange: #ff6b35;
    --color-orange-dark: #e55a24;
    --color-silver: #c0c0c0;
    --color-white: #ffffff;
    --color-light-gray: #f0f0f0;
    --color-text: #333333;
    --color-text-light: #666666;
    --transition: all 0.3s ease;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-charcoal);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text);
}

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

a:hover {
    color: var(--color-orange-dark);
    text-decoration: underline;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.site-header {
    background-color: var(--color-charcoal);
    color: var(--color-white);
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header a {
    color: var(--color-white);
}

.site-header a:hover {
    color: var(--color-orange);
}

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

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

.main-navigation a {
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    background-color: var(--color-orange);
    color: var(--color-white);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: linear-gradient(135deg, var(--color-charcoal) 0%, var(--color-dark-charcoal) 100%);
    color: var(--color-white);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(192, 192, 192, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--color-white);
    margin-bottom: 1rem;
    font-size: 3rem;
}

.hero p {
    color: var(--color-silver);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-key-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: inline-block;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--color-orange);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-orange);
    border-color: var(--color-orange);
}

.btn-secondary:hover {
    background-color: var(--color-orange);
    color: var(--color-white);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ========================================
   MAIN CONTENT AREA
   ======================================== */

.site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========================================
   SECTIONS
   ======================================== */

.section {
    padding: 4rem 2rem;
    margin: 2rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    display: inline-block;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--color-orange);
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    text-align: center;
    border-top: 4px solid var(--color-orange);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-orange);
}

.service-card h3 {
    color: var(--color-charcoal);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

/* ========================================
   CALL TO ACTION
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-dark) 100%);
    color: var(--color-white);
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 8px;
    margin: 3rem 0;
}

.cta-section h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.phone-display {
    font-size: 2rem;
    font-weight: 700;
    margin: 1rem 0;
    letter-spacing: 2px;
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
    background-color: var(--color-charcoal);
    color: var(--color-white);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

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

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

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

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: var(--color-silver);
}

.footer-bottom p {
    margin: 0;
    color: var(--color-silver);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .main-navigation {
        flex-direction: column;
        gap: 0.5rem;
        display: none;
        width: 100%;
    }

    .main-navigation.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero {
        padding: 4rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section {
        padding: 2rem 1rem;
    }

    .cta-section {
        padding: 2rem 1rem;
    }

    .phone-display {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }

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

/* ========================================
   FEATURES GRID
   ======================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.feature-item h3 {
    color: var(--color-charcoal);
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* ========================================
   HERO BUTTONS
   ======================================== */

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.bg-light {
    background-color: var(--color-light-gray);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

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

.text-orange {
    color: var(--color-orange);
}

.text-white {
    color: var(--color-white);
}

.bg-charcoal {
    background-color: var(--color-charcoal);
}

.bg-orange {
    background-color: var(--color-orange);
}

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

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

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