/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Merriweather:wght@400;700&display=swap');

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

:root {
    --bg: #f4f5f1;
    --surface: #ffffff;
    --surface-soft: #f8faf6;
    --text: #26302a;
    --muted: #5f6e64;
    --primary: #2f5d3a;
    --accent: #6ba539;
    --accent-dark: #4c7a26;
    --hero-green: #cfeea8;
    --hero-white: #f4fff0;
    --shadow-soft: 0 14px 30px rgba(28, 41, 33, 0.10);
    --shadow-strong: 0 18px 42px rgba(28, 41, 33, 0.18);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: radial-gradient(circle at top right, #eef5e8 0%, var(--bg) 40%, #f1f2ee 100%);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

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

h1,
h2,
h3 {
    line-height: 1.2;
    color: #1f2a22;
}

h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    margin-bottom: 14px;
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    margin-bottom: 12px;
}

h3 {
    font-size: 1.35rem;
}

section {
    padding: 88px 0;
}

.container {
    width: min(92%, 1180px);
    margin: 0 auto;
}

.page-intro {
    max-width: 760px;
    color: var(--muted);
    margin-bottom: 34px;
}

.home-services-title {
    font-family: 'Merriweather', serif;
    font-size: clamp(2rem, 3.2vw, 2.6rem);
    letter-spacing: 0.03em;
    color: #1d3a25;
    margin-bottom: 10px;
}

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(245, 251, 241, 0.42);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.38);
    box-shadow: 0 12px 30px rgba(22, 33, 27, 0.14);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    min-height: 92px;
    position: relative;
}

.logo {
    height: 84px;
    width: auto;
    flex-shrink: 0;
}

nav {
    margin-left: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.01em;
    position: relative;
    transition: color 0.2s ease;
}

.nav-links a:not(.cta)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.24s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.cta {
    background: linear-gradient(120deg, var(--accent-dark), var(--accent));
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(72, 119, 39, 0.28);
}

.cta:hover,
.cta.active {
    filter: brightness(1.05);
}

.hamburger {
    display: none;
    font-size: 30px;
    line-height: 1;
    color: var(--primary);
    cursor: pointer;
}

