/* ═══════════════════════════════════════
   PLUM STREET ESPRESSO — STYLESHEET
   ═══════════════════════════════════════ */

/* ── Custom Properties ────────────────── */
:root {
    --emerald-900: #042f23;
    --emerald-800: #064e3b;
    --emerald-700: #065f46;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --cream-50: #faf8f5;
    --cream-100: #f5f0e8;
    --cream-200: #ede4d4;
    --cream-300: #e0d3be;
    --warm-100: #f0ebe0;
    --warm-200: #d4a574;
    --warm-300: #c49a6c;
    --warm-400: #b8864e;
    --text-dark: #1a1a1a;
    --text-mid: #3a3a3a;
    --text-light: #6b6b6b;
    --text-muted: #999;
    --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);
}

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

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

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

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

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

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

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

/* ── Section Labels & Headings ────────── */
.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 1rem;
}

.section-heading {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.section-heading em {
    font-style: italic;
    color: var(--emerald-700);
}

/* ── Navigation ───────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.5s var(--ease-out);
}

.nav.scrolled {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.75rem 0;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav.scrolled .nav-logo {
    color: var(--emerald-800);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cream-50);
    transition: color 0.3s;
}

.nav-logo-icon {
    color: var(--cream-50);
    transition: color 0.3s;
}

.nav.scrolled .nav-logo-icon {
    color: var(--emerald-800);
}

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

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(250, 248, 245, 0.85);
    transition: color 0.3s;
    position: relative;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav.scrolled .nav-links a {
    color: var(--text-mid);
}

.nav.scrolled .nav-links a::after {
    background: var(--emerald-600);
}

.nav-links a:hover {
    color: var(--cream-50);
}

.nav.scrolled .nav-links a:hover {
    color: var(--emerald-700);
}

.nav-cta {
    background: var(--cream-50) !important;
    color: var(--emerald-800) !important;
    padding: 0.6rem 1.25rem;
    border-radius: 100px;
    font-weight: 600 !important;
    transition: all 0.3s var(--ease-out) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--cream-100) !important;
    transform: translateY(-1px);
}

.nav.scrolled .nav-cta {
    background: var(--emerald-700) !important;
    color: var(--cream-50) !important;
}

.nav.scrolled .nav-cta:hover {
    background: var(--emerald-800) !important;
}

.nav-toggle {
    display: none;
    color: var(--cream-50);
    padding: 0.5rem;
    transition: color 0.3s;
}

.nav.scrolled .nav-toggle {
    color: var(--emerald-800);
}

/* ── Hero ─────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(4, 47, 35, 0.88) 0%,
        rgba(6, 78, 59, 0.78) 35%,
        rgba(5, 150, 105, 0.55) 65%,
        rgba(212, 165, 116, 0.4) 100%
    );
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 60%, transparent 0%, rgba(4, 47, 35, 0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 1.5rem;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--warm-200);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--cream-50);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero-headline em {
    font-style: italic;
    color: var(--warm-200);
    font-weight: 400;
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(250, 248, 245, 0.8);
    line-height: 1.7;
    max-width: 540px;
    margin: 0 auto 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 0.7s forwards;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 0.9s forwards;
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(250, 248, 245, 0.6);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 0.8s var(--ease-out) 1.5s forwards;
}

.hero-scroll svg {
    animation: bounce 2s ease-in-out infinite;
}

/* ── Buttons ──────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

.btn-primary {
    background: var(--cream-50);
    color: var(--emerald-800);
}

.btn-primary:hover {
    background: var(--cream-100);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--cream-50);
    border: 1.5px solid rgba(250, 248, 245, 0.4);
}

.btn-ghost:hover {
    border-color: var(--cream-50);
    background: rgba(250, 248, 245, 0.1);
    transform: translateY(-2px);
}

/* ── Intro Section ────────────────────── */
.intro {
    padding: 8rem 0;
    background: var(--cream-50);
}

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

.intro-text .section-label {
    margin-bottom: 1rem;
}

.intro-text .section-heading {
    margin-bottom: 1.5rem;
}

.intro-text p {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.intro-image {
    position: relative;
}

.intro-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
}

.intro-image-accent {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 200px;
    height: 200px;
    background: var(--emerald-700);
    border-radius: 4px;
    z-index: -1;
    opacity: 0.15;
}

/* ── Features / Menu ──────────────────── */
.features {
    padding: 8rem 0;
    background: var(--cream-100);
}

.features-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.features-header .section-label {
    margin-bottom: 1rem;
}

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

.feature-card {
    background: var(--cream-50);
    border-radius: 4px;
    padding: 2.5rem;
    transition: all 0.4s var(--ease-out);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(6, 78, 59, 0.08);
    border-color: var(--emerald-200, var(--cream-200));
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-700);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    color: var(--cream-50);
}

