/*
Theme Name: Eagle Creek Outdoor Living
Theme URI: https://eaglecreekoutdoor.com
Author: Eagle Creek Team
Author URI: https://eaglecreekoutdoor.com
Description: A custom WordPress theme for Eagle Creek Outdoor Living - Professional landscaping and hardscaping services
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eagle-creek
Tags: business, landscaping, outdoor, custom-menu, featured-images, flexible-header, custom-colors
*/

/* ===================================
   CSS Variables - Color Scheme
   =================================== */
:root {
    --primary-green: #2d5016;
    --secondary-green: #4a7c2f;
    --accent-brown: #8b6f47;
    --dark-text: #1a1a1a;
    --light-bg: #f8f8f8;
    --white: #ffffff;
    --gray-light: #e5e5e5;
    --gray-medium: #666666;
    --cta-orange: #d97706;
    --cta-hover: #b45309;
}

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

body {
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Georgia', serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

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;
}

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

a:hover {
    color: var(--secondary-green);
}

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

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

.section-padding {
    padding: 80px 0;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--cta-orange);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--cta-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--secondary-green);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

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

/* ===================================
   Header Styles
   =================================== */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 10px 0;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-contact a {
    color: var(--white);
    margin-right: 20px;
    font-size: 14px;
}

.header-social a {
    color: var(--white);
    margin-left: 15px;
    font-size: 18px;
}

.header-main {
    padding: 20px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    max-height: 80px;
    width: auto;
}

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

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-navigation ul li {
    position: relative;
}

.main-navigation ul li a {
    color: var(--dark-text);
    font-weight: 600;
    font-size: 16px;
    padding: 10px 0;
}

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

.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    min-width: 200px;
    padding: 10px 0;
}

.main-navigation ul li:hover .sub-menu {
    display: flex;
}

.main-navigation .sub-menu li {
    padding: 0;
}

.main-navigation .sub-menu li a {
    padding: 10px 20px;
    display: block;
}

.header-cta {
    display: flex;
    gap: 15px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary-green);
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(45, 80, 22, 0.8), rgba(45, 80, 22, 0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

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

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-divider {
    width: 100px;
    height: 3px;
    background-color: var(--cta-orange);
    margin: 20px auto;
}

/* ===================================
   About Section
   =================================== */
.about-section {
    background-color: var(--light-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    color: var(--primary-green);
    margin-bottom: 20px;
}

.about-text h5 {
    color: var(--accent-brown);
    margin-bottom: 15px;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-images img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* ===================================
   Gallery Section
   =================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ===================================
   Services Section
   =================================== */
.services-section {
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: var(--primary-green);
    font-size: 2.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-medium);
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

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

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

.service-image {
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
    text-align: center;
}

.service-content h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-content p {
    color: var(--gray-medium);
    margin-bottom: 20px;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-section h6 {
    color: var(--white);
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ===================================
   Footer Styles
   =================================== */
.site-footer {
    background-color: var(--dark-text);
    color: var(--white);
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-widget h4 {
    color: var(--cta-orange);
    margin-bottom: 20px;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    color: var(--gray-light);
    font-size: 15px;
}

.footer-widget ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-widget p {
    color: var(--gray-light);
    font-size: 15px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    font-size: 18px;
}

.footer-social a:hover {
    background-color: var(--cta-orange);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #0a0a0a;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-light);
    font-size: 14px;
    margin: 0;
}

.footer-cta {
    background-color: var(--primary-green);
    padding: 40px 0;
    text-align: center;
}

.footer-cta h3 {
    color: var(--white);
    margin-bottom: 20px;
}

/* ===================================
   Contact Form
   =================================== */
.contact-form {
    max-width: 600px;
    margin: 40px auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-light);
    border-radius: 5px;
    font-size: 15px;
    font-family: inherit;
}

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

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

/* ===================================
   Service Page Template
   =================================== */
.service-hero {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 80, 22, 0.7);
}

.service-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.service-hero-content h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.service-detail-section {
    padding: 80px 0;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.service-description h2 {
    color: var(--primary-green);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin: 30px 0;
}

.service-features li {
    padding: 12px 0 12px 35px;
    position: relative;
    border-bottom: 1px solid var(--gray-light);
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 20px;
}

.service-sidebar {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    height: fit-content;
}

.service-sidebar h3 {
    color: var(--primary-green);
    margin-bottom: 20px;
}

/* ===================================
   Responsive Styles
   =================================== */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .service-detail-content {
        grid-template-columns: 1fr;
    }
    
    .main-navigation ul {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .header-main .container {
        flex-wrap: wrap;
    }
    
    .main-navigation {
        display: none;
        width: 100%;
        flex-direction: column;
        background-color: var(--white);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        padding: 20px;
    }
    
    .main-navigation.active {
        display: flex;
    }
    
    .main-navigation ul {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .about-images {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .header-cta {
        width: 100%;
        justify-content: center;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}
