/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&family=Montserrat:wght@500;700&family=Merriweather:wght@700&display=swap');

/* Make header logo bigger */
.header .logo img {
    height: 70px; /* increased size */
}

/* Hero content with logo and text side by side */
.hero .hero-content {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
    color: var(--light-text);
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Hero logo styling - doubled size */
.hero-logo img {
    height: 180px; /* doubled from 90px */
    width: auto;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* Text block inside hero */
.hero-text h1 {
    font-family: 'Baloo 2', cursive;
    font-size: 2.8rem;
    margin-bottom: 12px;
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    line-height: 1.1;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    color: #b8864b; /* slightly darker brown */
}

/* Decorative underline under hero heading */
.hero-text h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--light-blue);
    border-radius: 4px;
    margin: 8px 0 0 0;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-weight: 400;
    font-style: italic;
    max-width: 460px;
    color: #b8864b; /* slightly darker brown */
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-logo img {
        height: 140px;
        margin-bottom: 20px;
    }
    .hero-text h1 {
        font-size: 2.4rem;
    }
}

/* Root variables */
:root {
    --primary-green: #89ab62; /* darkest green in hero */
    --secondary-green: #7a9b57;
    --accent-blue: #4caf50;
    --light-blue: #c8e6c9;
    --light-bg: #fafafa;
    --dark-text: #212121;
    --light-text: #ffffff;
    --shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition-speed: 0.35s;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    background-color: var(--light-bg);
    line-height: 1.65;
    font-size: 16px;
    letter-spacing: 0.015em;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header styles */
.header {
    background-color: var(--light-text);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 10px 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 0.04em;
}

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

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

.logo img {
    height: 48px;
    width: auto;
    border-radius: 6px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo h2 {
    font-family: 'Indie Flower', cursive;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary-green);
    user-select: none;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: color 0.3s ease;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 18px;
    font-weight: 600;
    font-size: 0.95rem;
}

.nav ul li a {
    text-decoration: none;
    color: #b76e50;
    padding: 8px 14px;
    border-radius: var(--border-radius);
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
    display: inline-block;
}

.nav ul li a:hover,
.nav ul li a.active {
    background-color: var(--primary-green);
    color: #b76e50;
    box-shadow: var(--shadow);
}

/* Hero sections background */
.hero,
.contact-hero,
.footer {
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.3) 12%, rgba(137, 171, 98, 0.9) 90%);
    box-shadow: var(--shadow);
}

.hero {
    height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    border-radius: var(--border-radius);
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.hero::before,
.hero::after {
    display: none;
}

.hero .hero-content {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
    color: var(--light-text);
}

/* Buttons */
.btn,
.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    user-select: none;
    border: none;
}

/* Primary button (light brown) */
.btn {
    background-color: #d2b48c;
    color: #4a3024;
    box-shadow: 0 5px 15px rgba(210, 180, 140, 0.5);
}

.btn:hover,
.btn:focus {
    background-color: #c9a66a;
    color: #3e2619;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(201, 166, 106, 0.7);
    outline: none;
}

/* Secondary button (green) */
.btn-secondary {
    background-color: var(--primary-green);
    color: var(--light-text);
    box-shadow: 0 5px 15px rgba(137, 171, 98, 0.4);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--secondary-green);
    color: var(--light-text);
    box-shadow: 0 10px 25px rgba(122, 155, 87, 0.7);
    transform: translateY(-4px);
    outline: none;
}

/* Section titles */
.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2.8rem;
    margin-bottom: 45px;
    color: var(--primary-green);
    letter-spacing: 0.02em;
}

/* Services grid and cards */
.services-preview {
    background-color: var(--light-text);
    padding: 60px 0 80px;
    border-radius: var(--border-radius);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 35px;
    margin-bottom: 40px;
    padding: 0 20px;
}

.service-card {
    background-color: var(--light-bg);
    padding: 30px 25px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 5px 18px rgba(137, 171, 98, 0.15);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    cursor: default;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 14px 28px rgba(122, 155, 87, 0.25);
}

.service-card i {
    color: var(--primary-green);
    margin-bottom: 18px;
    transition: color var(--transition-speed) ease;
}

.service-card:hover i {
    color: var(--secondary-green);
}

/* Default service card h3 color */
.service-card h3 {
    margin-bottom: 14px;
    font-weight: 600;
    font-size: 1.35rem;
    color: var(--dark-text);
}

/* Service card ul styling */
.service-card ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    color: #555;
    font-size: 0.95rem;
    text-align: left;
    line-height: 1.5;
}

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

.service-card ul li::before {
    content: "\2022";
    color: var(--primary-green);
    font-weight: 700;
    position: absolute;
    left: 0;
    top: 0;
}

