:root {
    --primary-color: #556B46;
    --primary-hover: #3F5232;
    --secondary-color: #E3EADB;
    --accent-color: #8C9E78;
    --text-dark: #081C15;
    --text-light: #F8F9FA;
    --bg-color: #F3EFE6;
    --card-bg: transparent;
    --font-heading: 'Times New Roman MT', 'Times New Roman', Times, serif;
    --font-body: 'Times New Roman MT', 'Times New Roman', Times, serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.text-light {
    color: var(--text-light);
}

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

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-light);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.3);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 106, 79, 0.5);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    background-color: var(--bg-color);
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('Hero%20shot.jpeg');
    background-size: cover;
    background-position: center 70%;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 80vh;
    justify-content: center;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

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

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    z-index: 10;
    animation: fadeIn 1s ease-out;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    color: var(--bg-color);
    margin-bottom: 1.5rem;
    max-width: 900px;
    font-style: italic;
    line-height: 1;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.4);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--bg-color);
    max-width: 700px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.4);
    position: absolute;
    bottom: 3%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    text-align: center;
}

/* CTA Banner */
.cta-banner {
    background-color: var(--bg-color);
    padding: 4rem 5% 1rem 5%;
    text-align: center;
}

/* Projects */
.projects {
    padding: 2rem 0 8rem;
    background-color: var(--bg-color);
}

.section-title {
    display: none;
}

.section-desc {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
    color: #555;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.service-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

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

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

.service-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-hover);
    font-weight: 600;
}

.service-info p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
    margin-top: auto;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary-hover);
}

.service-note {
    font-size: 0.9rem;
    color: #888;
}

.project-stars {
    font-size: 1.5rem;
    color: #FFD166;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

/* How It Works */
.how-it-works {
    padding: 6rem 0;
    background-color: var(--secondary-color);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.step-card {
    background: #ffffff;
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    background: var(--primary-color);
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: var(--font-heading);
    margin: 0 auto 1.5rem;
}

.step-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.step-card p {
    color: #555;
    font-size: 1rem;
}

/* Google Review Card */
.google-review {
    background: #fff;
    padding: 1.2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: left;
    margin-top: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.google-review-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.6rem;
}

.google-profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
}

.google-author-info {
    display: flex;
    flex-direction: column;
}

.google-author-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #202124;
    letter-spacing: normal;
}

.google-author-stats {
    font-size: 0.8rem;
    color: #70757a;
    letter-spacing: normal;
}

.google-review-stars {
    color: #fbbc04;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: normal;
}

.google-review-date {
    color: #70757a;
    font-size: 0.85rem;
}

.google-review-text {
    font-size: 0.95rem;
    color: #3c4043;
    line-height: 1.5;
    font-style: normal;
    letter-spacing: normal;
}

/* Reviews */
.reviews {
    padding: 8rem 0;
    background: var(--primary-color);
    position: relative;
}

.reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="5" cy="5" r="2" fill="rgba(255,255,255,0.05)"/></svg>');
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.review-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2.5rem;
    border-radius: 20px;
    color: var(--text-light);
    transition: var(--transition);
}

.review-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
}

.stars {
    color: #FFD166;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.review-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.review-author {
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--accent-color);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-visuals {
    position: relative;
    height: 500px;
}

.about-img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    object-fit: cover;
    position: absolute;
}

.main-img {
    width: 75%;
    height: 80%;
    top: 0;
    left: 0;
    z-index: 2;
    object-position: top center;
}

.secondary-img {
    width: 60%;
    height: 60%;
    bottom: 0;
    right: 0;
    z-index: 1;
    border: 8px solid #ffffff;
}

.about-text h3.about-intro {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.about-text p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-badges {
    list-style: none;
    margin-top: 2rem;
}

.about-badges li {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
}

/* Contact CTA */
/* Contact */
.contact {
    background-color: var(--secondary-color);
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info {
    padding-right: 2rem;
}

.contact-intro {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-icon {
    font-size: 2rem;
    background: #ffffff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.contact-method h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-method p, .contact-link {
    color: #444;
    text-decoration: none;
    font-size: 1rem;
}

.contact-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.contact-form-container {
    background: #ffffff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.05);
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-row .form-group {
    flex: 1;
}

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

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.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(140, 158, 120, 0.2);
}

.file-input {
    padding: 0.5rem 0;
}

.form-submit {
    width: 100%;
    margin-top: 1rem;
    padding: 1.2rem;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
}

/* Before and After Section */
.before-after {
    padding: 6rem 0;
    background-color: var(--bg-color);
}

.ba-slider-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.ba-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding-bottom: 1rem;
    scrollbar-width: none;
}

.ba-grid::-webkit-scrollbar {
    display: none;
}

.ba-card-home {
    flex: 0 0 100%;
    scroll-snap-align: center;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-wrap: wrap;
}

.ba-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.ba-arrow:hover {
    background: var(--primary-hover);
}

.ba-arrow.prev {
    left: -20px;
}

.ba-arrow.next {
    right: -20px;
}

.ba-images-home, .ba-images {
    flex: 1 1 50%;
    display: flex;
    width: 100%;
}

.ba-img-container {
    flex: 1;
    position: relative;
}

.ba-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ba-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

.ba-info {
    flex: 1 1 50%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ba-info h3 {
    color: var(--primary-hover);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.ba-details {
    list-style: none;
    margin-bottom: 2rem;
}

.ba-details li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: #444;
}

.btn-secondary {
    display: inline-block;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    align-self: flex-start;
}

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

/* Case Study Page */
.cs-hero {
    padding-top: 180px;
    padding-bottom: 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.cs-content {
    padding: 6rem 0;
    background: var(--bg-color);
}

.cs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.cs-text h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.cs-text h2:first-child {
    margin-top: 0;
}

.cs-text p {
    color: #444;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.cs-media .ba-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background-color: #ffffff;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

details {
    background-color: var(--secondary-color);
    margin-bottom: 1rem;
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--transition);
}

details[open] {
    background-color: var(--bg-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

summary {
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 2rem;
    color: var(--primary-hover);
    font-family: var(--font-heading);
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

details[open] summary::after {
    content: '−';
}

details p {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    color: #444;
}

.faq-footer {
    text-align: center;
    margin-top: 4rem;
}

.faq-footer p {
    font-size: 1.2rem;
    color: var(--primary-hover);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: var(--text-dark);
    color: #888;
}

/* Mobile Bottom Bar */
.mobile-bottom-bar {
    display: none;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-visuals {
        height: 400px;
    }
    
    .contact-info {
        padding-right: 0;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .ba-card-home {
        flex-direction: column;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .nav-links {
        display: none;
    }
    
    .btn-nav {
        display: none;
    }

    /* Show mobile bottom bar */
    .mobile-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
        justify-content: space-around;
        padding: 0.5rem 0;
    }

    .mobile-bar-btn {
        flex: 1;
        text-align: center;
        text-decoration: none;
        color: var(--text-dark);
        font-size: 0.85rem;
        font-weight: 600;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.2rem;
        padding: 0.5rem;
        border-right: 1px solid #eee;
    }

    .mobile-bar-btn:last-child {
        border-right: none;
    }

    .mobile-bar-btn.primary {
        color: var(--primary-color);
    }
    
    body {
        padding-bottom: 70px;
    }
}
