
/* =================================
   EVERGREEN LANDSCAPES
   MAIN STYLESHEET
================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f7f6f0;
    color: #26352b;
    font-family: 'DM Sans', sans-serif;
}

a {
    text-decoration: none;
}

/* HEADER */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(247, 246, 240, 0.97);
    backdrop-filter: blur(12px);
    padding: 24px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e4da;
}

.logo {
    color: #244532;
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo span {
    color: #a68a50;
}

nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

nav a {
    color: #4d5b50;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #a68a50;
}

/* HAMBURGER MENU BUTTON */

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    background: transparent;
    border: 1px solid #d9ddd3;
    border-radius: 4px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.menu-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    background: #244532;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* HERO */

.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 100px 10%;
    background:
        linear-gradient(rgba(15, 31, 21, 0.55), rgba(15, 31, 21, 0.55)),
        url('https://images.unsplash.com/photo-1558904541-efa843a96f01?w=1800');
    background-size: cover;
    background-position: center;
    color: #fff;
}

.hero-content {
    max-width: 750px;
}

.eyebrow {
    color: #a68a50;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 22px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(44px, 6vw, 76px);
    line-height: 1.12;
    margin-bottom: 25px;
    font-weight: 500;
}

.hero-content > p:not(.eyebrow) {
    color: #e5e9e3;
    font-size: 16px;
    line-height: 1.8;
    max-width: 540px;
    margin-bottom: 35px;
}

/* BUTTONS */

.button {
    display: inline-block;
    background: #a68a50;
    color: #fff;
    padding: 16px 30px;
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s ease;
}

.button:hover {
    background: #876d3d;
    transform: translateY(-3px);
}

/* SERVICES */

.services {
    padding: 110px 8%;
    text-align: center;
}

.services h2,
.projects h2,
.about h2,
.contact h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 500;
    color: #244532;
    margin-bottom: 20px;
}

.section-intro {
    color: #778077;
    font-size: 14px;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 55px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1250px;
    margin: 0 auto;
}

.service-card {
    background: #fff;
    text-align: left;
    padding-bottom: 30px;
    border: 1px solid #e9e8df;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-7px);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    color: #244532;
    font-size: 23px;
    margin: 25px 25px 12px;
}

.service-card p {
    color: #778077;
    font-size: 13px;
    line-height: 1.8;
    margin: 0 25px;
}

/* PRICING */

.pricing {
    padding: 110px 8%;
    background: #eaece4;
    text-align: center;
}

.pricing h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 500;
    color: #244532;
    margin-bottom: 20px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1150px;
    margin: 0 auto;
    align-items: stretch;
}

/* PRICING CARDS */

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 45px 30px;
    border: 1px solid #e2e3d9;
    border-radius: 5px;
    box-shadow: 0 5px 18px rgba(30, 50, 35, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
    transform: translateY(-9px);
    box-shadow: 0 16px 35px rgba(30, 50, 35, 0.13);
}

.price-card h3 {
    font-family: 'Playfair Display', serif;
    color: #244532;
    font-size: 25px;
    margin-bottom: 15px;
}

.price-description {
    color: #778077;
    font-size: 13px;
    line-height: 1.8;
    min-height: 48px;
    margin-bottom: 20px;
}

.price {
    color: #a68a50;
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 25px;
}

.price span {
    font-size: 14px;
    font-weight: 500;
    color: #778077;
}

/* PRICING FEATURE LIST */

.price-card ul {
    list-style: none;
    width: 100%;
    margin-bottom: 30px;
    text-align: left;
}

.price-card li {
    color: #657166;
    font-size: 13px;
    padding: 12px 0;
    border-bottom: 1px solid #eeeee8;
}

.price-card li::before {
    content: "✓";
    color: #a68a50;
    font-weight: 700;
    margin-right: 10px;
}

/* PRICING BUTTON */

.price-button {
    display: inline-block;
    width: 100%;
    margin-top: auto;
    padding: 15px 20px;
    background: #244532;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.3s ease;
}

.price-button:hover {
    background: #a68a50;
    transform: translateY(-2px);
}

/* FEATURED PRICING CARD */

.price-card.featured {
    border: 2px solid #a68a50;
    box-shadow: 0 10px 30px rgba(166, 138, 80, 0.12);
}

.price-card.featured:hover {
    box-shadow: 0 18px 38px rgba(166, 138, 80, 0.2);
}

.popular-label {
    display: inline-block;
    background: #a68a50;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 8px 16px;
    margin-bottom: 22px;
}

/* PRICING NOTE */

.pricing-note {
    margin: 40px auto 0;
    max-width: 750px;
    color: #778077;
    font-size: 12px;
    line-height: 1.8;
}

/* ABOUT */

.about {
    padding: 100px 10%;
    background: #eaece4;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.about-content {
    max-width: 550px;
}

.about-content > p:not(.eyebrow) {
    color: #657166;
    font-size: 15px;
    line-height: 2;
    margin-bottom: 30px;
}

.about-image img {
    width: 100%;
    height: 470px;
    object-fit: cover;
}

.text-link {
    color: #244532;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid #a68a50;
    padding-bottom: 6px;
}

/* PROJECT GALLERY */

.projects {
    padding: 110px 8%;
    text-align: center;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.project-card {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: #eaece4;
    cursor: pointer;
}

.project-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s ease;
}

