/*
Theme Name: Jackson Electrical & Air
Theme URI: https://jacksonelectricalair.com.au
Author: Now Technology Systems
Author URI: https://sitedesignnow.com
Description: Custom WordPress theme for Jackson Electrical & Air - Split system air conditioning installation, smoke alarms and switchboard upgrades on the Sunshine Coast.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jackson-electrical-air
Tags: one-column, custom-logo, custom-menu, featured-images
*/

/* ========================================
   Colour palette derived from logo:
   Navy (JACKSON text): #0F2B4C
   Orange (lightning bolt): #F5A623
   Red (+ AIR text): #E84D39
   ======================================== */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #0F2B4C;
    --primary-light: #1A3F6B;
    --primary-dark: #091D33;
    --accent: #F5A623;
    --accent-hover: #E09510;
    --secondary: #E84D39;
    --bg-white: #FFFFFF;
    --bg-light: #F7F8FA;
    --bg-dark: #0B1F35;
    --text-dark: #1A1A2E;
    --text-body: #4A4A5A;
    --text-light: #6B7280;
    --text-white: #FFFFFF;
    --border: #E5E7EB;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --nav-height: 80px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--accent-hover); }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { color: var(--text-dark); line-height: 1.3; font-weight: 700; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-tag {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
    text-align: center;
}
.section-intro {
    max-width: 680px;
    margin: 0 auto 48px;
    font-size: 17px;
    color: var(--text-light);
    text-align: center;
}
section { padding: 80px 0; }
section h2 { font-size: 36px; margin-bottom: 16px; text-align: center; }
.required { color: var(--secondary); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1.4;
}
.btn-accent {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
}
.btn-accent:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-white {
    background: var(--bg-white);
    color: var(--primary);
    border-color: var(--bg-white);
}
.btn-white:hover {
    background: var(--bg-light);
    color: var(--primary);
    transform: translateY(-1px);
}
.btn-outline-white {
    background: transparent;
    color: var(--text-white);
    border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--text-white);
    color: var(--text-white);
}
.btn-small {
    padding: 8px 20px;
    font-size: 13px;
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
    justify-content: center;
    width: 100%;
    text-align: center;
}
.btn-small:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--primary-dark);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* ---------- NAVBAR ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: var(--bg-white);
    z-index: 1000;
    transition: box-shadow 0.3s, background 0.3s;
    display: flex;
    align-items: center;
}
.navbar.scrolled {
    box-shadow: var(--shadow-md);
}
/* WordPress admin bar offset */
.admin-bar .navbar {
    top: 32px;
}
@media screen and (max-width: 782px) {
    .admin-bar .navbar {
        top: 46px;
    }
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.nav-logo-img {
    max-height: 70px;
    width: auto;
    max-width: 250px;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
}
.nav-menu li {
    list-style: none;
}
/* Nav link styling — targets both WP-generated and fallback menu links */
.nav-menu li a,
.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s;
    position: relative;
    text-decoration: none;
}
.nav-menu li a:hover,
.nav-menu li.current-menu-item > a,
.nav-menu li.current_page_item > a,
.nav-link:hover,
.nav-link.active { color: var(--accent); }
.nav-menu li a::after,
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}
.nav-menu li a:hover::after,
.nav-menu li.current-menu-item > a::after,
.nav-menu li.current_page_item > a::after,
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
/* CTA button in nav — exclude from underline/link styling */
.nav-menu li.nav-cta-item a,
.nav-menu li.nav-cta-item a::after { width: auto; background: none; }
.nav-cta-item { margin-left: 8px; }
.nav-cta { padding: 10px 20px; font-size: 16px; }
/* WordPress sub-menu (dropdowns) — hide by default */
.nav-menu .sub-menu {
    display: none;
}
.nav-phone-btn {
    display: none;
    padding: 8px 16px;
    font-size: 13px;
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}
.hamburger .bar {
    width: 26px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ---------- MOBILE MENU OVERLAY ---------- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 40px;
    color: var(--text-white);
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}
.mobile-menu-links {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.mobile-menu-links li {
    list-style: none;
}
.mobile-menu-links a {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-white);
    transition: color 0.3s;
}
.mobile-menu-links a:hover { color: var(--accent); }
.mobile-cta {
    margin-top: 16px;
    font-size: 18px !important;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url('images/hero.jpg') center/cover no-repeat;
    margin-top: var(--nav-height);
    padding: 80px 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgb(15 43 76 / 33%) 0%, rgba(15, 43, 76, 0.65) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}
