/* 
==============================================
GreenSpray.site Styles
Author: GreenSpray Team
==============================================
*/

/* ===== BASE STYLES ===== */
:root {
    /* Colors */
    --primary-color: #8BC34A;
    --primary-dark: #689F38;
    --primary-light: #AED581;
    --secondary-color: #4CAF50;
    --secondary-dark: #388E3C;
    --secondary-light: #81C784;
    --accent-color: #2196F3;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-light: #F8F9FA;
    --bg-dark: #EAEFEA;
    --border-color: #E0E0E0;
    
    /* Typography */
    --heading-font: 'Nunito Sans', sans-serif;
    --body-font: 'Lato', sans-serif;
    
    /* Spacing */
    --section-spacing: 4rem;
    --container-padding: 1.5rem;
    
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    
    /* Transitions */
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 {
    font-size: 2.75rem;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1.25rem;
}

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

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

ul, ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

section {
    padding: var(--section-spacing) 0;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

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

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

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

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

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: relative;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: white;
    padding-bottom: 2rem;
}

.header-inner {
    padding-bottom: 0;
}

.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.logo a {
    display: flex;
    align-items: center;
    color: var(--primary-dark);
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo img {
    height: 2.5rem;
    margin-right: 0.75rem;
}

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

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 600;
    padding: 0.5rem;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all var(--transition-speed) ease;
}

/* Hero Section */
.hero {
    padding: 6rem 0 2rem;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Page Title */
.page-title {
    padding: 4rem 0 2rem;
    text-align: left;
}

.page-title h1 {
    color: white;
    margin-bottom: 0.5rem;
}

.page-title p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 0;
}

/* ===== WAVE DIVIDERS ===== */
.wave-divider {
    position: relative;
    height: 70px;
    width: 100%;
    background-color: var(--bg-color);
    margin-top: -2px;
}

.wave-divider::before {
    content: '';
    position: absolute;
    top: -70px;
    left: 0;
    width: 100%;
    height: 70px;
    background-image: url('../images/wave-divider.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
}

.wave-divider-flip {
    transform: rotate(180deg);
    margin-bottom: -2px;
    margin-top: 0;
}

/* ===== BENEFITS SECTION ===== */
.benefits {
    background-color: var(--bg-light);
    text-align: center;
}

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

.benefit-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    margin: 0 auto 1.5rem;
    width: 60px;
    height: 60px;
}

.benefit-icon img {
    width: 100%;
    height: 100%;
}

/* ===== SERVICES PREVIEW ===== */
.services-preview {
    text-align: center;
}

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

.service-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

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

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

.service-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
}

.service-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
}

.services-cta {
    margin-top: 3rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background-color: var(--bg-light);
    text-align: center;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial p {
    font-style: italic;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.client-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.client-name {
    font-weight: 700;
    color: var(--primary-dark);
}

.client-location {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

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

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

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

.cta-content .btn-primary:hover {
    background-color: var(--bg-light);
}

/* ===== ABOUT PAGE ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

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

.mission-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.mission-icon {
    margin-bottom: 1.5rem;
    width: 50px;
    height: 50px;
}

.process-steps {
    max-width: 800px;
    margin: 3rem auto 0;
}

.process-step {
    display: flex;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

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

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member h3 {
    padding: 1.5rem 1.5rem 0.25rem;
}

.team-member .member-title {
    padding: 0 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.team-member p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
}

/* ===== SERVICES PAGE ===== */
.service-intro {
    text-align: center;
    padding-bottom: 0;
}

.service-intro-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.25rem;
}

.service-detail {
    padding: 4rem 0;
}

.service-drip {
    background-color: rgba(139, 195, 74, 0.05);
}

.service-sprinkler {
    background-color: var(--bg-light);
}

.service-manual {
    background-color: rgba(139, 195, 74, 0.05);
}

.service-seasonal {
    background-color: var(--bg-light);
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.service-content.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.service-content.reverse .service-text {
    direction: ltr;
}

.service-content.reverse .service-image {
    direction: ltr;
}

.service-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    margin-bottom: 1.5rem;
    width: 60px;
    height: 60px;
}

.service-text h2 {
    color: var(--primary-dark);
}

.service-text ul {
    margin-bottom: 2rem;
}

.service-text .btn {
    margin-top: 0.5rem;
}

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

.pricing-feature {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.feature-icon {
    margin: 0 auto 1.5rem;
    width: 50px;
    height: 50px;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
    font-size: 1.125rem;
}

/* ===== CONTACT PAGE ===== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-container h2 {
    margin-bottom: 1rem;
}

.contact-form-container p {
    margin-bottom: 2rem;
}

.contact-form {
    margin-top: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--body-font);
    font-size: 1rem;
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.25);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 0.75rem;
    margin-top: 0.3rem;
}

.required {
    color: #d32f2f;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-image {
    margin-bottom: 2rem;
}

.contact-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.contact-details h3 {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    margin-bottom: 1.5rem;
}

.contact-icon {
    margin-right: 1rem;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.contact-text span {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-text p {
    margin-bottom: 0;
}

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

.faq-item {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.faq-item p {
    margin-bottom: 0;
}

/* ===== LEGAL PAGES ===== */
.legal-content {
    padding: 3rem 0;
}

.legal-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.last-updated {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h3 {
    margin-top: 2rem;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 4rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 2.5rem;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 1.25rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-speed) ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    max-width: 400px;
    width: 90%;
    z-index: 1000;
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cookie-content p {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    text-align: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero .container,
    .about-content,
    .service-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-content.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image {
        order: 2;
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 3rem;
    }
    
    .nav-menu {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: top var(--transition-speed) ease;
    }
    
    .nav-menu.active {
        top: 0;
    }
    
    .nav-menu li {
        margin: 0.75rem 0;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero {
        padding: 4rem 0 2rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    :root {
        --section-spacing: 2.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .page-title {
        padding: 3rem 0 1.5rem;
    }
    
    .wave-divider {
        height: 50px;
    }
    
    .wave-divider::before {
        top: -50px;
        height: 50px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
} 