/* ═══════════════════════════════════════════
   GUIMER GARDENING SVC — Editorial Style
   Palette: Burgundy (#7B2D3B) + Blush (#F5E6E0)
   Fonts: Playfair Display + Inter
   ═══════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --burgundy: #7B2D3B;
    --burgundy-deep: #5C1F2B;
    --burgundy-light: #A34050;
    --blush: #F5E6E0;
    --blush-light: #FAF3F0;
    --blush-mid: #E8D0C8;
    --cream: #FDF8F5;
    --charcoal: #1A1416;
    --charcoal-soft: #3D2C30;
    --warm-gray: #6B5860;
    --warm-gray-light: #9E8890;
    --white: #FFFFFF;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--charcoal);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

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

/* ── Typography ── */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 1rem 2rem;
    border-radius: 0;
    transition: all 0.3s var(--ease-out);
    text-transform: uppercase;
}

.btn--primary {
    background: var(--burgundy);
    color: var(--white);
    border: 2px solid var(--burgundy);
}

.btn--primary:hover {
    background: var(--burgundy-deep);
    border-color: var(--burgundy-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123, 45, 59, 0.3);
}

.btn--ghost {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn--ghost:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
    justify-content: center;
    padding: 1.125rem 2rem;
}

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--blush-mid);
    transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
    background: rgba(253, 248, 245, 0.98);
    box-shadow: 0 2px 20px rgba(26, 20, 22, 0.06);
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
}

.nav__logo-mark {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--burgundy);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--burgundy);
    border-radius: 50%;
}

.nav__logo-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--charcoal);
    letter-spacing: -0.01em;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__link {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--charcoal-soft);
    transition: color 0.25s ease;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--burgundy);
    transition: width 0.3s var(--ease-out);
}

.nav__link:hover {
    color: var(--burgundy);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--burgundy);
    background: var(--blush);
    padding: 0.625rem 1.25rem;
    transition: all 0.3s var(--ease-out);
}

.nav__cta:hover {
    background: var(--burgundy);
    color: var(--white);
    transform: translateY(-1px);
}

/* Mobile Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
    z-index: 1001;
}

.nav__toggle-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.nav__toggle.active .nav__toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__toggle.active .nav__toggle-line:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active .nav__toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 20, 22, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.visible {
    display: block;
    opacity: 1;
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background: var(--charcoal);
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/3615716/pexels-photo-3615716.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
    transform: scale(1.05);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 20, 22, 0.82) 0%,
        rgba(92, 31, 43, 0.72) 50%,
        rgba(26, 20, 22, 0.85) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    padding-top: 4rem;
}

.hero__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blush-mid);
    margin-bottom: 1.5rem;
}

.hero__headline {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero__sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;
    color: var(--blush);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--blush-mid);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--blush-mid), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ── Services ── */
.services {
    padding: 7rem 0;
    background: var(--cream);
}

.services .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border: 1px solid var(--blush-mid);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--burgundy);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(123, 45, 59, 0.1);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--burgundy);
}

.service-card__title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.service-card__desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--warm-gray);
    font-weight: 400;
}

/* ── About ── */
.about {
    padding: 7rem 0;
    background: var(--blush);
}

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

.about__image-wrap {
    overflow: hidden;
}

.about__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.about__image-wrap:hover img {
    transform: scale(1.03);
}

.about__content {
    padding: 1rem 0;
}

.about__text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--charcoal-soft);
    margin-bottom: 1.25rem;
    font-weight: 400;
}

.about__stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--blush-mid);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat__number {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--burgundy);
}

.stat__label {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--warm-gray-light);
}

/* ── Gallery ── */
.gallery {
    padding: 7rem 0;
    background: var(--cream);
}

.gallery .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.gallery__item {
    overflow: hidden;
    aspect-ratio: 5/4;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.gallery__item:hover img {
    transform: scale(1.08);
}

/* ── Testimonial ── */
.testimonial {
    padding: 6rem 0;
    background: var(--burgundy);
    position: relative;
    overflow: hidden;
}

.testimonial__inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.testimonial__quote {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.testimonial__text {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.testimonial__attribution {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blush-mid);
}

/* ── Contact ── */
.contact {
    padding: 7rem 0;
    background: var(--white);
}

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

.contact__desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--warm-gray);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.contact__detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact__detail svg {
    color: var(--burgundy);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact__detail-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--warm-gray-light);
    margin-bottom: 0.25rem;
}

.contact__detail-value {
    display: block;
    font-size: 1rem;
    color: var(--charcoal);
    line-height: 1.6;
}

.contact__detail-value a {
    color: var(--charcoal);
    transition: color 0.2s ease;
}

.contact__detail-value a:hover {
    color: var(--burgundy);
}

/* Form */
.contact__form-wrap {
    background: var(--blush-light);
    padding: 2.5rem;
    border: 1px solid var(--blush-mid);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--warm-gray);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--charcoal);
    background: var(--white);
    border: 1.5px solid var(--blush-mid);
    border-radius: 0;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
    -webkit-appearance: none;
}

.form-input::placeholder {
    color: var(--warm-gray-light);
}

.form-input:focus {
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.1);
}

.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B5860' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

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

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem;
    text-align: center;
    color: var(--burgundy);
}

.form-success svg {
    color: var(--burgundy);
}

.form-success p {
    font-size: 1rem;
    font-weight: 500;
    color: var(--charcoal);
}

/* ── Footer ── */
.footer {
    background: var(--charcoal);
    padding: 4rem 0 2rem;
    color: var(--blush);
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(245, 230, 224, 0.1);
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__brand .nav__logo-mark {
    width: 48px;
    height: 48px;
    font-size: 1.75rem;
    border-color: var(--burgundy-light);
    color: var(--blush);
}

.footer__name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.footer__tagline {
    font-size: 0.875rem;
    color: var(--warm-gray);
    max-width: 280px;
    line-height: 1.6;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    align-items: flex-end;
}

.footer__links a {
    font-size: 0.875rem;
    color: var(--warm-gray-light);
    transition: color 0.2s ease;
    letter-spacing: 0.02em;
}

.footer__links a:hover {
    color: var(--blush);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    font-size: 0.8125rem;
    color: var(--warm-gray);
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
    }

    .nav__links {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        gap: 1.5rem;
        padding: 2rem;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-out);
        box-shadow: -8px 0 32px rgba(26, 20, 22, 0.15);
        z-index: 1000;
    }

    .nav__links.open {
        transform: translateX(0);
    }

    .nav__link {
        font-size: 1rem;
    }

    .nav__cta {
        font-size: 0.9375rem;
        padding: 0.875rem 1.5rem;
    }

    .hero__headline {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

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

    .services {
        padding: 5rem 0;
    }

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

    .about {
        padding: 5rem 0;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about__image-wrap {
        max-height: 400px;
    }

    .gallery {
        padding: 5rem 0;
    }

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

    .contact {
        padding: 5rem 0;
    }

    .contact__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact__form-wrap {
        padding: 1.5rem;
    }

    .footer__inner {
        flex-direction: column;
        gap: 2rem;
    }

    .footer__links {
        align-items: flex-start;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .nav__inner {
        padding: 0 1.25rem;
    }

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

    .hero__scroll {
        display: none;
    }
}