.hero h1 {
    font-size: 44px;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 16px;
}
.hero-sub {
    font-size: 19px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 24px;
    line-height: 1.6;
}
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-white);
}
.hero-badge i { color: var(--accent); font-size: 12px; }
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ---------- SERVICES ---------- */
/* Centred section containers — ensures section-tag, h2 and intro are centred
   even if WordPress wraps elements in extra markup */
.services > .container,
.pricing > .container,
.gallery > .container,
.why-us > .container,
.testimonials > .container,
.faq > .container,
.service-areas > .container {
    text-align: center;
}

.services { background: var(--bg-dark); }
.services .section-tag { color: var(--accent); }
.services h2 { color: var(--text-white); }
.services .section-intro { color: rgba(255,255,255,0.7); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 16px;
}
.service-category {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    text-align: left;
}
.service-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.service-category__image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}
.service-category__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.service-category:hover .service-category__image img {
    transform: scale(1.05);
}
.service-category__body {
    padding: 24px 28px 32px;
}
.service-category__icon {
    width: 44px;
    height: 44px;
    background: rgba(245,166,35,0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.service-category__icon i { font-size: 20px; color: var(--accent); }
.service-category h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-white);
}
.service-category p {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin: 0;
}

/* ---------- CTA BANNERS ---------- */
.cta-banner {
    background: var(--primary);
    padding: 48px 0;
}
.cta-banner--accent { background: var(--accent); }
.cta-banner--accent .cta-banner__text h3,
.cta-banner--accent .cta-banner__text p { color: var(--primary-dark); }
.cta-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.cta-banner__text h3 {
    font-size: 26px;
    color: var(--text-white);
    margin-bottom: 4px;
}
.cta-banner__text p {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
}
.cta-banner__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ---------- FEATURED SERVICE ---------- */
.featured-service { background: var(--bg-white); }
.featured-service__inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}
.featured-service__content .section-tag,
.featured-service__content h2 {
    text-align: left;
    font-size: 34px;
    margin-bottom: 16px;
}
.featured-service__content > p {
    font-size: 16px;
    color: var(--text-body);
    margin-bottom: 28px;
}
.featured-service__points { margin-bottom: 32px; }
.feature-point {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.feature-point:last-child { border-bottom: none; }
.feature-point i {
    font-size: 20px;
    color: var(--accent);
    margin-top: 2px;
    flex-shrink: 0;
}
.feature-point strong {
    display: block;
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 2px;
}
.feature-point p {
    font-size: 16px;
    color: var(--text-light);
    margin: 0;
}
.featured-service__image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.featured-service__image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}
.featured-service__badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: var(--accent);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ---------- PRICING ---------- */
.pricing { background: var(--bg-light); }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 800px;
    margin: 0 auto;
}
.pricing-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    border: 2px solid var(--border);
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.pricing-card--featured {
    border-color: var(--accent);
}
.pricing-card__badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 16px;
    border-radius: 50px;
    white-space: nowrap;
}
.pricing-card__header { margin-bottom: 16px; }
.pricing-card h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.pricing-card__desc {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}
.pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 20px;
}
.pricing-card__from {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}
.pricing-card__amount {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.pricing-card__gst {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}
.pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}
.pricing-card__features li {
    font-size: 15px;
    color: var(--text-body);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.pricing-card__features li:last-child { border-bottom: none; }
.pricing-card__features li i {
    color: var(--accent);
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}
.pricing-card .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}
.pricing-note {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 24px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.pricing-note i { margin-right: 4px; }

/* ---------- WHY CHOOSE US ---------- */
.why-us { background: var(--bg-light); }
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 16px;
}
.why-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}
.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.why-card__icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}
.why-card__icon i { font-size: 24px; color: var(--accent); }
.why-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary);
}
.why-card p { font-size: 16px; color: var(--text-light); }

