/*
Theme Name: Striker Pest Control
Theme URI: https://strikerpestcontrol.com
Author: Striker Pest Control
Author URI: https://strikerpestcontrol.com
Description: Custom theme for Striker Pest Control with automated schema support. Based on original Zyrosite design.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: striker-pest-control
*/

/* 
 * Theme Colors (extracted from original site)
 * Primary: #008361, #00b090 (green)
 * Secondary: #673de6, #5025d1 (purple)
 * Accent: #fea419, #ffcd35 (yellow/orange)
 * Text: #1d1e20, #36344d (dark)
 * Background: #fff, #f2f3f6 (light)
 */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600&family=Inter:wght@400;500&family=Roboto:wght@400&display=swap');

/* CSS Variables for Theme Colors - Matching Live Site */
:root {
    /* Primary Colors (Green) */
    --color-primary: #008361;
    --color-primary-light: #00b090;
    --color-primary-dark: #006b4f;
    
    /* Secondary Colors (Purple/Blue) */
    --color-secondary: #265ab2;
    --color-secondary-light: #357df9;
    --color-secondary-dark: #1F1346;
    
    /* Accent Colors (Yellow/Gold) - Header Background */
    --color-accent: #fea419;
    --color-accent-light: #ffcd35;
    --color-accent-gold: #FFD28C;
    --color-accent-gold-light: #fff8e2;
    
    /* Text Colors */
    --color-text: #1d1e20;
    --color-text-light: #36344d;
    --color-text-muted: #727586;
    --color-text-white: #ffffff;
    
    /* Background Colors */
    --color-bg: #ffffff;
    --color-bg-light: #f2f3f6;
    --color-bg-dark: #1d1e20;
    --color-bg-gold: #FFD28C;
    --color-bg-gold-light: #fff8e2;
    
    /* Fonts */
    --font-primary: 'Outfit', 'Roboto', Arial, sans-serif;
    --font-secondary: 'Inter', 'Roboto', Arial, sans-serif;
    --font-body: 'Roboto', Arial, sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary-dark);
}

/* Buttons */
.button,
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover,
.btn:hover {
    background-color: var(--color-primary-dark);
}

.button-secondary {
    background-color: var(--color-secondary);
}

.button-secondary:hover {
    background-color: var(--color-secondary-dark);
}

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

/* Header - Matching Live Site */
.site-header {
    background-color: var(--color-bg-gold);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 50px;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    font-family: var(--font-secondary);
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
    color: rgb(0, 0, 0);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text);
    cursor: pointer;
    font-size: 1rem;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 20px;
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-bg-gold);
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-container {
    display: flex;
    flex-direction: column;
}

.site-logo-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0;
    line-height: 1.2;
    letter-spacing: 1px;
}

.site-description {
    font-size: 0.75rem;
    color: var(--color-secondary);
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

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

.main-navigation a {
    color: var(--color-text);
    font-weight: 500;
}

.main-navigation a:hover {
    color: var(--color-primary);
}

/* Hero Section - Matching Live Site */
.hero-section {
    position: relative;
    min-height: 600px;
    background-color: #1d1e20;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
}

.hero-overlay {
    position: relative;
    background: rgba(0, 0, 0, 0.45);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: white;
}

.hero-button {
    background-color: var(--color-accent);
    color: var(--color-text);
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 2rem;
}

.hero-button:hover {
    background-color: var(--color-accent-light);
    color: var(--color-text);
}

.hero-rating {
    margin-top: 2rem;
}

.hero-rating .stars {
    color: var(--color-accent-light);
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.hero-tagline {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    margin: 0;
}

/* Family Section */
.family-section {
    background-color: var(--color-bg-gold);
    padding: 4rem 0;
}

.family-content {
    max-width: 1200px;
    margin: 0 auto;
}

.family-text h2 {
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: 2rem;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.testimonial .stars {
    color: var(--color-accent);
    font-size: 1.25rem;
}

/* Services Section */
.services-section {
    padding: 4rem 0;
    background-color: var(--color-bg);
}

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

.service-item {
    padding: 2rem;
    background: var(--color-bg-light);
    border-radius: 8px;
}

.service-item h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

/* Evaluation Section */
.evaluation-section {
    background-color: var(--color-bg-gold-light);
    padding: 4rem 0;
    text-align: center;
}

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

.evaluation-section h3 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
    background-color: var(--color-bg);
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

.testimonial-card .stars {
    color: var(--color-accent);
    font-size: 1.5rem;
    display: block;
    margin-bottom: 1.5rem;
}

.testimonial-card .testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.testimonial-card .testimonial-author {
    font-weight: 600;
    color: var(--color-text);
}

/* Footer - Matching Live Site */
.site-footer {
    background-color: rgb(25, 39, 82);
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
}

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

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section h5 {
    color: white;
    font-size: 1.625rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    line-height: 1.3;
    margin: 0;
}

.footer-label {
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 0.5rem 0;
}

.footer-phone,
.footer-email {
    color: white;
    font-size: 1rem;
    margin: 0;
}

.footer-phone a,
.footer-email a {
    color: white;
    text-decoration: none;
}

.footer-phone a:hover,
.footer-email a:hover {
    color: var(--color-accent-light);
}

.footer-social {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
}

.footer-social a {
    color: white;
    display: inline-block;
    transition: opacity 0.3s;
}

.footer-social a:hover {
    opacity: 0.8;
}

.footer-social svg {
    width: 51px;
    height: 51px;
}

.footer-copyright {
    grid-column: 1 / -1;
    text-align: left;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-copyright {
        grid-column: 1;
    }
}

/* Services Page Styles */
.services-page {
    background-color: #f5f9f7; /* Light green background */
}

.services-hero {
    background-color: #fff8e2; /* Light yellow/beige header */
    padding: 3rem 0 2rem;
}

.services-title {
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    text-align: center;
}

.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: var(--color-text-light);
}

.services-intro p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.services-content {
    background-color: #f5f9f7; /* Light green background */
    padding: 3rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #f2f3f6;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-content {
    padding: 1.5rem;
    text-align: center;
}

.service-card-content h3 {
    font-size: 1.25rem;
    color: var(--color-text);
    margin: 0;
    font-weight: 600;
}

.services-details {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.services-details .entry-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.services-details .entry-content h2 {
    color: var(--color-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.services-details .entry-content h2:first-child {
    margin-top: 0;
}

.services-details .entry-content h3 {
    color: var(--color-text);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.services-details .entry-content p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-title {
        font-size: 2rem;
    }
    
    .services-hero {
        padding: 2rem 0 1.5rem;
    }
    
    .services-content {
        padding: 2rem 0;
    }
}