.feature-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

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

.gallery-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.gallery-header .section-label {
    margin-bottom: 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 1.25rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 4px;
}

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

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-item--wide {
    grid-column: span 8;
    height: 400px;
}

.gallery-item--tall {
    grid-column: span 4;
    height: 820px;
}

.gallery-item:not(.gallery-item--wide):not(.gallery-item--tall) {
    height: 390px;
}

/* ── Testimonials ─────────────────────── */
.testimonials {
    padding: 8rem 0;
    background: var(--emerald-800);
}

.testimonials .section-label {
    color: var(--warm-200);
}

.testimonials .section-heading {
    color: var(--cream-50);
    text-align: center;
}

.testimonials .section-heading em {
    color: var(--warm-200);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.testimonial-card {
    background: rgba(250, 248, 245, 0.06);
    border: 1px solid rgba(250, 248, 245, 0.1);
    border-radius: 4px;
    padding: 2.25rem;
    position: relative;
    transition: all 0.3s var(--ease-out);
}

.testimonial-card:hover {
    background: rgba(250, 248, 245, 0.1);
    transform: translateY(-4px);
}

.testimonial-quote {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--warm-200);
}

.testimonial-card p {
    font-size: 1rem;
    color: rgba(250, 248, 245, 0.85);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--warm-200);
    letter-spacing: 0.02em;
}

/* ── CTA / Visit ──────────────────────── */
.cta {
    padding: 8rem 0;
    background: var(--cream-50);
}

.cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.cta-text .section-label {
    margin-bottom: 1rem;
}

.cta-text .section-heading {
    margin-bottom: 1.25rem;
}

.cta-text p {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.8;
}

.cta-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.cta-detail svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--emerald-600);
}

.cta-detail strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.cta-detail p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.cta-detail a {
    color: var(--emerald-600);
    transition: color 0.3s;
}

.cta-detail a:hover {
    color: var(--emerald-800);
    text-decoration: underline;
}

/* ── Footer ───────────────────────────── */
.footer {
    background: var(--emerald-900);
    color: var(--cream-50);
    padding: 4rem 0 2rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(250, 248, 245, 0.6);
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cream-50);
}

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

.footer-links a {
    font-size: 0.9rem;
    color: rgba(250, 248, 245, 0.6);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--cream-50);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(250, 248, 245, 0.2);
    border-radius: 50%;
    color: var(--cream-50);
    transition: all 0.3s var(--ease-out);
}

.social-link:hover {
    background: var(--cream-50);
    color: var(--emerald-900);
    border-color: var(--cream-50);
}

.footer-bottom {
    border-top: 1px solid rgba(250, 248, 245, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(250, 248, 245, 0.4);
}

/* ── Animations ───────────────────────── */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* ── Scroll Reveal ────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* ── Responsive ───────────────────────── */
@media (max-width: 1024px) {
    .intro-grid {
        gap: 3rem;
    }

    .gallery-item--wide {
        grid-column: span 12;
        height: 350px;
    }

    .gallery-item--tall {
        grid-column: span 6;
        height: 400px;
    }

    .gallery-item:not(.gallery-item--wide):not(.gallery-item--tall) {
        grid-column: span 6;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        background: var(--cream-50);
        flex-direction: column;
        justify-content: center;
        gap: 1.5rem;
        padding: 2rem;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-out);
        box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links a {
        color: var(--text-mid) !important;
        font-size: 1.1rem;
    }

    .nav-links a:hover {
        color: var(--emerald-700) !important;
    }

    .nav-links a::after {
        background: var(--emerald-600) !important;
    }

    .nav-cta {
        background: var(--emerald-700) !important;
        color: var(--cream-50) !important;
        text-align: center;
        width: 100%;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }

    .hero-headline {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

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

    .intro-image {
        order: -1;
    }

    .intro-image img {
        height: 350px;
    }

    .intro-image-accent {
        display: none;
    }

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

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

    .gallery-item--wide,
    .gallery-item--tall,
    .gallery-item:not(.gallery-item--wide):not(.gallery-item--tall) {
        grid-column: span 1;
        height: 300px;
    }

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

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

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .features,
    .intro,
    .gallery,
    .testimonials,
    .cta {
        padding: 5rem 0;
    }
}
