/*
Theme Name: LEAP Management Theme
Theme URI: http://localhost:8080/wordpress
Author: LEAP Management Inc
Author URI: http://localhost:8080
Description: Professional environmental consulting theme for LEAP Management Inc
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: leap-theme
Tags: business, consulting, environmental, professional, responsive
*/

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

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    background-color: #f5f5f5;
}

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

/* Header */
.site-header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-branding {
    flex-shrink: 0;
}

.logo-link {
    display: block;
}

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

/* Navigation */
.main-navigation {
    margin-top: 0;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    align-items: center;
}

.main-navigation a {
    color: #3d5a47;
    text-decoration: none;
    padding: 8px 16px;
    transition: all 0.3s ease;
    font-weight: 500;
    border-radius: 4px;
    font-size: 15px;
}

.main-navigation a:hover {
    background-color: rgba(61, 90, 71, 0.1);
    transform: translateY(-2px);
}

/* Main Content */
.site-content {
    padding: 60px 0;
    min-height: calc(100vh - 300px);
    background-color: #fff;
}

/* Posts */
.post {
    background: #fff;
    padding: 40px;
    margin-bottom: 40px;
    border-left: 4px solid #4a8c4e;
}

.entry-title {
    font-size: 36px;
    margin-bottom: 15px;
    color: #3d5a47;
    font-weight: 700;
}

.entry-title a {
    color: #3d5a47;
    text-decoration: none;
}

.entry-title a:hover {
    color: #5a7c5e;
}

.entry-meta {
    color: #777;
    font-size: 14px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.entry-content {
    line-height: 1.9;
    color: #444;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content h2 {
    color: #3d5a47;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 28px;
}

.entry-content h3 {
    color: #5a7c5e;
    margin-top: 25px;
    margin-bottom: 12px;
    font-size: 22px;
}

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

.entry-content ul, .entry-content ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.entry-content li {
    margin-bottom: 10px;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #3d5a47 0%, #5a7c5e 100%);
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 18px;
    margin: 20px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(61, 90, 71, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(61, 90, 71, 0.4);
}

/* Services Section */
.service-category ul {
    line-height: 1.8;
    color: #444;
}

.services-banner {
    width: 100vw;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-bottom: 40px;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.service-item {
    background: #f9f9f9;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    border-left: 5px solid #7fa083;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 90px;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.service-item h3 {
    color: #3d5a47;
    margin-bottom: 15px;
    font-size: 24px;
    display: flex;
    align-items: center;
}

.service-icon {
    position: absolute;
    left: 20px;
    top: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3d5a47 0%, #5a7c5e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.service-item ul {
    margin-left: 20px;
    margin-top: 15px;
}

.service-item li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 10px;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #2a3f30 0%, #3d5a47 100%);
    color: #fff;
    padding: 40px 0 20px;
    text-align: center;
}

.site-footer a {
    color: #e8f5e9;
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer a:hover {
    color: #fff;
}

.site-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 14px;
}

/* Hero Section */
.hero-section {
    position: relative;
    color: #fff;
    padding: 100px 20px;
    text-align: center;
    overflow: hidden;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(61, 90, 71, 0.75) 0%, rgba(90, 124, 94, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-section p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #e8f5e9;
}

/* About Section */
.about-section {
    background: #f9f9f9;
    padding: 60px 0;
}

.about-section h2 {
    color: #3d5a47;
    font-size: 36px;
    margin-bottom: 30px;
    text-align: center;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.9;
}

.about-image {
    width: 100vw;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 30px 0;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Bio Section */
.bio-section {
    background: #fff;
    padding: 40px;
    margin: 30px 0;
    border-left: 5px solid #7fa083;
}

.bio-section h3 {
    color: #3d5a47;
    font-size: 24px;
    margin-bottom: 15px;
}

/* FAQ Section */
.faq-item {
    background: #fff;
    margin-bottom: 15px;
    border-left: 4px solid #7fa083;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.faq-question {
    color: #3d5a47;
    font-size: 18px;
    font-weight: 600;
    padding: 20px 60px 20px 25px;
    margin: 0;
    cursor: pointer;
    position: relative;
    user-select: none;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f5f5f5;
}

.faq-question::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    color: #7fa083;
    font-size: 16px;
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 20px 25px;
}

.faq-answer p {
    color: #444;
    line-height: 1.8;
    margin: 0;
}

/* Contact CTA */
.contact-cta {
    background: #fff;
    padding: 60px 0;
    margin: 40px 0;
}

.contact-cta h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #3d5a47;
    text-align: center;
}

.contact-intro {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
    color: #444;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
}

.contact-form {
    text-align: left;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #3d5a47;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    background: #fff;
    color: #333;
    font-size: 16px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3d5a47;
}

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

.form-submit {
    text-align: left;
}

.submit-button {
    background: linear-gradient(135deg, #3d5a47 0%, #5a7c5e 100%);
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(61, 90, 71, 0.3);
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(61, 90, 71, 0.4);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.9);
    color: #fff;
}

.form-message.error {
    background: rgba(244, 67, 54, 0.9);
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .header-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .site-logo {
        height: 60px;
    }

    .main-navigation {
        width: 100%;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 10px;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .main-navigation a {
        padding: 8px 12px;
        font-size: 14px;
    }

    .entry-title {
        font-size: 28px;
    }

    .hero-section {
        background-attachment: scroll;
    }

    .services-banner {
        background-attachment: scroll;
    }

    .about-image {
        background-attachment: scroll;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-section h1 {
        font-size: 32px;
    }

    .hero-section p {
        font-size: 18px;
    }

    .about-section h2 {
        font-size: 28px;
    }

    .post {
        padding: 25px;
    }

    .service-item {
        padding: 20px;
        padding-left: 20px;
    }

    .service-icon {
        position: static;
        margin-bottom: 15px;
    }

    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

/* WPForms Custom Styling */
.wpforms-container {
    text-align: left;
}

.wpforms-field-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #3d5a47 !important;
    font-size: 16px;
}

.wpforms-field-required {
    color: #3d5a47 !important;
}

.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field input[type="tel"],
.wpforms-field textarea {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 5px !important;
    background: #fff !important;
    color: #333 !important;
    font-size: 16px !important;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    transition: all 0.3s ease !important;
}

.wpforms-field input:focus,
.wpforms-field textarea:focus {
    outline: none !important;
    border-color: #3d5a47 !important;
}

.wpforms-field textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

.wpforms-submit-container {
    text-align: left !important;
}

.wpforms-submit {
    background: linear-gradient(135deg, #3d5a47 0%, #5a7c5e 100%) !important;
    color: #fff !important;
    padding: 15px 40px !important;
    border: none !important;
    border-radius: 5px !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(61, 90, 71, 0.3) !important;
}

.wpforms-submit:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(61, 90, 71, 0.4) !important;
}

.wpforms-confirmation-container-full {
    margin-top: 20px !important;
    padding: 15px !important;
    border-radius: 5px !important;
    text-align: center !important;
    font-weight: 500 !important;
    background: rgba(76, 175, 80, 0.9) !important;
    color: #fff !important;
    border: none !important;
}

.wpforms-error-container {
    margin-top: 20px !important;
    padding: 15px !important;
    border-radius: 5px !important;
    text-align: center !important;
    font-weight: 500 !important;
    background: rgba(244, 67, 54, 0.9) !important;
    color: #fff !important;
    border: none !important;
}

/* Remove WPForms default margins */
.wpforms-field {
    margin-bottom: 20px !important;
    padding: 0 !important;
}

.wpforms-field-container {
    margin: 0 !important;
}
