/*
Theme Name: Brushy Creek Sprinkler Repair
Theme URI: https://sprinklerrepairbrushycreek.com
Author: Brushy Creek Sprinkler Repair
Author URI: https://sprinklerrepairbrushycreek.com
Description: Professional WordPress theme for Brushy Creek Sprinkler Repair - Expert irrigation services in Brushy Creek, TX. Features full SEO optimization, Local Business schema markup, responsive design with slide-out mobile menu, click-to-call functionality, and customizable business settings.
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: brushycreek-sprinkler
Tags: one-column, custom-menu, custom-logo, featured-images, theme-options, translation-ready

Brushy Creek Sprinkler Repair Theme - Professional Irrigation Services WordPress Theme
*/

:root {
    --primary: #1e6f5c;
    --secondary: #29a373;
    --accent: #6fedd6;
    --text: #2d3748;
    --light: #f0fdf9;
    --white: #ffffff;
    --dark: #134e3d;
}

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

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

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

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background-color: var(--primary);
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.site-logo .site-title {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-navigation ul li a {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item a {
    color: var(--accent);
    background-color: rgba(255,255,255,0.1);
}

/* Mobile Menu Button */
.mobile-menu-toggle {
    display: none;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    cursor: pointer;
    padding: 10px;
    z-index: 1003;
    position: relative;
}

.mobile-menu-toggle:hover {
    background: rgba(255,255,255,0.2);
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    position: relative;
    pointer-events: none;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.3);
    pointer-events: none;
}

.mobile-menu-toggle.active .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Slide-out Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background-color: var(--primary);
    z-index: 1002;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 2rem;
    box-shadow: -5px 0 20px rgba(0,0,0,0.2);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-logo {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.mobile-menu-logo .site-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
}

.mobile-menu-close:hover {
    color: var(--accent);
}

.mobile-menu ul,
.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu ul li,
.mobile-nav-list li {
    margin-bottom: 0.5rem;
}

.mobile-menu ul li a,
.mobile-nav-list li a {
    color: var(--white);
    font-size: 1.1rem;
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.mobile-menu ul li a:hover,
.mobile-nav-list li a:hover {
    background-color: rgba(255,255,255,0.1);
}

.mobile-menu-contact {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.mobile-menu-contact .btn {
    width: 100%;
    text-align: center;
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 70px;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.hero-subtext {
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--secondary);
    color: var(--white);
    border: 2px solid var(--secondary);
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Announcement Bar */
.announcement-bar {
    background-color: var(--secondary);
    color: var(--white);
    padding: 1rem;
    text-align: center;
}

.announcement-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.announcement-bar .btn {
    background-color: #ffffff;
    color: var(--primary);
    border: 2px solid #ffffff;
    font-weight: 700;
}

.announcement-bar .btn:hover {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* Section Styles */
.section {
    padding: 5rem 2rem;
}

.section-light {
    background-color: var(--light);
}

.section-white {
    background-color: var(--white);
}

.section-primary {
    background-color: var(--primary);
    color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-primary .section-title h2 {
    color: var(--white);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text);
}

.section-primary .section-title p {
    color: var(--accent);
}

/* Service Intro */
.service-intro {
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.service-text h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.rounded-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text);
    line-height: 1.7;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateX(5px);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.feature h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--text);
    line-height: 1.6;
}

/* Reviews Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.stars {
    color: #f6e05e;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-card p {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.review-card h4 {
    color: var(--primary);
}

/* CTA Section */
.cta-section {
    padding: 5rem 2rem;
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--accent);
}

/* Footer */
.site-footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: #a0aec0;
}

.footer-section a {
    color: var(--accent);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid #4a5568;
    text-align: center;
    color: #718096;
}

/* Mobile Click-to-Call Bar */
.mobile-call-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary);
    padding: 1rem;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.mobile-call-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
}

.mobile-call-bar i {
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Page Templates */
.page-header {
    background-color: var(--primary);
    padding: 8rem 2rem 4rem;
    text-align: center;
    color: var(--white);
    margin-top: 70px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--accent);
}

.page-content {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.page-content h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.page-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Contact Info Grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-info-item {
    text-align: center;
    padding: 2rem;
    background: var(--light);
    border-radius: 8px;
}

.contact-info-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-info-item h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Service Areas */
.service-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.service-area-item {
    background: var(--light);
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.service-area-item:hover {
    background: var(--accent);
}

/* About Page */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.about-image {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
    padding: 2rem;
    background: var(--light);
    border-radius: 8px;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.team-member h3 {
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.team-member .position {
    color: var(--secondary);
    font-style: italic;
}

/* Service Detail Cards */
.service-detail-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 2.5rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.service-detail-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.service-detail-icon {
    flex-shrink: 0;
}

.service-detail-icon i {
    font-size: 3.5rem;
    color: var(--primary);
}

.service-detail-content {
    flex: 1;
}

.service-detail-content h3 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-detail-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.service-detail-content h4 {
    color: var(--primary);
    margin: 1.5rem 0 1rem;
    font-size: 1.1rem;
}

.service-detail-content ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-detail-content ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .service-detail-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .service-detail-content ul {
        text-align: left;
    }
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: var(--light);
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #e2e8f0;
}

.faq-answer {
    padding: 1.5rem;
    display: none;
    background: var(--white);
}

.faq-item.active .faq-answer {
    display: block;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .service-intro,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .main-navigation ul {
        gap: 1rem;
    }
    
    .main-navigation ul li a {
        padding: 0.5rem 0.75rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-call-bar {
        display: block;
    }

    body {
        padding-bottom: 70px;
    }
    
    .header-inner {
        padding: 0 1rem;
    }
    
    .site-logo img {
        height: 40px;
    }

    .hero-section {
        min-height: 60vh;
        margin-top: 60px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .page-header {
        padding: 5rem 1rem 2rem;
        margin-top: 60px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .features-grid,
    .services-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .announcement-content {
        flex-direction: column;
    }
}

/* WordPress Core Styles */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.9rem;
    color: #718096;
    font-style: italic;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