/* ===== HERO ===== */
.hero {
    min-height: 88vh;
    background: url('images/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(0, 0, 0, 0.60), rgba(28, 50, 34, 0.45));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 820px;
    padding: 24px;
}

.hero h1 {
    color: var(--hero-white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.hero p {
    max-width: 680px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.90);
    font-size: 1.08rem;
}

.btn-primary {
    display: inline-block;
    margin-top: 24px;
    background: linear-gradient(120deg, var(--accent-dark), var(--accent));
    color: #fff;
    padding: 13px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 20px rgba(74, 123, 41, 0.30);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(74, 123, 41, 0.36);
}

/* ===== GRID ===== */
.grid {
    display: grid;
    gap: 26px;
}

.services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

/* ===== CARDS ===== */
.card {
    background: linear-gradient(165deg, #ffffff 0%, var(--surface-soft) 100%);
    border: 1px solid rgba(47, 93, 58, 0.10);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
}

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

.card h3 {
    font-family: 'Merriweather', serif;
    padding: 20px 22px 8px;
    color: #1d3a25;
}

.card p {
    padding: 0 22px 24px;
    color: #4b5d51;
    font-family: 'Merriweather', serif;
    font-size: 1rem;
}

/* ===== SERVICES SHOWCASE ===== */
.services-showcase {
    display: grid;
    gap: 22px;
    max-width: 1080px;
    margin: 0 auto;
}

.service-panel {
    background: linear-gradient(165deg, #ffffff 0%, #f7faf5 100%);
    border: 1px solid rgba(47, 93, 58, 0.12);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 22px rgba(28, 41, 33, 0.10);
    scroll-margin-top: 120px;
}

.service-content {
    padding: 20px;
}

.service-content h2 {
    font-family: 'Merriweather', serif;
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    margin-bottom: 6px;
    color: #1d3a25;
}

.service-content p {
    color: #47584d;
    margin-bottom: 12px;
    font-size: 0.98rem;
    line-height: 1.55;
}

.service-gallery {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding: 6px;
    padding: 6px 2px 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(76, 122, 38, 0.45) rgba(232, 239, 227, 0.5);
    mask-image: linear-gradient(to right, transparent 0, black 10px, black calc(100% - 10px), transparent 100%);
}

.service-gallery img {
    flex: 0 0 clamp(240px, 32vw, 340px);
    width: clamp(240px, 32vw, 340px);
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 6px 14px rgba(24, 38, 29, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    scroll-snap-align: start;
}

.service-gallery img:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(24, 38, 29, 0.16);
}

.service-gallery::-webkit-scrollbar {
    height: 5px;
}

.service-gallery::-webkit-scrollbar-track {
    background: rgba(232, 239, 227, 0.5);
    border-radius: 999px;
}

.service-gallery::-webkit-scrollbar-thumb {
    background: linear-gradient(120deg, rgba(76, 122, 38, 0.7), rgba(107, 165, 57, 0.6));
    border-radius: 999px;
}

.service-gallery::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(120deg, rgba(76, 122, 38, 0.82), rgba(107, 165, 57, 0.75));
}


/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: minmax(260px, 430px) 1fr;
    gap: 30px;
    align-items: stretch;
}

.about-photo-wrap {
    max-width: 430px;
    margin-inline: 0 auto;
    padding: 10px;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(201, 232, 172, 0.7), rgba(255, 255, 255, 0.95));
    box-shadow: 0 18px 34px rgba(25, 40, 30, 0.14);
}

.about-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 22%;
    border-radius: 18px;
    border: 1px solid rgba(47, 93, 58, 0.18);
    box-shadow: 0 16px 28px rgba(27, 43, 33, 0.18);
    filter: saturate(1.04) contrast(1.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-photo:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 34px rgba(27, 43, 33, 0.24);
}

.about-content-card {
    background: linear-gradient(160deg, #ffffff 0%, #f8fbf6 100%);
    border: 1px solid rgba(47, 93, 58, 0.12);
    border-radius: 20px;
    padding: 28px 28px 24px;
    box-shadow: var(--shadow-soft);
}

.about-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding: 0;
    background: transparent;
    color: #284b31;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-label::before {
    content: "";
    width: 34px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #4c7a26, #9fcc6f);
}

.about-grid p {
    margin-bottom: 14px;
    color: #3f4d44;
}

.about-grid ul {
    list-style: none;
    margin-top: 18px;
}

.about-grid li {
    margin-bottom: 10px;
    padding-left: 22px;
    position: relative;
}

.about-grid li::before {
    content: "+";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-dark);
    font-weight: 700;
}

