/*
Theme Name: Grid Tech Electrical
Theme URI: https://gridtechelectrical.com
Author: ElevateOM Web Designers
Author URI: https://elevateom.com
Description: Custom WordPress theme for Grid Tech Electrical Services Ltd
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gridtech
*/

/* ==========================================
   BASE STYLES
   ========================================== */

:root {
    --primary-green: #00A651;
    --dark-bg: #1a1a1a;
    --text-dark: #333;
    --text-light: #666;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* ==========================================
   HEADER STYLES
   ========================================== */

header {
    background-color: var(--dark-bg);
    padding: 20px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    padding: 10px 0;
}

.logo {
    max-height: 80px;
    width: auto;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
    font-weight: 600;
    padding: 10px 20px;
    font-size: 14px;
    letter-spacing: 0.5px;
	text-transform: uppercase;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary-green);
}

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

.hero-section {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('assets/hero-bg.jpg') center/cover;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: white;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-bar {
    background-color: var(--primary-green);
    padding: 30px 0;
}

.cta-bar h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    color: white;
}

.btn-phone {
    background-color: white;
    color: var(--dark-bg);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-phone:hover {
    background-color: #f0f0f0;
    color: var(--dark-bg);
}

.phone-icon {
    width: 24px;
    height: 24px;
}

/* ==========================================
   SECTION STYLES
   ========================================== */

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
}

/* .section-divider {
    width: 100px;
    height: 3px;
    background-color: var(--primary-green);
    border: none;
    margin: 20px auto;
} */

.section-divider {
   width: 100%;
    height: 3px;
    background-color: #f8f9f8;
    border: none;
    margin: 20px auto;
}



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

.btn-primary-green {
    background-color: var(--primary-green);
    color: white;
    padding: 12px 40px;
    border-radius: 5px;
    font-weight: 600;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-green:hover {
    background-color: #008f45;
    color: white;
}

.btn-dark {
    background-color: var(--dark-bg);
    color: white;
    padding: 12px 40px;
    border-radius: 5px;
    font-weight: 600;
}

.btn-dark:hover {
    background-color: #333;
    color: white;
}

/* ==========================================
   INTRO SECTION
   ========================================== */

.intro-section {
    background-color: #f8f9fa;
}

.intro-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto;
}

.highlight-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

/* ==========================================
   FEATURE CARDS
   ========================================== */

.feature-card {
    background-color: white;
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-logo,
.feature-icon {
    max-width: 120px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.feature-card h5 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

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

.services-section {
    background-color: #f8f9fa;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-content {
    padding: 30px 20px;
}

.service-content h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.learn-more {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.learn-more:hover {
    color: #008f45;
}

.arrow-icon {
    width: 16px;
    height: 16px;
}

/* ==========================================
   GALLERY SECTION
   ========================================== */

.gallery-item {
    overflow: hidden;
    border-radius: 5px;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

/* ==========================================
   CALLBACK SECTION
   ========================================== */

.callback-section {
    background-color: var(--dark-bg);
}

.callback-box {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    max-width: 900px;
    margin: 0 auto;
}

.callback-box h2 {
    color: var(--text-dark);
    font-size: 32px;
    font-weight: 700;
}

/* ==========================================
   ACCREDITATIONS SECTION
   ========================================== */

.accreditations-section {
    background-color: var(--dark-bg);
}

.accreditation-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accreditation-card img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}

/* ==========================================
   TESTIMONIAL SECTION
   ========================================== */

.testimonial-card {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    max-width: 700px;
}

.quote-icon img {
    width: 50px;
    height: 50px;
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.testimonial-author {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

/* ==========================================
   ABOUT PAGE STYLES
   ========================================== */

.about-intro {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
/*     max-width: 900px; */
    margin: 0 auto;
}

.mission-card {
    background: linear-gradient(135deg, var(--primary-green), #008f45);
    padding: 60px 40px;
    border-radius: 10px;
    text-align: center;
    color: white;
}

.mission-badge h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.mission-text {
    font-size: 20px;
    line-height: 1.6;
    margin: 0;
}

.promise-list {
    list-style: none;
    padding: 0;
}

.promise-list li {
    font-size: 20px;
    padding: 15px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.check-icon {
    width: 30px;
    height: 30px;
}

.about-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 400px;
}

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

.cta-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.team-image-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.team-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.areas-list {
    list-style: none;
    padding: 0;
}

.areas-list li {
    font-size: 18px;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

/* ==========================================
   CONTACT PAGE STYLES
   ========================================== */

.contact-info {
/*     max-width: 600px; */
}

.contact-label {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    width: 24px;
    height: 24px;
}

.contact-value {
    font-size: 18px;
    color: var(--text-light);
}

.contact-value a {
    color: var(--primary-green);
    text-decoration: none;
}

.contact-value a:hover {
    text-decoration: underline;
}

.form-container {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-container h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-control,
.form-select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(0, 166, 81, 0.25);
}

.business-hours-card {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
/*     height: 100%; */
}

.business-hours-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
}

.hours-list {
    font-size: 16px;
}

.emergency-note {
    font-style: italic;
    color: var(--text-light);
    font-size: 14px;
}

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

.footer {
    background-color: var(--dark-bg);
    color: white;
}

.footer h5 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
}

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

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons img {
    width: 32px;
    height: 32px;
    transition: transform 0.3s;
}

.social-icons img:hover {
    transform: scale(1.1);
}

.copyright {
    font-size: 14px;
    color: var(--text-dark);
}

/* ==========================================
   RESPONSIVE STYLES
   ========================================== */

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 32px;
        padding: 40px 15px;
    }
    
    .cta-bar h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .btn-phone {
        width: 100%;
        justify-content: center;
    }
}