/*
Theme Name: Lukefa Electrical
Theme URI: https://lukefaelectrical.co.za
Author: Expert Developer
Description: A professional, clean, and minimalist one-page theme for electrical service businesses.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: lukefa
*/

:root {
    --primary: #004a99;
    --secondary: #222222;
    --accent: #ffcc00;
    --light: #f8f9fa;
    --white: #ffffff;
    --text: #333333;
    --border: #e1e1e1;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary);
    padding-bottom: 10px;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Header & Nav */
header {
    background: var(--white);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -1px;
}

.logo span {
    color: var(--secondary);
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    color: var(--secondary);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
}

nav ul li a:hover {
    color: var(--primary);
}

/* Sections */
section {
    padding: 100px 5%;
}

/* Hero */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1621905251189-08b45d6a269e?q=80&w=2069&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.callout-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--secondary);
    padding: 10px 20px;
    font-weight: 800;
    border-radius: 4px;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Services */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px;
    background: var(--white);
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
 border-bottom-color: var(--primary);
}

/* HOVER EFFECT ONLY */
.service-card:hover {
    background: #99badd;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    border-bottom-color: var(--primary);
    transform: translateY(-8px);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
    color: var(--primary);
}

/* About */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Contact Form */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

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

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 1rem;
}

textarea.form-control {
    height: 150px;
}

.submit-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 9999;
}

.whatsapp-float:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background: var(--secondary);
    color: var(--white);
    padding: 50px 5%;
    text-align: center;
}

footer p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }
   
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .about-container {
        grid-template-columns: 1fr;
    }

  /* 3-line menu icon */

    /* hamburger icon */
    .menu-icon {
        font-size: 2rem;
        cursor: pointer;
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
        color: var(--secondary);
        z-index: 1001;
    }

    nav ul {
        display: none;
        flex-direction: column;
        background: var(--white);
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }

    /* show menu when checkbox is checked */
    #menu-toggle:checked ~ nav ul {
        display: flex;
    }

    nav ul li {
        margin-bottom: 15px;
    }
    .section {
        padding-bottom: 20px;
    }
   .section-intro {
        padding-top: 20px;
    }
}

.section {
    padding-bottom: 30px;
}

   .section-intro {
        padding-top: 20px;
    }

