/* ============================================
   BURKE ELECTRIC OF CINCINNATI — STYLESHEET
   Bold Editorial | Teal + Slate Grey
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --teal-900: #0a5c5f;
    --teal-700: #0d7377;
    --teal-600: #10858a;
    --teal-500: #14a0a5;
    --teal-100: #e0f2f2;
    --teal-50:  #f0f9f9;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50:  #f8fafc;
    --white:     #ffffff;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm:  0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-md:  0 4px 12px rgba(15, 23, 42, 0.1);
    --shadow-lg:  0 12px 40px rgba(15, 23, 42, 0.15);
    --shadow-xl:  0 20px 60px rgba(15, 23, 42, 0.2);
    --radius-sm:  6px;
    --radius-md:  10px;
    --radius-lg:  16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--slate-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.15;
    color: var(--slate-900);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-700);
    margin-bottom: 12px;
}

.section-headline {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: 20px;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--slate-600);
    max-width: 560px;
    line-height: 1.7;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--teal-700);
    color: var(--white);
    border-color: var(--teal-700);
}

.btn-primary:hover {
    background: var(--teal-600);
    border-color: var(--teal-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--teal-700);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--slate-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ---------- NAVBAR ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

.navbar.scrolled .nav-logo {
    color: var(--slate-900);
}

.navbar.scrolled .nav-menu a {
    color: var(--slate-700);
}

.navbar.scrolled .nav-menu a:hover {
    color: var(--teal-700);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
}

.nav-logo-icon {
    color: var(--white);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal-500);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--white);
}

.nav-cta {
    background: var(--teal-700);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: var(--transition);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--teal-600);
    transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--slate-800);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 30, 35, 0.82) 0%,
        rgba(13, 115, 119, 0.65) 50%,
        rgba(15, 23, 42, 0.78) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 24px 100px;
    width: 100%;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-500);
    margin-bottom: 20px;
}

.hero-headline {
    font-size: clamp(2.75rem, 6vw, 5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 24px;
    max-width: 800px;
}

.hero-headline em {
    font-style: italic;
    color: var(--teal-400);
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ---------- TRUST BAR ---------- */
.trust-bar {
    background: var(--slate-900);
    padding: 0;
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 28px 32px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--white);
    transition: var(--transition);
}

.trust-item:last-child {
    border-right: none;
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.trust-item svg {
    color: var(--teal-500);
    flex-shrink: 0;
}

.trust-item span {
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ---------- SERVICES ---------- */
.services {
    padding: 120px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-sub {
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    padding: 40px 32px;
    background: var(--slate-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--teal-700);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-100);
    border-radius: var(--radius-md);
    color: var(--teal-700);
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--teal-700);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-family: var(--font-serif);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--slate-600);
    line-height: 1.7;
}

/* ---------- ABOUT ---------- */
.about {
    padding: 120px 0;
    background: var(--slate-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.about-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.about-content {
    padding: 20px 0;
}

.about-text {
    font-size: 1.05rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin: 40px 0;
    padding: 32px 0;
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--teal-700);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ---------- AREAS ---------- */
.areas {
    padding: 120px 0;
    background: var(--white);
}

.areas-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.areas-content .section-sub {
    margin-bottom: 32px;
}

.areas-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 32px;
}

.areas-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--slate-700);
}

.areas-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--teal-700);
    border-radius: 50%;
    flex-shrink: 0;
}

.areas-map {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.areas-map img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.map-overlay-card {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
}

.map-overlay-card svg {
    color: var(--teal-700);
    flex-shrink: 0;
}

.map-overlay-card span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate-800);
    line-height: 1.5;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
    padding: 120px 0;
    background: var(--teal-900);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(20, 160, 165, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-eyebrow {
    color: var(--teal-400);
    margin-bottom: 16px;
}

.cta-headline {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--white);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* ---------- CONTACT ---------- */
.contact {
    padding: 120px 0;
    background: var(--slate-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--slate-600);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-detail {
    display: flex;
    gap: 16px;
}

.contact-detail svg {
    color: var(--teal-700);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--slate-500);
    margin-bottom: 4px;
}

.contact-value {
    display: block;
    font-size: 1rem;
    color: var(--slate-800);
    line-height: 1.6;
}

.contact-value a {
    color: var(--teal-700);
    transition: var(--transition);
}

.contact-value a:hover {
    color: var(--teal-600);
    text-decoration: underline;
}

/* Form */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--slate-200);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--slate-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--slate-800);
    background: var(--slate-50);
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal-700);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(13, 115, 119, 0.1);
}

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

.form-privacy {
    font-size: 0.8rem;
    color: var(--slate-400);
    text-align: center;
    margin-top: 16px;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
    gap: 16px;
}

.form-success svg {
    color: var(--teal-700);
}

.form-success h4 {
    font-size: 1.5rem;
}

.form-success p {
    color: var(--slate-600);
    line-height: 1.7;
    margin-bottom: 8px;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--slate-900);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--slate-400);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--slate-400);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--slate-300);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--teal-400);
}

.footer-contact p {
    font-size: 0.9rem;
    color: var(--slate-400);
    line-height: 1.8;
    margin-bottom: 4px;
}

.footer-contact a {
    color: var(--teal-400);
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--teal-300);
    text-decoration: underline;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--slate-500);
}

/* ---------- ANIMATIONS ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid,
    .areas-layout,
    .contact-grid {
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--slate-900);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transition: var(--transition);
        box-shadow: var(--shadow-xl);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-menu a {
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 1.1rem;
    }
    
    .nav-menu a:hover {
        color: var(--white) !important;
    }
    
    .nav-cta {
        margin-top: 8px;
    }
    
    /* Mobile menu overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }
    
    .nav-overlay.active {
        display: block;
    }
    
    .trust-items {
        grid-template-columns: 1fr 1fr;
    }
    
    .trust-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 20px 24px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid,
    .areas-layout,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image img {
        height: 400px;
    }
    
    .areas-list {
        grid-template-columns: 1fr;
    }
    
    .hero-headline {
        font-size: clamp(2.25rem, 8vw, 3.5rem);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrap {
        padding: 32px 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .about-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .trust-items {
        grid-template-columns: 1fr;
    }
    
    .trust-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .trust-item:last-child {
        border-bottom: none;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .services,
    .about,
    .areas,
    .contact {
        padding: 80px 0;
    }
    
    .hero-content {
        padding: 120px 16px 80px;
    }
}
