/*
Theme Name: Prime Painting and Maintenance Co.
Theme URI: https://example.com/prime-painting
Author: GitHub Copilot
Author URI: https://github.com/copilot
Description: A black and white theme for Prime Painting and Maintenance Co. with customizable options.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: prime-painting
*/

body {
    background-color: #0a0a0a;
    color: #cccccc;
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}

a {
    color: #aaaaaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

/* ------------------------------------------------------------------------- *
 *  Global Layout & Containers
 * ------------------------------------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px; /* Essential padding to prevent text hitting edges */
    width: 100%;
    box-sizing: border-box; /* Ensure padding doesn't affect width */
}

/* Header Improvements */
.site-header {
    background-color: #000000; /* Solid black fallback */
    color: #ffffff;
    padding: 10px 0; /* Vertical padding only, inner container handles horizontal */
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

/* Inner header container for alignment */
.site-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Desktop: Transparent & Fixed */
@media (min-width: 769px) {
    .site-header {
        position: fixed; /* Floats over hero */
        top: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent */
        backdrop-filter: blur(5px); /* Modern blur */
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    /* Add padding to body so content doesn't hide behind fixed header on non-home pages */
    body:not(.home) {
        padding-top: 80px; 
    }

    /* Pages with a page-hero: remove the body padding so the hero sits flush under nav */
    body:not(.home):has(.page-hero) {
        padding-top: 0;
    }
}

/* Mobile: Relative/Sticky & Solid */
@media (max-width: 768px) {
    .site-header {
        position: relative; /* Normal flow on mobile usually safer */
        background-color: #000000;
        border-bottom: 3px solid var(--accent-color);
    }
}

.site-title a {
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.custom-logo {
    max-width: 140px; /* Smaller logo max width */
    max-height: 50px; /* Restrict height */
    width: auto;
    height: auto;
    object-fit: contain;
}

.main-navigation ul {
    list-style: none; /* Remove bullets */
    margin: 0;
    padding: 0;
    display: flex; /* Horizontal layout */
    align-items: center;
    gap: 20px; /* Tighter gap */
}

.main-navigation li {
    margin: 0; /* Reset margins */
}

/* Menu Toggle Button (Hidden on Desktop) */
.menu-toggle {
    display: none;
    background-color: transparent !important; /* Override generic button style */
    border: none !important; /* Override generic button style */
    color: #fff !important; /* Ensure icon is white */
    cursor: pointer;
    padding: 0 10px; /* Adjust padding */
    z-index: 1001;
    margin-top: 5px; /* Align with logo */
}

.hamburger-icon {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #fff;
    position: relative;
    transition: background 0.2s;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: #fff;
    left: 0;
    transition: transform 0.2s;
}

.hamburger-icon::before { top: -8px; }
.hamburger-icon::after { top: 8px; }

/* Mobile Header Adjustments */
@media (max-width: 768px) {
    .site-header-inner {
        padding: 15px 20px;
    }

    .site-branding {
        margin-bottom: 0;
        display: flex;
        align-items: center;
    }
    
    .menu-toggle {
        display: block; /* Show burger */
    }

    /* Hide menu by default on mobile */
    .main-navigation ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%; /* Attach to bottom of header */
        left: 0;
        background-color: #000;
        border-top: 2px solid var(--accent-color);
        padding: 0;
        gap: 0;
        text-align: left; /* Left align links */
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
        z-index: 1001; /* Ensure on top */
    }

    /* Show menu when toggled */
    .main-navigation.toggled ul {
        display: flex;
        animation: slideDown 0.3s ease-out forwards;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .main-navigation li {
        width: 100%;
        border-bottom: 1px solid #222; /* Darker separator */
    }

    .main-navigation a {
        display: block;
        padding: 20px 30px; /* Bigger touch targets */
        font-size: 1.1rem;
        color: #ddd; /* Softer white */
    }

    .main-navigation a:hover, .main-navigation a:active {
        background-color: #111;
        color: var(--accent-color);
        padding-left: 35px; /* Slide effect */
    }

    /* Hero Mobile Tweaks */
    .hero-section {
        padding: 80px 20px;
        min-height: auto;
        /* Ensure top padding allows for header if relative */
        margin-top: 0; 
    }
}

.main-navigation a {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem; /* Smaller font */
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent; /* Prepare for hover */
    transition: all 0.3s ease;
}

.main-navigation a:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* Hero Section Improvements */
.hero-section h1 {
    color: #fff; /* Ensure white text */
    text-shadow: 2px 2px 0 #000; /* Hard shadow for contrast */
}

.hero-section .button {
    font-size: 1.2rem;
    padding: 20px 50px;
    background-color: var(--accent-color) !important; /* Force override */
    color: #fff !important;
    border: 2px solid var(--accent-color) !important; 
}

.hero-section .button:hover {
    background-color: transparent !important;
    border-color: #fff !important;
    color: #fff !important;
}

/* Service Section Improvements */
.services-section {
    background-color: #0a0a0a;
}

.service-item {
    background: #111111;
    border: 1px solid #1e1e1e;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Softer shadow */
    padding: 60px 40px;
    border-bottom: 5px solid transparent; /* Bottom accent */
}

.service-item:hover {
    transform: translateY(-15px);
    border-bottom-color: var(--accent-color); /* Highlight bottom on hover */
    border-top-color: transparent; /* Reset top */
}

.service-item h3 {
    font-size: 2em;
    font-weight: 700;
}

.service-item h3::after {
    background: var(--accent-color);
    height: 4px; /* Thicker underline */
    width: 50px; /* Fixed width initially */
}

.service-item:hover h3::after {
    width: 80px; /* Grow slightly */
}

/* Testimonials Improvements */
.testimonials-section {
    background-color: #111;
    position: relative;
    overflow: hidden;
}

/* Decorative accent line */
.testimonials-section::after { 
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 5px;
    background: var(--accent-color);
}

.testimonial-item {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-left: 5px solid var(--accent-color); /* Accent border on left */
    padding: 40px;
}

.testimonial-item blockquote {
    color: #eee;
    font-size: 1.3em;
    font-style: italic;
}

.testimonial-item cite {
    color: var(--accent-color); /* Accent color for author */
    font-weight: 700;
}

/* CTA Section Improvements */
.cta-section {
    background: #000;
    border-top: 1px solid #333;
    position: relative;
}

.cta-section h2 {
    font-size: 3.5em;
    font-weight: 800;
    margin-bottom: 30px;
    color: #fff;
}

/* Apply accent to the 'Ready' text if possible, or just the button */
.cta-section .button.inverse {
    background-color: transparent;
    color: var(--accent-color);
    border: 3px solid var(--accent-color);
    font-size: 1.2em;
    padding: 20px 60px;
}

.cta-section .button.inverse:hover {
    background-color: var(--accent-color);
    color: #fff;
}

/* Modern Footer Override - CLEANUP */

/* 
.site-footer {
    background-color: #050505 !important;
    padding-bottom: 0 !important; 
}
*/

/* Remove old widget styles if they interfere, though new classes help avoid issues */
.footer-widget-area {
    display: none; 
}

/* ------------------------------------------------------------------------- *
 *  Animations & Modern UI
 * ------------------------------------------------------------------------- */

/* Animation Base Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delays for Grid Items */
.services-grid .service-item:nth-child(1) { transition-delay: 0.05s; }
.services-grid .service-item:nth-child(2) { transition-delay: 0.10s; }
.services-grid .service-item:nth-child(3) { transition-delay: 0.15s; }
.services-grid .service-item:nth-child(4) { transition-delay: 0.20s; }
.services-grid .service-item:nth-child(5) { transition-delay: 0.25s; }
.services-grid .service-item:nth-child(6) { transition-delay: 0.30s; }
.services-grid .service-item:nth-child(7) { transition-delay: 0.35s; }
.services-grid .service-item:nth-child(8) { transition-delay: 0.40s; }
.services-grid .service-item:nth-child(9) { transition-delay: 0.45s; }

.testimonials-grid .testimonial-item:nth-child(1) { transition-delay: 0.1s; }
.testimonials-grid .testimonial-item:nth-child(2) { transition-delay: 0.2s; }
.testimonials-grid .testimonial-item:nth-child(3) { transition-delay: 0.3s; }

/* Modern Hero Section */
.hero-section {
    position: relative;
    background-color: #0a0a0a; /* Dark page background fallback */
    color: #fff;
    padding: 20px;
    text-align: center;
    border-bottom: none; /* Removed border */
    overflow: hidden; /* For parallax */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    max-height: 100vh;
    box-sizing: border-box;
}

/* Dark gradient overlay for better text contrast */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    animation: fadeUp 1.2s ease-out;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-section h1 {
    font-size: 4em;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-section p {
    font-size: 1.5em;
    margin-bottom: 50px;
    font-weight: 300;
    opacity: 0.9;
}

/* Modern Buttons Override */
.button, .btn, button, input[type="submit"] {
    display: inline-block;
    background-color: var(--accent-color) !important;
    color: #fff !important;
    border: 2px solid var(--accent-color) !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: #111;
}
::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 6px;
    border: 3px solid #111;
}

/* Secondary Button (Outline) */
.button.outline {
    background-color: transparent;
    color: #000;
    border: 2px solid #000;
}
.button.outline:hover {
    background-color: #000;
    color: var(--accent-color);
    border-color: #000;
}

/* Inverse Button (Black Background to White) for Connect Section */
.button.inverse {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}
.button.inverse:hover {
    background-color: #fff;
    color: #000;
    border-color: #fff;
}

/* Modern Service Cards */
.services-section {
    background-color: #0a0a0a;
    padding: 80px 20px;
}

.services-grid {
    gap: 30px;
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-item {
    border: 1px solid #1e1e1e;
    padding: 40px 30px;
    text-align: left; /* Left align for cleaner look */
    background: #111111;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

/* Number Counter for Premium Look */
.services-grid .service-item {
    counter-increment: service-counter;
}

.service-item::before {
    content: "0" counter(service-counter);
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 5em;
    font-weight: 800;
    color: #1e1e1e; /* Very subtle dark */
    z-index: 1;
    pointer-events: none;
    transition: all 0.4s ease;
}

.service-item:hover::before {
    color: var(--accent-color);
    opacity: 0.2;
    transform: translateY(10px);
}

.service-item h3 {
    font-size: 1.6em; /* Slightly adjusted size */
    margin-bottom: 15px;
    position: relative;
    display: block; /* Block for alignment */
    z-index: 2;
    color: #ffffff;
}

.service-item p {
    color: #aaaaaa;
    line-height: 1.6;
    z-index: 2;
    position: relative;
}

/* Remove old centered underlines */
.service-item h3::after {
    display: none; 
}

/* New accent line on left */
.service-item::after { 
    content: '';
    position: absolute;
    top: 0; left: 0; 
    width: 4px; height: 0;
    background-color: var(--accent-color);
    transition: height 0.4s ease;
}

.service-item:hover::after {
    height: 100%;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Modern Testimonials */
.testimonials-section {
    background-color: #000;
    color: #fff;
    padding: 100px 20px;
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, #333, transparent);
}

.testimonials-grid {
    margin-top: 60px;
}

.testimonial-item {
    background-color: #111111;
    border: 1px solid #1e1e1e;
    padding: 40px;
    border-radius: 4px; /* Slight round */
    transition: transform 0.3s ease;
}

.testimonial-item:hover {
    transform: scale(1.02);
    border-color: #555;
}

.testimonial-item blockquote {
    font-size: 1.25em; !important;
    padding-bottom: 0 !important;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px; /* Better padding */
    border-bottom: 1px solid #222;
}

/* Mobile Footer Alignment */
@media (max-width: 768px) {
    .site-footer {
        text-align: left;
    }
    
    .footer-content {
        padding: 40px 20px;
        gap: 30px;
        grid-template-columns: 1fr; /* Single column on mobile */
    }
    
    .site-info {
        text-align: center; /* Keep copyright centered */
        font-size: 0.8em;
    }
/* Call To Action Modern */
.cta-section {
    padding: 120px 20px;
    background-image: linear-gradient(to right, #000, #1a1a1a); /* Subtle gradient */
}

.cta-section h2 {
    font-size: 3em;
    margin-bottom: 20px;
}

/* Section Titles */
.section-title {
    font-size: 2.5em;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 70px;
}

.section-title::after {
    display: none; /* Remove old underline style */
}

/* Footer Modern - CLEANUP */
/*
.site-footer {
    background-color: #050505;
    color: #aaa;
    padding: 80px 0 0;
    font-size: 0.95em;
}
*/

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
    border-bottom: 1px solid #222;
}

.footer-heading {
    color: #fff;
    font-size: 1.2em;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
    margin-top: 10px;
}

.footer-about {
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.footer-links a::before {
    content: '›';
    margin-right: 8px;
    color: var(--accent-color);
    font-weight: bold;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    margin-bottom: 20px;
}

.contact-list .label {
    color: var(--accent-color);
    font-size: 0.85em;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.contact-list a {
    color: #fff;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #333;
    border-radius: 50%;
    color: #fff;
    font-size: 0.8em;
    font-weight: bold;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.footer-socials a:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    transform: translateY(-3px);
}

.site-info {
    text-align: center;
    padding: 30px 20px;
    background-color: #000;
    font-size: 0.85em;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 { font-size: 2.5em; }
    .hero-section { height: 100vh; max-height: 100vh; padding: 20px; }
}


.site-main {
    padding: 0; /* Let sections handle padding in front-page */
}

/* Brand colours preserved — no grayscale filter */
img {
    filter: none;
}

.top-bar {
    background-color: #222; /* Darker bg for top bar */
    color: #fff; /* White text */
    padding: 10px 20px;
    font-size: 0.9em;
    text-align: right;
    border-bottom: 1px solid #333;
}

.top-bar .contact-item a {
    color: var(--accent-color);
}
.top-bar .contact-item a:hover {
    color: #fff;
}

.top-bar .contact-item {
    margin-left: 20px;
}

/* Footer Modern - CLEANUP */
/*
.site-footer {
    background-color: #000000;
    color: #ffffff;
    padding-bottom: 0;
}
*/

/* ------------------------------------------------------------------------- *
 *  Footer Area
 * ------------------------------------------------------------------------- */

/* Force Footer Background */
.site-footer {
    background-color: #050505;
    color: #cccccc;
    position: relative;
    z-index: 100; /* Ensure on top */
    width: 100%;
}

/* Remove old conflicting definitions */
/* .site-footer { ... } DELETED */

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    max-width: 1200px; /* Aligns with .container */
    margin: 0 auto;
    padding: 80px 30px;
}

.footer-col h1, 
.footer-col h2, 
.footer-col h3, 
.footer-col h4,
.footer-heading,
.widget-title {
    color: #ffffff !important; /* Force white headings */
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    border-color: #333; /* Ensure borders are visible too */
}

.footer-col p, 
.footer-col li, 
.footer-col span,
.footer-about,
.footer-nav a,
.contact-list li {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #cccccc !important; /* Force light grey text */
}

.footer-col a,
.footer-col a:visited {
    color: #cccccc !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover,
.footer-col a:focus {
    color: var(--accent-color) !important;
}

.footer-brand h2 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 20px;
}

/* Social Media Icons (if added later) */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

/* Mobile Footer Alignment & Fix */
@media (max-width: 768px) {
    .site-footer {
        padding-top: 50px; /* Ensure space from previous section */
        display: block !important; /* Force visibility */
        background-color: #050505 !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr; /* Stack vertically */
        padding: 40px 20px;
        gap: 30px;
        text-align: left; /* Ensure readability */
    }
    
    .footer-col {
        margin-bottom: 20px;
    }
}

/* ------------------------------------------------------------------------- *
 *  Button Styles (Global)
 * ------------------------------------------------------------------------- */

.button, .btn, button, input[type="submit"], .wp-block-button__link {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border: 2px solid var(--accent-color);
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.button:hover, .btn:hover, button:hover, input[type="submit"]:hover, .wp-block-button__link:hover {
    background-color: transparent;
    color: var(--accent-color); /* Invert to accent text */
    border-color: var(--accent-color);
}

/* Outline Style Button */
.is-style-outline .wp-block-button__link {
    background-color: transparent !important;
    border: 2px solid #fff !important;
    color: #fff !important;
}

.is-style-outline .wp-block-button__link:hover {
    background-color: #fff !important;
    color: #000 !important;
}

/* ------------------------------------------------------------------------- *
 *  Utility & Container Fixes
 * ------------------------------------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px; /* Ensure 20px padding on mobile */
    }
}

/* ------------------------------------------------------------------------- *
 *  Page Templates: Contact & Simple
 * ------------------------------------------------------------------------- */

/* Shared Page Hero */
.page-hero.hero-section {
    height: 300px !important;
    max-height: 300px !important;
    min-height: unset !important;
    margin-top: 0;
    padding: 0;
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Add overlay if image exists, or use dark bg class */
.page-hero.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6); /* 60% overlay */
    z-index: 1;
}

.page-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Simple Page Content */
.simple-page-content {
    padding: 80px 0;
    background-color: #0a0a0a;
    color: #cccccc;
}

.entry-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Typography inside content */
.entry-content h2, .entry-content h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: #ffffff;
}

.entry-content p {
    margin-bottom: 20px;
}

/* Contact Page Layout */
.contact-section {
    padding: 80px 0;
    background-color: #0a0a0a;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* 2/3 Content, 1/3 Sidebar */
    gap: 60px;
}

.contact-info-sidebar {
    background-color: #111111;
    padding: 40px;
    border-radius: 4px;
    border-left: 5px solid var(--accent-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.contact-info-sidebar h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.contact-details .detail-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #1e1e1e;
}

.contact-details .detail-item:last-child {
    border-bottom: none;
}

.contact-details strong {
    display: block;
    margin-bottom: 5px;
    color: #aaaaaa;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-details a {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--accent-color);
}
}

/* Responsive tweaks for Contact/Simple */
@media (max-width: 768px) {
    .page-hero.hero-section {
        height: 300px !important;
        max-height: 300px !important;
        min-height: unset !important;
        padding: 0;
    }

    .contact-grid {
        grid-template-columns: 1fr; /* Stack */
        gap: 40px;
    }
    
    .simple-page-content, .contact-section {
        padding: 40px 0;
    }
}

/* ------------------------------------------------------------------------- *
 *  Contact Form
 * ------------------------------------------------------------------------- */
.contact-form-area h2 {
    color: #ffffff;
    margin-bottom: 8px;
}

.contact-form-area > p {
    color: #aaaaaa;
    margin-bottom: 32px;
}

/* Honeypot: hide from real users */
.prime-hp {
    display: none !important;
    visibility: hidden;
}

/* Success / error banners */
.form-notice {
    padding: 16px 20px;
    border-radius: 4px;
    margin-bottom: 28px;
    font-size: 0.95rem;
    border-left: 4px solid;
}

.form-notice--success {
    background-color: rgba(39, 174, 96, 0.12);
    border-color: #27ae60;
    color: #a8e6c0;
}

.form-notice--error {
    background-color: rgba(192, 57, 43, 0.12);
    border-color: var(--accent-color);
    color: #f1948a;
}

/* Form layout */
.prime-contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row--two > .form-group {
    flex: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #aaaaaa;
}

.form-group .required {
    color: var(--accent-color);
}

.prime-contact-form input[type="text"],
.prime-contact-form input[type="email"],
.prime-contact-form input[type="tel"],
.prime-contact-form select,
.prime-contact-form textarea {
    background-color: #111111 !important;
    border: 1px solid #1e1e1e !important;
    border-radius: 4px;
    color: #ffffff !important;
    font-size: 1rem;
    padding: 13px 16px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.prime-contact-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23aaaaaa' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
    cursor: pointer;
}

.prime-contact-form input:focus,
.prime-contact-form select:focus,
.prime-contact-form textarea:focus {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.15);
}

.prime-contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.prime-contact-form input::placeholder,
.prime-contact-form textarea::placeholder {
    color: #555555;
}

.form-submit {
    display: flex;
    align-items: center;
}

.form-submit .button {
    padding: 16px 48px !important;
    font-size: 1rem !important;
    letter-spacing: 1.5px;
}

/* Responsive: stack two-column rows */
@media (max-width: 600px) {
    .form-row--two {
        flex-direction: column;
    }
}

/* ------------------------------------------------------------------------- *
 *  Services Page Template
 * ------------------------------------------------------------------------- */

.services-page-intro {
    background-color: #0a0a0a;
    padding: 60px 0 0;
    text-align: center;
}

.services-page-intro p {
    max-width: 780px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: #aaaaaa;
    line-height: 1.8;
}

.services-page-section {
    background-color: #0a0a0a;
    padding: 60px 0 80px;
}

.services-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 1024px) {
    .services-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-page-grid {
        grid-template-columns: 1fr;
    }
}

/* Individual service card */
.svc-card {
    background-color: #111111;
    border: 1px solid #1e1e1e;
    border-radius: 4px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}

.svc-card::after {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 4px; height: 0;
    background-color: var(--accent-color);
    transition: height 0.4s ease;
}

.svc-card:hover::after {
    height: 100%;
}

.svc-card:hover {
    transform: translateY(-6px);
    border-color: #2a2a2a;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.svc-card__header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.svc-card__icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.svc-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.svc-card__intro {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-color);
    margin: 0;
    line-height: 1.5;
}

.svc-card__body {
    font-size: 0.95rem;
    color: #999999;
    line-height: 1.75;
    margin: 0;
}

.svc-card__points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #1e1e1e;
}

.svc-card__points li {
    font-size: 0.88rem;
    color: #aaaaaa;
    padding-left: 18px;
    position: relative;
}

.svc-card__points li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

/* Services page CTA strip */
.services-page-cta {
    background-color: #111111;
    border-top: 1px solid #1e1e1e;
    padding: 80px 20px;
    text-align: center;
}

.services-page-cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
}

.services-page-cta p {
    color: #aaaaaa;
    font-size: 1.1rem;
    margin-bottom: 36px;
}
