/*
Theme Name: VenturaBeePros
Description: A professional yet homegrown WordPress theme designed specifically for VenturaBeePros.com - Environmentally Friendly Bee Removal Services in Ventura County and surrounding areas. Features warm, earthy colors and bee-inspired design elements.
Author: VenturaBeePros
Version: 1.0
License: GPL v2 or later
Text Domain: venturabeepros
*/

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

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #faf8f5;
}

/* Color Palette - Bee and Nature Inspired */
:root {
    --primary-gold: #f39c12;
    --secondary-gold: #f1c40f;
    --dark-brown: #8b4513;
    --light-brown: #d2691e;
    --cream: #fdf6e3;
    --honey: #ffa500;
    --forest-green: #27ae60;
    --sage-green: #95a5a6;
    --white: #ffffff;
    --black: #2c3e50;
    --gray: #7f8c8d;
    --light-gray: #ecf0f1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-brown);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

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

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

/* Header */
.site-header {
    background: linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
    border-bottom: 3px solid var(--primary-gold);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.site-logo {
    width: 60px;
    height: 60px;
    background: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    font-weight: bold;
    flex-shrink: 0;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-brown);
    margin: 0;
}

.site-description {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

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

.menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.menu li {
    position: relative;
}

.menu a {
    color: var(--dark-brown);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.menu a:hover {
    background-color: var(--primary-gold);
    color: var(--white);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: var(--primary-gold);
    color: var(--white);
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s ease;
}

.menu-toggle:hover {
    background: var(--dark-brown);
}

.menu-toggle .dashicons {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--cream) 0%, var(--secondary-gold) 100%);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23f39c12" opacity="0.1"/><circle cx="80" cy="40" r="1.5" fill="%23f39c12" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="%23f39c12" opacity="0.1"/></svg>');
    pointer-events: none;
}

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

.hero-title {
    font-size: 3rem;
    color: var(--dark-brown);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--light-brown);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: var(--primary-gold);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    min-width: 200px;
    text-align: center;
}

.cta-button:hover {
    background: var(--dark-brown);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
    color: var(--white);
}

