/* ========================================
   Coffeentalk @Hillcrest — Styles
   Forest Green + Off-White Palette
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
    --green-900: #0d2818;
    --green-800: #1a4d2e;
    --green-700: #2d6a4f;
    --green-600: #40916c;
    --green-500: #52b788;
    --green-400: #74c69d;
    --green-300: #95d5b2;
    --green-200: #b7e4c7;
    --green-100: #d8f3dc;
    --green-50:  #edf7f0;

    --cream-50:  #fefdf8;
    --cream-100: #fdf9f0;
    --cream-200: #f9f3e3;
    --cream-300: #f3ead0;
    --cream-400: #e8d9b0;

    --text-dark:   #1a2e1f;
    --text-mid:    #3d5a45;
    --text-light:  #6b8f76;
    --text-muted:  #8fad96;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body:    'DM Sans', system-ui, sans-serif;

    --radius-sm:  8px;
    --radius-md:  14px;
    --radius-lg:  24px;
    --radius-xl:  32px;

    --shadow-sm:  0 1px 3px rgba(26, 77, 46, 0.06), 0 1px 2px rgba(26, 77, 46, 0.04);
    --shadow-md:  0 4px 16px rgba(26, 77, 46, 0.08), 0 2px 6px rgba(26, 77, 46, 0.04);
    --shadow-lg:  0 12px 40px rgba(26, 77, 46, 0.12), 0 4px 12px rgba(26, 77, 46, 0.06);
    --shadow-xl:  0 24px 60px rgba(26, 77, 46, 0.14), 0 8px 20px rgba(26, 77, 46, 0.08);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--cream-50);
    -webkit-font-smoothing: antialiased;
    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 24px;
}

.text-center { text-align: center; }

/* --- Typography --- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--green-400);
    border-radius: 2px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.title-accent {
    color: var(--green-700);
    font-style: italic;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-mid);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-primary {
    background: var(--green-700);
    color: #fff;
    box-shadow: 0 4px 16px rgba(45, 106, 79, 0.3);
}

.btn-primary:hover {
    background: var(--green-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 106, 79, 0.35);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

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

.btn-lg {
    padding: 18px 36px;
    font-size: 1rem;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.scrolled {
    background: rgba(254, 253, 248, 0.92);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--cream-50);
    transition: color 0.3s;
}

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

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

.nav.scrolled .nav-logo-icon {
    color: var(--green-700);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border-radius: 50px;
    transition: all 0.3s;
}

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

.nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

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

.nav-cta {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    font-weight: 600 !important;
    margin-left: 8px;
}

.nav.scrolled .nav-cta {
    background: var(--green-700) !important;
    color: #fff !important;
    border-color: var(--green-700) !important;
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.25) !important;
}

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

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

.nav.scrolled .nav-toggle span {
    background: var(--green-800);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--green-900);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-link {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    transition: all 0.3s;
}

.mobile-menu-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.mobile-menu-cta {
    margin-top: 16px;
    padding: 14px 32px;
    background: var(--green-600);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
}

.mobile-menu-cta:hover {
    background: var(--green-500);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

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

.hero-gradient-1 {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a4d2e 0%, #2d6a4f 30%, #40916c 60%, #52b788 100%);
}

.hero-gradient-2 {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 70%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(116, 198, 157, 0.3) 0%, transparent 70%);
}

.hero-gradient-3 {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 50%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(82, 183, 136, 0.2) 0%, transparent 70%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 32px 32px;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 32px;
    backdrop-filter: blur(8px);
}

.hero-badge svg {
    color: var(--green-200);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 24px;
}

.hero-title-accent {
    color: var(--green-200);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

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

/* --- Section Base --- */
.section {
    padding: 100px 0;
}

/* --- About --- */
.about {
    background: var(--cream-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-images {
    position: relative;
    height: 600px;
}

.about-img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 80%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.about-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 50%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--cream-50);
}

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

.about-img-accent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--green-200);
    border-radius: 50%;
    opacity: 0.5;
    z-index: -1;
}

.about-content {
    padding: 20px 0;
}

.about-text {
    color: var(--text-mid);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.about-feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--green-50);
    border: 1px solid var(--green-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-700);
}

.about-feature strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.about-feature span {
    font-size: 0.88rem;
    color: var(--text-light);
}

/* --- Menu --- */
.menu {
    background: var(--cream-100);
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 48px 0 40px;
    flex-wrap: wrap;
}

.menu-cat {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-mid);
    background: transparent;
    border: 1.5px solid var(--cream-300);
    transition: all 0.3s;
}

.menu-cat:hover {
    border-color: var(--green-400);
    color: var(--green-700);
}

.menu-cat.active {
    background: var(--green-700);
    border-color: var(--green-700);
    color: #fff;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.menu-item {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--cream-200);
}

.menu-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.menu-item-img {
    height: 200px;
    overflow: hidden;
}

.menu-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-item:hover .menu-item-img img {
    transform: scale(1.05);
}

.menu-item-body {
    padding: 24px;
}

.menu-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.menu-item-header h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.menu-item-tag {
    padding: 3px 10px;
    background: var(--green-50);
    color: var(--green-700);
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.menu-item-body p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* --- Experience --- */
.experience {
    background: var(--cream-50);
}

.experience-header {
    margin-bottom: 64px;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.experience-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--cream-200);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.experience-card-img {
    height: 240px;
    overflow: hidden;
}

.experience-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.experience-card:hover .experience-card-img img {
    transform: scale(1.05);
}

.experience-card-content {
    padding: 32px;
}

.experience-card-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--green-100);
    line-height: 1;
    margin-bottom: 12px;
}

.experience-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

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

/* --- Visit --- */
.visit {
    background: var(--cream-100);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}

.visit-info {
    padding: 40px;
    background: var(--green-800);
    border-radius: var(--radius-xl);
    color: #fff;
}

.visit-info .section-label {
    color: var(--green-300);
}

.visit-info .section-label::before {
    background: var(--green-500);
}

.visit-info .section-title {
    color: #fff;
}

.visit-info .title-accent {
    color: var(--green-300);
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 40px 0;
}

.visit-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.visit-detail-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-300);
}

.visit-detail strong {
    display: block;
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 4px;
}

.visit-detail p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.visit-detail a {
    color: var(--green-300);
    transition: color 0.3s;
}

.visit-detail a:hover {
    color: #fff;
}

.visit-cta {
    margin-top: 8px;
}

.visit-cta .btn-primary {
    background: var(--green-500);
    color: var(--green-900);
    font-weight: 600;
}

.visit-cta .btn-primary:hover {
    background: var(--green-400);
}

.visit-map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 480px;
    box-shadow: var(--shadow-lg);
}

/* --- Footer --- */
.footer {
    background: var(--green-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.92rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links strong,
.footer-contact strong {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 4px;
}

.footer-links a {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--green-300);
}

.footer-contact p {
    font-size: 0.92rem;
    line-height: 1.7;
}

.footer-contact a {
    color: var(--green-300);
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .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; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid {
        gap: 48px;
    }

    .experience-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .experience-card {
        display: grid;
        grid-template-columns: 1fr;
    }

    .experience-card-img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat-number {
        font-size: 1.3rem;
    }

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

    .about-images {
        height: 400px;
        max-width: 480px;
        margin: 0 auto;
    }

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

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

    .visit-info {
        padding: 32px;
    }

    .visit-map {
        min-height: 320px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .section {
        padding: 72px 0;
    }
}

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

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

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }

    .menu-categories {
        gap: 6px;
    }

    .menu-cat {
        padding: 8px 16px;
        font-size: 0.82rem;
    }
}
