/*
Theme Name: BluePick HVAC
Theme URI: https://bluepickhvac.com
Author: BluePick HVAC Team
Author URI: https://bluepickhvac.com
Description: A professional WordPress theme for BluePick HVAC services. Features a modern design with mobile responsiveness, service showcases, and integrated contact forms.
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: bluepick-hvac
Tags: business, one-column, two-columns, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Global CSS - BluePick HVAC */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Colors */
    --color-primary: #003366;
    /* Deep Blue - Trusted/Professional */
    --color-primary-dark: #002244;
    --color-accent: #FF6600;
    /* Orange - Visibility/Action */
    --color-accent-hover: #e55c00;
    --color-secondary: #f4f4f4;
    /* Light Gray - Backgrounds */
    --color-text: #333333;
    /* Dark Gray - Body Text */
    --color-text-light: #666666;
    /* Medium Gray - Subtitles */
    --color-white: #ffffff;
    --color-success: #28a745;
    /* Green - Trust indicators */

    /* Typography */
    --font-family: 'Inter', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 64px;

    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 8px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--color-primary);
}

.text-accent {
    color: var(--color-accent);
}

.text-success {
    color: var(--color-success);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.section {
    padding: var(--spacing-xxl) 0;
}

.bg-light {
    background-color: var(--color-secondary);
}

/* Typography Headers */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
}

/* Flex Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-md {
    gap: var(--spacing-md);
}

.gap-lg {
    gap: var(--spacing-lg);
}

/* Grid Utilities */
.grid {
    display: grid;
}

.grid-1 {
    grid-template-columns: 1fr;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gap-xxl {
    gap: var(--spacing-xxl);
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.75rem;
    }
}

/* ================= COMPONENT STYLES ================= */

/* Header */
.header {
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar ul {
    display: flex;
}

.navbar a {
    font-weight: 500;
    color: var(--color-text);
}

.navbar a:hover,
.navbar a.active {
    color: var(--color-accent);
}

.navbar .btn {
    color: var(--color-white);
}

.navbar .btn:hover {
    color: var(--color-white);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    background-image: url('assets/images/Front-image.png');
    background-color: #ccc;
    /* Fallback */
    background-size: cover;
    background-position: center;
    height: 600px;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.7);
    /* Primary color overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #f4f4f4;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
}

/* Service Cards */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--color-primary);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--color-accent);
}

.icon-box {
    background-color: rgba(0, 51, 102, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--color-primary);
}

.service-card:hover .icon-box {
    background-color: var(--color-accent);
    color: white;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-weight: 600;
    margin-top: 1rem;
}

.link-arrow:hover {
    color: var(--color-accent);
    gap: 12px;
}

/* Why Us / Steps / Testimonials */
.why-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.why-list i {
    margin-right: 10px;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.testimonial-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    font-style: italic;
}

.customer-name {
    margin-top: 1rem;
    font-weight: bold;
    font-style: normal;
    color: var(--color-primary);
}

/* Footer Links */
.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem;
        box-shadow: var(--shadow-md);
    }

    .navbar.active {
        display: block;
    }

    .navbar ul {
        flex-direction: column;
        gap: 1rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero {
        height: 500px;
    }

    .hero-buttons {
        flex-direction: column;
    }
}

/* Services Page Details */
.page-header {
    padding: 3rem 0;
}

.service-detail {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.icon-box-lg {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 51, 102, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-features {
    margin-top: 1rem;
}

.service-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Contact Form */
.contact-form-container {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.business-hours li {
    padding: 0.5rem 0;
    border-bottom: 1px dotted #ddd;
    display: flex;
    justify-content: space-between;
}

.business-hours li:last-child {
    border-bottom: none;
}

/* Professional Placeholders */
.placeholder-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: var(--color-primary);
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    text-align: center;
    border: 2px dashed rgba(0, 51, 102, 0.3);
    padding: 2rem;
    min-height: 200px;
}

.placeholder-image i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.6;
    color: var(--color-primary);
}

.placeholder-image span {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    opacity: 0.9;
    color: var(--color-primary);
}

/* Specific Sizes for Placeholders */
.placeholder-hero {
    height: 100%;
    width: 100%;
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%);
}

.placeholder-lg {
    height: 400px;
    width: 100%;
}

.placeholder-md {
    height: 300px;
    width: 100%;
}

.placeholder-map {
    height: 400px;
    background-color: #e5e3df;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.placeholder-map::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #FF6600;
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Value Cards (About Page) */
.value-card {
    padding: 2rem;
    text-align: center;
}

.value-card i {
    margin-bottom: 1rem;
}

/* CTA Banner */
.cta-banner {
    background-color: var(--color-primary);
    color: white;
}

.cta-banner h2 {
    color: white;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding-bottom: 2rem;
}

.footer h3,
.footer h4 {
    color: white;
}

.footer-col p {
    margin-bottom: 0.5rem;
}

/* Form Success Message */
.form-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.form-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}