.about-highlights {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.about-highlights span {
    padding: 8px 12px;
    border-radius: 999px;
    background: #edf5e7;
    border: 1px solid rgba(47, 93, 58, 0.14);
    color: #2f5d3a;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== PORTFOLIO ===== */
.portfolio-section .page-intro {
    margin-bottom: 16px;
}

.portfolio-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.portfolio-pills span {
    padding: 8px 13px;
    border-radius: 999px;
    background: linear-gradient(120deg, #eef6e8, #f9fcf7);
    border: 1px solid rgba(47, 93, 58, 0.15);
    color: #2c5036;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.portfolio-card {
    background: linear-gradient(160deg, #ffffff 0%, #f7faf5 100%);
    border: 1px solid rgba(47, 93, 58, 0.10);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.portfolio-card:nth-child(3n + 2) {
    margin-top: 18px;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.portfolio-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.portfolio-card-body {
    padding: 16px 16px 18px;
}

.portfolio-card h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.12rem;
    color: #1d3a25;
    margin-bottom: 6px;
}

.portfolio-card p {
    color: #4b5d51;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.portfolio-tag {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(107, 165, 57, 0.15);
    border: 1px solid rgba(76, 122, 38, 0.28);
    color: #2c5036;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ===== CONTACT ===== */
.contact-section .page-intro {
    max-width: 880px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: 24px;
    align-items: start;
}

.contact-panel {
    background: linear-gradient(160deg, #ffffff 0%, #f4f9f1 100%);
    border: 1px solid rgba(47, 93, 58, 0.12);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.contact-panel h2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #24452e;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(76, 122, 38, 0.30);
    background: rgba(183, 215, 153, 0.18);
}

.contact-panel h2::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6ba539;
}

.contact-panel > p {
    color: #4a5c50;
    margin-bottom: 16px;
}

.contact-info {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.contact-info p {
    color: #3f4d44;
}

.contact-info a {
    color: #2f5d3a;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    color: var(--accent-dark);
}

.contact-actions {
    display: grid;
    gap: 10px;
}

.contact-quick {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    color: #2f5d3a;
    font-weight: 700;
    background: rgba(107, 165, 57, 0.14);
    border: 1px solid rgba(76, 122, 38, 0.30);
    border-radius: 10px;
    padding: 10px 12px;
}

.contact-quick:hover {
    background: rgba(107, 165, 57, 0.22);
}

.contact-form-card {
    background: var(--surface);
    border: 1px solid rgba(47, 93, 58, 0.12);
    border-radius: 20px;
    padding: 26px;
    box-shadow: var(--shadow-soft);
}

.contact-form-card h2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #24452e;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(76, 122, 38, 0.30);
    background: rgba(183, 215, 153, 0.18);
}

.contact-form-card h2::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6ba539;
}

.contact-form-intro {
    color: #516359;
    margin-bottom: 14px;
}

.contact-form-card input,
.contact-form-card textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(47, 93, 58, 0.24);
    border-radius: 10px;
    margin-bottom: 14px;
    font: inherit;
    color: var(--text);
    background: #fff;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
    outline: 2px solid rgba(107, 165, 57, 0.26);
    border-color: var(--accent-dark);
}

/* ===== FOOTER ===== */
footer {
    margin-top: 56px;
    background: linear-gradient(145deg, #18211c 0%, #223128 100%);
    color: rgba(255, 255, 255, 0.88);
    padding: 40px 0 22px;
}

.footer-inner {
    width: min(92%, 1180px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 24px;
}

.footer-brand h3,
.footer-links h4,
.footer-meta h4 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 1.12rem;
    line-height: 1.2;
}


.footer-brand p,
.footer-meta p {
    color: rgba(255, 255, 255, 0.76);
}

.footer-links a {
    display: inline-block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.footer-links a:hover {
    color: #d0eeae;
}

.footer-bottom {
    width: min(92%, 1180px);
    margin: 22px auto 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.72);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .service-gallery img {
        flex-basis: clamp(220px, 46vw, 320px);
        width: clamp(220px, 46vw, 320px);
    }
}

@media (max-width: 920px) {
    .logo {
        height: 72px;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 6px);
        right: 0;
        min-width: 240px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 18px;
        background: #ffffff;
        border-radius: 12px;
        border: 1px solid rgba(47, 93, 58, 0.12);
        box-shadow: 0 14px 24px rgba(28, 42, 33, 0.14);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
        margin-left: 14px;
    }

    nav {
        margin-left: 0;
    }

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

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-photo-wrap {
        max-width: 370px;
        margin: 0 auto;
    }

    .about-content-card {
        padding: 24px 20px;
    }

    .portfolio-card:nth-child(3n + 2) {
        margin-top: 0;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-panel,
    .contact-form-card {
        padding: 22px 20px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .nav-container {
        min-height: 80px;
    }

    .logo {
        height: 60px;
    }

    .hero {
        min-height: 76vh;
    }

    .hero-content {
        padding: 18px;
    }

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

    .btn-primary {
        width: 100%;
        max-width: 320px;
    }

    .contact-quick {
        width: 100%;
    }

    .card img {
        height: 200px;
    }

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

    .service-content {
        padding: 18px;
    }

    .service-gallery {
        gap: 10px;
        padding-bottom: 8px;
    }

    .service-gallery img {
        flex-basis: 85%;
        width: 85%;
    }

    .portfolio-pills {
        margin-bottom: 20px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }

    section {
        padding: 72px 0;
    }
}





