/* ============================================
   GARDEN OF EDEN TREE CARE & LANDSCAPING
   Professional Website Stylesheet
   ============================================ */

/* ============================================
   1. GLOBAL STYLES & VARIABLES
   ============================================ */

:root {
    --primary-green: #006400;
    --light-green: #f4fcf4;
    --accent-orange: #ff6600;
    --dark-gray: #1a1a1a;
    --medium-gray: #555555;
    --light-gray: #f8f8f8;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 6px 16px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--medium-gray);
    background-color: var(--white);
}

/* ============================================
   2. STICKY HEADER
   ============================================ */

.sticky-header {
    position: sticky;
    top: 0;
    background-color: var(--white);
    border-bottom: 2px solid var(--primary-green);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
}

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

.logo-section {
    flex: 1;
}

.logo {
    font-size: 1.5em;
    color: var(--primary-green);
    font-weight: 700;
    margin: 0;
}

.tagline {
    font-size: 0.85em;
    color: var(--accent-orange);
    margin: 0;
    font-weight: 500;
}

.header-contact {
    flex: 1;
    text-align: center;
}

.phone-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: var(--accent-orange);
}

.cta-button-header {
    background-color: var(--accent-orange);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.cta-button-header:hover {
    background-color: #e65c00;
}

/* ============================================
   3. HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, rgba(0, 100, 0, 0.85) 0%, rgba(255, 102, 0, 0.85) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f8f8f8" width="1200" height="600"/></svg>');
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    text-align: center;
    color: var(--white);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button-hero {
    display: inline-block;
    background-color: var(--accent-orange);
    color: var(--white);
    padding: 18px 40px;
    font-size: 1.2em;
    font-weight: 700;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 25px;
}

.cta-button-hero:hover {
    background-color: #e65c00;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 0.95em;
    font-weight: 600;
    margin-top: 30px;
}

.trust-badges span {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* ============================================
   4. SERVICES SECTION
   ============================================ */

.services {
    padding: 60px 20px;
    background-color: var(--white);
}

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

.section-title {
    font-size: 2.2em;
    color: var(--dark-gray);
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
}

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

.service-card {
    background-color: var(--light-green);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

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

.service-card p {
    color: var(--medium-gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.card-cta {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.card-cta:hover {
    background-color: #004d00;
}

/* ============================================
   5. WHY CHOOSE US SECTION
   ============================================ */

.why-choose-us {
    padding: 60px 20px;
    background-color: var(--light-gray);
}

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

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

.why-item {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-green);
}

.why-item h4 {
    font-size: 1.2em;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.why-item p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* ============================================
   6. PORTFOLIO SECTION
   ============================================ */

.portfolio {
    padding: 60px 20px;
    background-color: var(--white);
}

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

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

.portfolio-item {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.portfolio-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1.1em;
    font-weight: 600;
}

.portfolio-item h4 {
    font-size: 1.2em;
    color: var(--primary-green);
    padding: 15px 20px 10px;
}

.portfolio-item p {
    color: var(--medium-gray);
    padding: 0 20px 20px;
    font-size: 0.95em;
}

/* ============================================
   7. CONTACT FORM SECTION
   ============================================ */

.contact-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-green) 0%, #004d00 100%);
    color: var(--white);
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
}

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

.contact-subtitle {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.95);
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 8px;
    color: var(--dark-gray);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 5px rgba(0, 100, 0, 0.2);
}

.form-submit-button {
    width: 100%;
    padding: 15px;
    background-color: var(--accent-orange);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.form-submit-button:hover {
    background-color: #e65c00;
}

.form-note {
    text-align: center;
    font-size: 0.9em;
    color: var(--medium-gray);
    margin-top: 15px;
}

/* ============================================
   8. FOOTER
   ============================================ */

.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 40px 20px 20px;
}

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

.footer-section h4 {
    color: var(--accent-orange);
    margin-bottom: 15px;
    font-size: 1.1em;
}

.footer-section p {
    margin-bottom: 8px;
    line-height: 1.6;
}

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

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

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

.footer-section ul li {
    margin-bottom: 8px;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
}

/* ============================================
   9. RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 10px;
        padding: 10px 15px;
    }

    .logo {
        font-size: 1.2em;
    }

    .phone-link {
        font-size: 0.95em;
    }

    .cta-button-header {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .hero {
        padding: 50px 15px;
    }

    .hero-title {
        font-size: 1.8em;
    }

    .hero-subtitle {
        font-size: 1em;
    }

    .cta-button-hero {
        padding: 14px 30px;
        font-size: 1em;
    }

    .trust-badges {
        gap: 15px;
        font-size: 0.85em;
    }

    .trust-badges span {
        padding: 6px 12px;
    }

    .section-title {
        font-size: 1.8em;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 8px 10px;
    }

    .logo {
        font-size: 1em;
    }

    .tagline {
        font-size: 0.75em;
    }

    .phone-link {
        font-size: 0.85em;
    }

    .cta-button-header {
        padding: 8px 15px;
        font-size: 0.8em;
    }

    .hero {
        padding: 40px 10px;
    }

    .hero-title {
        font-size: 1.4em;
    }

    .hero-subtitle {
        font-size: 0.9em;
    }

    .trust-badges {
        flex-direction: column;
        gap: 10px;
    }

    .section-title {
        font-size: 1.4em;
        margin-bottom: 25px;
    }

    .service-card {
        padding: 20px;
    }

    .why-item {
        padding: 15px;
    }

    .contact-form {
        padding: 15px;
    }
}