/* Main Content */
.site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.content-area {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

/* Posts and Pages */
.post, .page {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-left: 5px solid var(--primary-gold);
}

.post-title, .page-title {
    color: var(--dark-brown);
    margin-bottom: 1rem;
}

.post-meta {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-content {
    line-height: 1.8;
}

/* Sidebar */
.widget-area {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: fit-content;
}

.widget {
    margin-bottom: 2rem;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    color: var(--dark-brown);
    border-bottom: 2px solid var(--primary-gold);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.widget ul {
    list-style: none;
}

.widget li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.widget li:last-child {
    border-bottom: none;
}

/* Custom Sidebar Widgets */
.services-widget {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-item {
    background: var(--cream);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-3px);
}

.service-item .service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.service-item h4 {
    color: var(--dark-brown);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.service-item p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

.contact-widget {
    text-align: center;
}

.contact-widget p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.emergency-text {
    color: var(--forest-green);
    font-weight: 600;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.service-areas {
    list-style: none;
    padding: 0;
}

.service-areas li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
    color: var(--gray);
}

.service-areas li:last-child {
    border-bottom: none;
    font-style: italic;
}

/* Footer */
.site-footer {
    background: var(--dark-brown);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

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

.footer-widget h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.footer-widget p, .footer-widget a {
    color: var(--cream);
}

.footer-widget a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--light-brown);
    color: var(--gray);
}

/* Services Section */
.services-section {
    background: var(--white);
    padding: 3rem 0;
    margin: 3rem 0;
}

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

.service-card {
    background: var(--cream);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gold);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    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(--primary-gold);
}

.submit-button {
    background: var(--primary-gold);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background: var(--dark-brown);
}

/* Search Form */
.search-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.search-field {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
}

.search-submit {
    background: var(--primary-gold);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.search-submit:hover {
    background: var(--dark-brown);
}

/* Error Pages */
.error-404, .no-results {
    text-align: center;
    padding: 3rem 0;
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    opacity: 0.7;
}

.error-suggestions {
    margin-top: 3rem;
    text-align: left;
}

.suggestion-links {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.popular-services {
    background: var(--cream);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.popular-services h4 {
    color: var(--dark-brown);
    margin-bottom: 1rem;
}

.popular-services ul {
    list-style: none;
    padding: 0;
}

.popular-services li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.popular-services li:last-child {
    border-bottom: none;
}

.search-suggestions {
    background: var(--cream);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.search-suggestions h3 {
    color: var(--dark-brown);
    margin-bottom: 1rem;
}

.search-suggestions ul {
    list-style: none;
    padding: 0;
}

.search-suggestions li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.search-suggestions li:last-child {
    border-bottom: none;
}

/* Service Meta */
.service-meta {
    background: var(--cream);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.service-price,
.service-duration {
    color: var(--dark-brown);
    font-weight: 600;
}

.service-emergency {
    color: var(--forest-green);
    font-weight: 600;
}

/* Pagination */
.navigation.pagination {
    margin: 2rem 0;
    text-align: center;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.page-numbers {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    color: var(--dark-brown);
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background: var(--primary-gold);
    color: var(--white);
    border-color: var(--primary-gold);
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .header-container,
    .site-main,
    .footer-content {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Typography adjustments for mobile */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    h5 { font-size: 1.1rem; }
    h6 { font-size: 1rem; }
    
    /* Header mobile styles */
    .header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .site-branding {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .site-logo {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    .site-description {
        font-size: 0.8rem;
    }
    
    /* Mobile navigation */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin-top: 1rem;
    }
    
    .menu {
        display: none;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        margin-top: 1rem;
    }
    
    .menu.toggled {
        display: flex;
    }
    
    .menu li {
        width: 100%;
    }
    
    .menu a {
        display: block;
        padding: 1.25rem;
        text-align: center;
        border-radius: 8px;
        background: var(--cream);
        margin-bottom: 0.5rem;
        font-size: 1rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .menu a:hover {
        background: var(--primary-gold);
        color: var(--white);
    }
    
    /* Hero section mobile */
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        min-width: 180px;
    }
    
    /* Main content mobile */
    .site-main {
        padding: 2rem 1rem;
    }
    
    .content-area {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .post, .page {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* Sidebar mobile */
    .widget-area {
        padding: 1.5rem;
        order: -1;
    }
    
    .service-item {
        padding: 1rem;
    }
    
    .service-item .service-icon {
        font-size: 2rem;
    }
    
    /* Footer mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .site-footer {
        padding: 2rem 0 1rem;
    }
    
    /* Services grid mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    /* Form mobile */
    .contact-form {
        padding: 1.5rem;
    }
    
    .search-form {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .search-submit {
        width: 100%;
        padding: 1rem;
    }
    
    /* Error pages mobile */
    .suggestion-links {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .suggestion-links .cta-button {
        width: 100%;
        max-width: 250px;
    }
    
    .popular-services,
    .search-suggestions {
        padding: 1.5rem;
    }
    
    /* Service meta mobile */
    .service-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Pagination mobile */
    .nav-links {
        gap: 0.25rem;
    }
    
    .page-numbers {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    /* Extra small devices */
    .header-container {
        padding: 0.75rem;
    }
    
    .site-logo {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .site-title {
        font-size: 1.3rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
        min-width: 160px;
    }
    
    .site-main {
        padding: 1.5rem 0.75rem;
    }
    
    .post, .page {
        padding: 1rem;
    }
    
    .widget-area {
        padding: 1rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .footer-content {
        padding: 0 0.75rem;
    }
    
    .services-grid {
        padding: 0 0.75rem;
    }
    
    .service-card {
        padding: 1rem;
    }
    
    .popular-services,
    .search-suggestions {
        padding: 1rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .menu a,
    .cta-button,
    .search-submit,
    .submit-button,
    .page-numbers {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .service-item:hover,
    .service-card:hover {
        transform: none;
    }
    
    .cta-button:hover {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .site-header {
        border-bottom-width: 4px;
    }
    
    .cta-button {
        border: 2px solid var(--dark-brown);
    }
    
    .menu a {
        border: 1px solid var(--dark-brown);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .cta-button:hover,
    .service-item:hover,
    .service-card:hover {
        transform: none;
    }
}

/* Bee-themed decorative elements */
.bee-accent {
    position: relative;
}

.bee-accent::before {
    content: '🐝';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 1.5rem;
    opacity: 0.7;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--light-gray);
    border-radius: 50%;
    border-top-color: var(--primary-gold);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Skip link */
.skip-link {
    background-color: var(--primary-gold);
    color: var(--white);
    font-weight: 700;
    left: 6px;
    padding: 8px 16px;
    position: absolute;
    text-decoration: none;
    top: 6px;
    transform: translateY(-100px);
    transition: transform 0.3s;
}

.skip-link:focus {
    transform: translateY(0);
} 