/* ========================================
   RAW HAPPINESS — Stylesheet
   ======================================== */

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

:root {
    --emerald-900: #1B4332;
    --emerald-800: #2D6A4F;
    --emerald-700: #40916C;
    --emerald-600: #52B788;
    --cream-50:  #FEFAE0;
    --cream-100: #FAF0D0;
    --cream-200: #F5E6C8;
    --cream-300: #E8D5B0;
    --warm-50:   #FDF8F0;
    --warm-100:  #F7EDE0;
    --warm-200:  #EDE0CC;
    --warm-300:  #D4A574;
    --warm-400:  #B8864E;
    --text-dark: #1A1A1A;
    --text-body: #3D3D3D;
    --text-muted: #6B6B6B;
    --white: #FFFFFF;
    --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-body);
    background-color: var(--warm-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

/* --- Skip Link --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--emerald-900);
    color: var(--white);
    padding: 8px 16px;
    z-index: 9999;
    border-radius: 0 0 4px 4px;
    font-size: 0.875rem;
}
.skip-link:focus {
    top: 0;
}

/* --- Typography --- */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.25;
    color: var(--text-dark);
    margin-bottom: 20px;
}

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

.lead {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--text-dark);
    line-height: 1.75;
    margin-bottom: 16px;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 2px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.8125rem;
}

.btn-light {
    background: var(--white);
    color: var(--emerald-900);
    border-color: var(--white);
}
.btn-light:hover {
    background: var(--cream-200);
    border-color: var(--cream-200);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.6);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.12);
    border-color: var(--white);
}

.btn-emerald {
    background: var(--emerald-800);
    color: var(--white);
    border-color: var(--emerald-800);
}
.btn-emerald:hover {
    background: var(--emerald-900);
    border-color: var(--emerald-900);
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
    padding: 20px 0;
}

.site-header.scrolled {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 1px 20px rgba(0,0,0,0.08);
    padding: 12px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    transition: color var(--transition);
}

.site-header.scrolled .logo {
    color: var(--emerald-900);
}

.logo-icon {
    color: var(--white);
    transition: color var(--transition);
}

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

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: currentColor;
    transition: width var(--transition);
}

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

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

.site-header.scrolled .nav-links a {
    color: var(--text-muted);
}

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

/* Nav CTA */
.nav-links .btn {
    font-size: 0.8125rem;
    padding: 10px 24px;
}

.nav-links .btn-sm {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
    backdrop-filter: blur(4px);
}

.nav-links .btn-sm:hover {
    background: var(--white);
    color: var(--emerald-900);
}

.site-header.scrolled .nav-links .btn-sm {
    background: var(--emerald-800);
    color: var(--white);
    border-color: var(--emerald-800);
}

.site-header.scrolled .nav-links .btn-sm:hover {
    background: var(--emerald-900);
    border-color: var(--emerald-900);
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    transform-origin: center;
}

.site-header.scrolled .nav-toggle span {
    background: var(--emerald-900);
}

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

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

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(27,67,50,0.92) 0%,
        rgba(27,67,50,0.75) 40%,
        rgba(45,106,79,0.6) 100%
    );
}

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

.hero-tagline {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 24px;
}

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

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

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

@keyframes scrollLine {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

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

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

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

.about-image {
    position: relative;
}

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

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 2px solid var(--emerald-700);
    border-radius: 2px;
    z-index: -1;
}

.about-text {
    padding: 16px 0;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--text-body);
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--cream-200);
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--emerald-800);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--cream-300);
}

/* --- Products --- */
.products {
    background: var(--cream-50);
}

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

.product-card {
    background: var(--white);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}

.product-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

.product-image {
    overflow: hidden;
}

.product-body {
    padding: 28px;
}

.product-body h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.product-body p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- Banner --- */
.banner {
    background: var(--emerald-900);
    padding: 80px 0;
}

.banner-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.banner .section-eyebrow {
    color: var(--emerald-600);
}

.banner .section-title {
    color: var(--white);
}

.banner .section-title + p,
.banner-text p {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    line-height: 1.8;
}

.banner-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 2px;
}

/* --- Visit --- */
.visit {
    background: var(--warm-50);
}

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

.info-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.info-item dt {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-800);
    margin-bottom: 6px;
}

.info-item dd {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.7;
}

.info-item a {
    color: var(--text-body);
    transition: color var(--transition);
}

.info-item a:hover {
    color: var(--emerald-700);
    text-decoration: underline;
}

.visit-map a {
    position: relative;
    display: block;
    border-radius: 2px;
    overflow: hidden;
}

.visit-map img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.visit-map a:hover img {
    transform: scale(1.03);
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px;
    background: linear-gradient(to top, rgba(27,67,50,0.85), transparent);
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: opacity var(--transition);
}

.visit-map a:hover .map-overlay {
    opacity: 1;
}

/* --- CTA --- */
.cta {
    background: var(--cream-100);
    padding: 100px 0;
}

.cta-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-inner .section-title {
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Footer --- */
.site-footer {
    background: var(--emerald-900);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 32px;
}

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

.logo-light {
    color: var(--white) !important;
}

.logo-light .logo-icon {
    color: var(--white) !important;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-contact a {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.7);
    transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
}

/* --- Reveal Animation --- */
[data-reveal] {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
    [data-reveal] {
        opacity: 0;
        transform: translateY(24px);
    }

    [data-reveal].revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid,
    .banner-inner,
    .visit-grid {
        gap: 40px;
    }

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

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--emerald-900);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 40px;
        transition: right 0.4s ease;
        box-shadow: -10px 0 40px rgba(0,0,0,0.2);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        color: rgba(255,255,255,0.85) !important;
        font-size: 0.9375rem;
    }

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

    .nav-links .btn-sm {
        background: rgba(255,255,255,0.12) !important;
        color: var(--white) !important;
        border-color: rgba(255,255,255,0.3) !important;
    }

    .nav-links .btn-sm:hover {
        background: var(--white) !important;
        color: var(--emerald-900) !important;
    }

    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }

    .mobile-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

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

    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }

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

    .section {
        padding: 72px 0;
    }

    .about-grid,
    .banner-inner,
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img {
        height: 360px;
    }

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

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-top: 40px;
    }

    .product-image img {
        height: 240px;
    }

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

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

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

    .hero-title {
        font-size: 1.75rem;
    }

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

    .about-stats {
        flex-direction: column;
        gap: 20px;
    }

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