/* ---------- GALLERY ---------- */
.gallery { background: var(--bg-white); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,43,76,0.85) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__overlay span {
    color: var(--text-white);
    font-weight: 600;
    font-size: 16px;
}

/* ---------- ABOUT ---------- */
.about { background: var(--bg-light); }
.about__inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}
.about__content .section-tag,
.about__content h2 { text-align: left; }
.about__content p {
    font-size: 16px;
    color: var(--text-body);
    margin-bottom: 14px;
}
.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 2px solid var(--border);
}
.about-stat { text-align: center; }
.about-stat__number {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.about-stat__plus {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
}
.about-stat__label {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 4px;
}
.about__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about__image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials { background: var(--bg-white); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 16px;
}
.testimonial-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid var(--accent);
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.testimonial-stars {
    margin-bottom: 14px;
    display: flex;
    gap: 3px;
}
.testimonial-stars i { color: var(--accent); font-size: 16px; }
.testimonial-card > p {
    font-size: 15px;
    color: var(--text-body);
    font-style: italic;
    margin-bottom: 18px;
    line-height: 1.7;
}
.testimonial-author strong {
    display: block;
    font-size: 15px;
    color: var(--text-dark);
}
.testimonial-author span {
    font-size: 13px;
    color: var(--text-light);
}

/* ---------- FAQ ---------- */
.faq { background: var(--bg-light); }
.faq-list {
    max-width: 760px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 16px;
}
.faq-question span {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}
.faq-question i {
    font-size: 16px;
    color: var(--accent);
    transition: transform 0.3s;
    flex-shrink: 0;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 20px;
}
.faq-answer p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.7;
}
.faq-answer a { color: var(--accent); font-weight: 500; }

/* ---------- SERVICE AREAS ---------- */
.service-areas { background: var(--bg-white); }
.areas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}
.area-tag {
    padding: 10px 20px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s;
}
.area-tag:hover {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
}
.areas-note {
    text-align: center;
    font-size: 16px;
    color: var(--text-light);
}

/* ---------- CONTACT ---------- */
.contact { background: var(--bg-light); }
.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}
.contact__info .section-tag,
.contact__info h2 { text-align: left; }
.contact__info > p {
    font-size: 16px;
    color: var(--text-body);
    margin-bottom: 28px;
}
.contact-details { margin-bottom: 24px; }
.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
}
.contact-detail i {
    font-size: 18px;
    color: var(--accent);
    margin-top: 4px;
    width: 20px;
    text-align: center;
}
.contact-detail strong {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}
.contact-detail a,
.contact-detail span {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 600;
}
.contact-detail a:hover { color: var(--accent); }
.contact-social {
    display: flex;
    gap: 12px;
}
.social-link {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.3s;
}
.social-link i { color: var(--text-white); font-size: 18px; }
.social-link:hover {
    background: var(--accent);
    transform: translateY(-2px);
}
.social-link:hover i { color: var(--primary-dark); }

/* Contact Form - Native + CF7 Compatibility */
.contact__form {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 18px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}
input, select, textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    font-family: var(--font);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    color: var(--text-dark);
    transition: border-color 0.3s, box-shadow 0.3s;
    -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15);
}
select { cursor: pointer; }
textarea { resize: vertical; min-height: 100px; }
.form-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    margin-top: 12px;
}

/* CF7 Form Overrides */
.wpcf7 .form-group { margin-bottom: 18px; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    font-family: var(--font);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    color: var(--text-dark);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15);
}
.wpcf7 input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    background: var(--accent);
    color: var(--primary-dark);
    border: 2px solid var(--accent);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}