/* DARK GRADIENT AND PROJECT TITLE */

.project-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 28px;
    background: linear-gradient(
        to top,
        rgba(15, 31, 21, 0.82),
        rgba(15, 31, 21, 0.12) 65%,
        transparent
    );
    transition: background 0.4s ease;
}

.project-overlay h3 {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
    transform: translateY(8px);
    transition: transform 0.4s ease;
}

/* GALLERY HOVER EFFECTS */

.project-card:hover img {
    transform: scale(1.08);
}

.project-card:hover .project-overlay {
    background: linear-gradient(
        to top,
        rgba(15, 31, 21, 0.94),
        rgba(15, 31, 21, 0.25) 70%,
        transparent
    );
}

.project-card:hover .project-overlay h3 {
    transform: translateY(0);
}

/* CONTACT */

.contact {
    padding: 110px 8%;
    background: #244532;
    text-align: center;
}

.contact h2 {
    color: #f7f6f0;
    max-width: 750px;
    margin: 0 auto 20px;
}

.contact > p:not(.eyebrow) {
    color: #d0d8cf;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 45px;
}

.contact-form-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 45px;
    background: #f7f6f0;
    text-align: left;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    color: #244532;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #d9ddd3;
    background: #fff;
    color: #26352b;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #a68a50;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .button {
    align-self: flex-start;
}

/* FOOTER */

footer {
    padding: 45px 8%;
    background: #182b20;
    text-align: center;
}

footer .logo {
    color: #f7f6f0;
    display: inline-block;
    margin-bottom: 15px;
}

footer p {
    color: #c0c9bf;
    font-size: 12px;
}

.demo-note {
    margin-top: 18px;
    color: #879589;
    font-size: 11px;
}

/* RESPONSIVE DESIGN */

@media (max-width: 900px) {
    header {
        padding: 20px 5%;
        gap: 20px;
    }

    nav {
        gap: 18px;
    }

    nav a {
        font-size: 10px;
    }

    .about {
        gap: 35px;
        padding: 80px 7%;
    }

    .about-image img {
        height: 380px;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    header {
        flex-direction: column;
        gap: 18px;
        padding: 18px 5%;
    }

    .logo {
        font-size: 23px;
    }

    nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    nav a {
        font-size: 10px;
    }

    .hero {
        min-height: 70vh;
        padding: 75px 7%;
    }

    .hero h1 {
        font-size: 44px;
    }

    .services,
    .projects {
        padding: 75px 6%;
    }

    .service-grid,
    .project-grid {
        grid-template-columns: 1fr;
        max-width: 430px;
        margin: 0 auto;
    }

    .service-card img {
        height: 240px;
    }

    .project-card {
        height: 260px;
    }

    .project-overlay {
        padding: 22px;
    }

    .project-overlay h3 {
        font-size: 20px;
    }

    .pricing {
        padding: 75px 6%;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 430px;
    }

    .price-card {
        padding: 35px 25px;
    }

    .about {
        grid-template-columns: 1fr;
        padding: 75px 7%;
        gap: 35px;
    }

    .about-image img {
        height: 300px;
    }

    .contact {
        padding: 75px 6%;
    }

    .contact-form-container {
        padding: 25px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form .button {
        width: 100%;
    }
}

/* =================================
   MOBILE HAMBURGER NAVIGATION
================================= */

@media (max-width: 768px) {

    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: sticky;
        padding: 18px 5%;
        gap: 15px;
    }

    .logo {
        font-size: 23px;
    }

    /* Show the three-line menu button */

    .menu-toggle {
        display: flex;
    }

    /* Animate the three lines into an X */

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hide the navigation until the button is clicked */

    header nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #f7f6f0;
        border-bottom: 1px solid #e5e4da;
        box-shadow: 0 10px 20px rgba(30, 50, 35, 0.08);

        max-height: 0;
        opacity: 0;
        overflow: hidden;
        visibility: hidden;
        pointer-events: none;

        transition:
            max-height 0.35s ease,
            opacity 0.25s ease,
            visibility 0.35s ease;
    }

    /* Show the navigation when opened */

    header nav.open {
        max-height: 380px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Style the individual menu links */

    header nav a {
        display: block;
        width: 100%;
        padding: 16px 7%;
        font-size: 12px;
        border-top: 1px solid #e5e4da;
    }

    header nav a:hover {
        background: #eaece4;
    }
}

/* =================================
   SCROLL REVEAL ANIMATIONS
================================= */

.reveal {
    opacity: 0;
    transform: translateY(45px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* SERVICE CARD STAGGER */

.service-card.reveal:nth-child(1) {
    transition-delay: 0.05s;
}

.service-card.reveal:nth-child(2) {
    transition-delay: 0.2s;
}

.service-card.reveal:nth-child(3) {
    transition-delay: 0.35s;
}

/* PRICING CARD STAGGER */

.price-card.reveal:nth-child(1) {
    transition-delay: 0.05s;
}

.price-card.reveal:nth-child(2) {
    transition-delay: 0.2s;
}

.price-card.reveal:nth-child(3) {
    transition-delay: 0.35s;
}

/* Respect visitors who prefer reduced motion */

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .project-card img,
    .project-overlay,
    .project-overlay h3 {
        transition: none;
    }
}