/* Change service card text color to brown (hero text color) on all pages except services page */
body:not(.services-page) .service-card h3,
body:not(.services-page) .service-card p,
body:not(.services-page) .service-card ul li {
    color: #b8864b; /* matches hero text color */
}

/* Override service card h3 color specifically on the services page to brown */
body.services-page .service-card h3 {
    color: #b8864b;
}

/* Testimonials */
.testimonials {
    background-color: var(--primary-green);
    color: var(--primary-green);
    padding: 60px 10px 90px;
    border-radius: var(--border-radius);
}

.testimonials .section-title {
    color: var(--primary-green);
    font-size: 2.8rem;
}

.testimonial-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Updated testimonial cards to be lighter and text brighter */
.testimonial {
    background-color: rgba(255, 255, 255, 0.55); /* lighter background */
    padding: 30px 30px 35px;
    border-radius: var(--border-radius);
    max-width: 520px;
    text-align: center;
    font-style: italic;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(12px);
    transition: background-color var(--transition-speed) ease;
}

.testimonial:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

.testimonial p {
    margin-bottom: 24px;
    font-weight: 400;
    letter-spacing: 0.015em;
    color: #3e4a23; /* bright readable greenish text */
}

.client {
    font-weight: 700;
    font-style: normal;
}

.client-name {
    color: #556b2f; /* slightly darker bright green */
    font-size: 1.15rem;
}

/* Footer */
.footer {
    padding: 55px 0 25px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto 35px;
    padding: 0 20px;
}

.footer-info h3 {
    color: var(--primary-green);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 17px;
    font-size: 1.5rem;
}

.footer-info p {
    font-size: 0.95rem;
    margin-bottom: 8px;
    line-height: 1.45;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-speed) ease;
    font-size: 1.05rem;
    padding: 5px 0;
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.footer-contact p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.footer-contact i {
    color: var(--primary-green);
    font-size: 1.3rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    color: #5a5a5a;
}

/* Contact Hero */
.contact-hero {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    color: var(--light-text);
}

/* Contact Content */
.contact-content {
    padding: 70px 0 90px;
    background-color: var(--light-text);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 1100px;
    margin: 0 auto 60px;
}

.contact-wrapper {
    display: flex;
    gap: 50px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact-info {
    background: var(--light-bg);
    padding: 35px 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 6px 18px rgba(137, 171, 98, 0.15);
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info p {
    font-size: 1.05rem;
    margin-bottom: 30px;
    line-height: 1.5;
    color: #444;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 28px;
}

.contact-item i {
    color: var(--primary-green);
    font-size: 2.3rem;
    min-width: 40px;
    margin-top: 4px;
}

.contact-item h3 {
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 1.15rem;
}

.contact-item p {
    margin: 0;
    font-size: 1rem;
    color: #555;
}

/* Quick Contact Buttons */
.contact-buttons h3 {
    margin-bottom: 18px;
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.3rem;
}

.contact-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-call,
.btn-email {
    flex: 1 0 140px;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 0;
    border-radius: 50px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    box-shadow: 0 5px 15px rgba(137, 171, 98, 0.35);
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    border: none;
}

.btn-call {
    background-color: var(--primary-green);
    color: var(--light-text);
}

.btn-call:hover,
.btn-call:focus {
    background-color: var(--secondary-green);
    color: var(--light-text);
    box-shadow: 0 12px 30px rgba(122, 155, 87, 0.5);
    transform: translateY(-4px);
    outline: none;
}

/* Updated email button color to match hero text brown */
.btn-email {
    background-color: #b8864b !important;
    color: var(--light-text);
    box-shadow: 0 5px 15px rgba(184, 134, 75, 0.4) !important;
}

.btn-email:hover,
.btn-email:focus {
    background-color: #a3753f !important;
    box-shadow: 0 12px 30px rgba(163, 117, 63, 0.55) !important;
    transform: translateY(-4px);
    outline: none;
}

/* Contact form wrapper */
.contact-form {
    background: var(--light-bg);
    padding: 35px 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 6px 18px rgba(137, 171, 98, 0.15);
    flex: 1 1 480px;
    color: #444;
}

.contact-form h2 {
    color: var(--primary-green);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-form p {
    font-size: 1rem;
    line-height: 1.5;
}

/* Responsive styles */
@media (max-width: 992px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .logo img {
        height: 44px;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

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

    .testimonial-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-wrapper {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 55vh;
        border-radius: 0;
        margin-bottom: 40px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .hero-logo img {
        height: 120px;
    }

    .nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .btn,
    .btn-secondary {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-info,
    .contact-form {
        flex: auto;
    }
}