.wpcf7 input[type="submit"]:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.wpcf7-response-output {
    border-radius: var(--radius-sm) !important;
    padding: 12px 16px !important;
    margin: 16px 0 0 !important;
    font-size: 14px !important;
}

/* ---------- FINAL CTA ---------- */
.final-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 72px 0;
    text-align: center;
}
.final-cta h2 {
    font-size: 34px;
    color: var(--text-white);
    max-width: 700px;
    margin: 0 auto 12px;
}
.final-cta p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
}
.final-cta__actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding-top: 60px;
}
.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
    max-height: 80px;
    width: auto;
    margin-bottom: 14px;
    filter: brightness(0) invert(1);
}
.footer__brand p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
}
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.footer-social a i { color: var(--text-white); font-size: 16px; }
.footer-social a:hover { background: var(--accent); }
.footer-social a:hover i { color: var(--primary-dark); }
.footer h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer ul li { padding: 4px 0; }
.footer ul li a,
.footer ul li span {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    transition: color 0.3s;
}
.footer ul li a:hover { color: var(--accent); }
.footer ul li i {
    color: var(--accent);
    margin-right: 8px;
    font-size: 13px;
}
.footer__bottom {
    padding: 20px 0;
}
.footer__bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    text-align: center;
}

/* ---------- FLOATING MOBILE CALL BUTTON ---------- */
.floating-call {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 12px 16px;
    background: var(--bg-white);
    box-shadow: 0 -4px 16px rgba(0,0,0,0.12);
}
.floating-call a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    background: var(--accent);
    color: var(--primary-dark);
    font-size: 17px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background 0.3s;
}
.floating-call a:hover { background: var(--accent-hover); color: var(--primary-dark); }

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: var(--primary-dark);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
    z-index: 900;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* ---------- FADE-IN 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);
}

/* ============================================
   LANDING PAGE TEMPLATE
   Full-width layout, same rendering as homepage.
   Uses page-landing.php template + body.landing-page class.
   ============================================ */

/* Landing pages render full-width like homepage - no site-main padding */
.landing-page #main-content {
    margin-top: 0;
    padding: 0;
}

/* SEO Introduction Section */
.lp-intro {
    padding: 80px 0;
    background: var(--bg-white);
}
.lp-intro h2 {
    text-align: center;
    font-size: 34px;
    margin-bottom: 12px;
}
.lp-intro .section-tag {
    text-align: center;
}
.lp-intro__content {
    max-width: 860px;
    margin: 0 auto;
}
.lp-intro__text p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 20px;
}
.lp-intro__text h3 {
    font-size: 24px;
    color: var(--primary);
    margin: 36px 0 16px;
}

/* ============================================
   PAGES & POSTS — Content Styling
   Applies to page.php, single.php, index.php,
   archive.php, search.php, 404.php
   ============================================ */

/* ---------- SITE MAIN (all non-homepage templates) ---------- */
.site-main {
    margin-top: var(--nav-height);
    min-height: 60vh;
    padding: 60px 0 80px;
}

/* ---------- PAGE TEMPLATE ---------- */
.page-header {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
}
.page-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}
.page-article {
    max-width: 860px;
}

/* ---------- POST TEMPLATE (single.php) ---------- */
.post-header {
    margin-bottom: 28px;
}
.post-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 14px;
}
.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: var(--text-light);
}
.post-meta i {
    color: var(--accent);
    margin-right: 6px;
}
.post-meta a {
    color: var(--text-light);
}
.post-meta a:hover {
    color: var(--accent);
}
.post-article {
    max-width: 860px;
}
.post-thumbnail {
    margin-bottom: 32px;
    border-radius: var(--radius-md);
    overflow: hidden;
}
.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}
.post-footer {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.post-tags {
    font-size: 14px;
    color: var(--text-light);
}
.post-tags i {
    color: var(--accent);
    margin-right: 6px;
}
.post-tags a {
    color: var(--primary);
    font-weight: 500;
}
.post-tags a:hover {
    color: var(--accent);
}

/* ---------- POST NAVIGATION ---------- */
.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 2px solid var(--border);
}
.post-nav-prev,
.post-nav-next {
    max-width: 45%;
}
.post-nav-next {
    text-align: right;
    margin-left: auto;
}
.post-navigation a {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    transition: color 0.3s;
}
.post-navigation a:hover {
    color: var(--accent);
}
.post-navigation i {
    font-size: 12px;
}

/* ---------- ENTRY CONTENT (shared across pages/posts) ---------- */
.page-content,
.post-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-body);
}
.page-content h2,
.post-content h2 {
    font-size: 28px;
    color: var(--primary);
    margin-top: 40px;
    margin-bottom: 16px;
    text-align: left;
}
.page-content h3,
.post-content h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-top: 32px;
    margin-bottom: 12px;
}
.page-content h4,
.post-content h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-top: 24px;
    margin-bottom: 10px;
}
.page-content p,
.post-content p {
    margin-bottom: 18px;
}
.page-content a,
.post-content a {
    color: var(--accent);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(245, 166, 35, 0.3);
    text-underline-offset: 2px;
}
.page-content a:hover,
.post-content a:hover {
    color: var(--accent-hover);
    text-decoration-color: var(--accent-hover);
}
.page-content ul,
.post-content ul {
    margin: 0 0 18px 24px;
    list-style: disc;
}
.page-content ol,
.post-content ol {
    margin: 0 0 18px 24px;
    list-style: decimal;
}
.page-content li,
.post-content li {
    padding: 4px 0;
    font-size: 16px;
    color: var(--text-body);
}
.page-content blockquote,
.post-content blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    border-left: 4px solid var(--accent);
    background: var(--bg-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-dark);
}
.page-content blockquote p:last-child,
.post-content blockquote p:last-child {
    margin-bottom: 0;
}
.page-content img,
.post-content img {
    border-radius: var(--radius-sm);
    margin: 24px 0;
}
.page-content table,
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
}
.page-content th,
.post-content th {
    background: var(--primary);
    color: var(--text-white);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}
.page-content td,
.post-content td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-body);
}
.page-content tr:nth-child(even) td,
.post-content tr:nth-child(even) td {
    background: var(--bg-light);
}
.page-content pre,
.post-content pre {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 20px;
    border-radius: var(--radius-sm);
    overflow-x: auto;
    margin: 24px 0;
    font-size: 14px;
    line-height: 1.6;
}
.page-content code,
.post-content code {
    background: var(--bg-light);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 14px;
    color: var(--secondary);
}
.page-content pre code,
.post-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}
.page-content hr,
.post-content hr {
    border: none;
    border-top: 2px solid var(--border);
    margin: 40px 0;
}

/* WordPress alignment classes */
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.alignleft {
    float: left;
    margin: 0 24px 16px 0;
}
.alignright {
    float: right;
    margin: 0 0 16px 24px;
}
.wp-caption {
    max-width: 100%;
    margin-bottom: 18px;
}
.wp-caption-text {
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
    padding-top: 8px;
}

/* WordPress gallery default overrides (scoped to .wp-block-gallery and .gallery-columns) */
.wp-block-gallery,
.gallery-columns-1,
.gallery-columns-2,
.gallery-columns-3,
.gallery-columns-4,
.gallery-columns-5 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 24px 0;
}
.wp-block-gallery .gallery-item,
[class*="gallery-columns"] .gallery-item {
    margin: 0;
}
.wp-block-gallery .gallery-item img,
[class*="gallery-columns"] .gallery-item img {
    border-radius: var(--radius-sm);
    margin: 0;
}

/* ---------- BLOG LISTING (index.php, archive.php, search.php) ---------- */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}
.post-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.post-card__image {
    display: block;
    height: 220px;
    overflow: hidden;
}
.post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.post-card:hover .post-card__image img {
    transform: scale(1.05);
}
.post-card__content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.post-card__meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
}
.post-card__meta a {
    color: var(--text-light);
}
.post-card__meta a:hover {
    color: var(--accent);
}
.post-card__title {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.3;
    text-align: left;
}
.post-card__title a {
    color: var(--primary);
    text-decoration: none;
}
.post-card__title a:hover {
    color: var(--accent);
}
.post-card__excerpt {
    font-size: 15px;
    color: var(--text-body);
    margin-bottom: 16px;
    flex: 1;
    line-height: 1.6;
}
.post-card__excerpt p {
    margin: 0;
}

/* ---------- ARCHIVE DESCRIPTION ---------- */
.archive-description {
    font-size: 16px;
    color: var(--text-body);
    margin-top: 8px;
}

/* ---------- PAGINATION ---------- */
.pagination {
    text-align: center;
}
.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--bg-light);
    border: 1px solid var(--border);
    transition: all 0.3s;
    text-decoration: none;
}
.pagination .page-numbers:hover {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
}
.pagination .page-numbers.current {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

/* ---------- 404 PAGE ---------- */
.error-404 {
    text-align: center;
    padding: 60px 0;
    max-width: 600px;
    margin: 0 auto;
}
.error-404__icon {
    font-size: 64px;
    color: var(--accent);
    margin-bottom: 24px;
}
.error-404 h1 {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 14px;
}
.error-404 p {
    font-size: 18px;
    color: var(--text-body);
    margin-bottom: 32px;
}
.error-404__actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- NO CONTENT ---------- */
.no-content {
    text-align: center;
    padding: 60px 0;
}
.no-content h2 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 12px;
}
.no-content p {
    font-size: 16px;
    color: var(--text-body);
    margin-bottom: 24px;
}

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

@media (max-width: 1024px) {
    .services-grid,
    .why-us-grid,
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .featured-service__inner,
    .about__inner,
    .contact__inner { grid-template-columns: 1fr; }
    .featured-service__image img { height: 360px; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --nav-height: 68px; }

    .nav-menu { display: none; }
    .nav-phone-btn { display: none; }
    .hamburger { display: flex; }
    .floating-call { display: block; }
    body { padding-bottom: 72px; }
    .back-to-top { bottom: 84px; }
    .nav-logo-img { max-height: 60px; }

    .hero { padding: 60px 0; min-height: 500px; }
    .hero h1 { font-size: 30px; }
    .hero-sub { font-size: 16px; }
    .hero-badges { gap: 8px; }
    .hero-badge { font-size: 12px; padding: 5px 10px; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { justify-content: center; }

    section { padding: 56px 0; }
    section h2 { font-size: 28px; }

    .services-grid,
    .why-us-grid,
    .testimonials-grid { grid-template-columns: 1fr; }

    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
    .pricing-card { padding: 32px 24px; }
    .pricing-card__amount { font-size: 34px; }

    .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }

    .cta-banner__inner { flex-direction: column; text-align: center; }
    .cta-banner__actions { justify-content: center; }

    .form-row { grid-template-columns: 1fr; }

    .contact__form { padding: 24px; }

    .about-stats { gap: 20px; }
    .about-stat__number { font-size: 32px; }

    .final-cta h2 { font-size: 26px; }

    .footer__inner { grid-template-columns: 1fr; gap: 28px; }

    /* Landing page responsive */
    .lp-intro { padding: 56px 0; }
    .lp-intro h2 { font-size: 28px; }
    .lp-intro__text h3 { font-size: 21px; }

    /* Pages & Posts responsive */
    .site-main { padding: 40px 0 60px; }
    .page-title,
    .post-title { font-size: 28px; }
    .posts-grid { grid-template-columns: 1fr; gap: 24px; }
    .post-navigation { flex-direction: column; gap: 16px; }
    .post-nav-prev,
    .post-nav-next { max-width: 100%; text-align: left; }
    .error-404 h1 { font-size: 32px; }
    .error-404__icon { font-size: 48px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 26px; }
    .hero-badge { font-size: 11px; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .btn-lg { padding: 12px 24px; font-size: 15px; }
    .about-stats { flex-direction: column; align-items: center; }
    .page-title,
    .post-title { font-size: 24px; }
    .error-404__actions { flex-direction: column; }
}
