/* ========================================
   The Lagniappe Shoppe — Styles
   Clean minimalist · Forest green + off-white
   ======================================== */

/* — CSS Custom Properties — */
:root {
    --forest: #2C4A34;
    --forest-light: #3D6347;
    --forest-dark: #1E3525;
    --forest-muted: #4A6B4F;
    --cream: #FAF8F5;
    --cream-dark: #F0EDE8;
    --warm-white: #FEFDFB;
    --text-dark: #1A1A18;
    --text-body: #2E2E2A;
    --text-muted: #6B6B63;
    --text-light: #9A9A92;
    --line: #E5E2DC;
    --line-light: #F0EDE8;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text-body);
    background: var(--cream);
    line-height: 1.7;
    font-size: 15px;
    letter-spacing: 0.01em;
}

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

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

ul {
    list-style: none;
}

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

/* — Section Tag — */
.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--forest-muted);
    margin-bottom: 16px;
}

/* — Section Header — */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

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

.btn-light {
    background: var(--warm-white);
    color: var(--forest);
    border-color: var(--warm-white);
}

.btn-light:hover {
    background: transparent;
    color: var(--warm-white);
    border-color: var(--warm-white);
}

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

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

.btn-dark {
    background: var(--forest);
    color: var(--warm-white);
    border-color: var(--forest);
}

.btn-dark:hover {
    background: var(--forest-dark);
    border-color: var(--forest-dark);
}

/* — Section base — */
.section {
    padding: 120px 0;
}

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

.nav.scrolled {
    background: rgba(250, 248, 245, 0.97);
    box-shadow: 0 1px 0 var(--line);
}

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

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--forest);
    letter-spacing: 0.02em;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.3s var(--ease);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--forest);
    transition: width 0.3s var(--ease);
}

.nav-menu a:hover {
    color: var(--forest);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-dark);
    transition: all 0.3s var(--ease);
}

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

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

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

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

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(30, 53, 37, 0.55) 0%,
        rgba(30, 53, 37, 0.7) 50%,
        rgba(30, 53, 37, 0.85) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    padding: 0 24px;
}

.hero-tag {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    font-weight: 300;
    color: var(--warm-white);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-sub {
    font-size: 17px;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.5);
    transition: color 0.3s var(--ease);
    animation: scrollBounce 2s infinite;
}

.hero-scroll:hover {
    color: rgba(255,255,255,0.9);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* — Divider — */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.divider svg {
    color: var(--forest-muted);
    opacity: 0.3;
}

/* — About — */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    overflow: hidden;
}

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

.about-text h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 28px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 15px;
}

.about-text em {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--forest);
}

/* — Collection — */
.collection {
    background: var(--warm-white);
}

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

.category-card {
    overflow: hidden;
    border-radius: 2px;
    border: 1px solid var(--line);
    background: var(--cream);
    transition: all 0.4s var(--ease);
}

.category-card:hover {
    border-color: var(--forest-muted);
    box-shadow: 0 8px 40px rgba(44, 74, 52, 0.08);
    transform: translateY(-2px);
}

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

.category-card:hover .category-img img {
    transform: scale(1.03);
}

.category-info {
    padding: 28px 28px 32px;
}

.category-info h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.category-info p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* — Philosophy — */
.philosophy {
    background: var(--forest);
    color: var(--warm-white);
}

.philosophy .section-tag {
    color: rgba(255,255,255,0.5);
}

.philosophy-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.philosophy-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    color: var(--warm-white);
    line-height: 1.2;
    margin-bottom: 28px;
}

.philosophy-text {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    margin-bottom: 56px;
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 300;
    color: var(--warm-white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

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

/* — Visit — */
.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.visit-info h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 40px;
}

.visit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.visit-item-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--forest);
}

.visit-item strong {
    display: block;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.visit-item p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

.visit-item a {
    color: var(--forest);
    transition: color 0.3s var(--ease);
}

.visit-item a:hover {
    color: var(--forest-dark);
    text-decoration: underline;
}

.visit-map {
    height: 420px;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid var(--line);
}

/* — Contact — */
.contact {
    background: var(--cream-dark);
}

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

.contact-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 20px;
}

.contact-content > p {
    color: var(--text-muted);
    margin-bottom: 48px;
    font-size: 15px;
}

.contact-form {
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 0;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 300;
    color: var(--text-dark);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
    outline: none;
    transition: border-color 0.3s var(--ease);
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--forest);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-success {
    display: none;
    margin-top: 20px;
    padding: 16px 20px;
    background: var(--forest);
    color: var(--warm-white);
    font-size: 14px;
    border-radius: 2px;
    text-align: center;
}

.form-success.show {
    display: block;
}

/* — Footer — */
.footer {
    background: var(--forest-dark);
    color: var(--warm-white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-brand h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    transition: color 0.3s var(--ease);
}

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

.footer-contact p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-contact a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s var(--ease);
}

.footer-contact a:hover {
    color: var(--warm-white);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.3);
}

/* — Scroll Reveal — */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* Default visible state for reduced motion */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* — Responsive — */
@media (max-width: 960px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image img {
        height: 400px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .visit-map {
        height: 320px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 248, 245, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        border-bottom: 1px solid var(--line);
        transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
    }
    
    .nav-menu.open {
        max-height: 300px;
        padding: 24px 0;
    }
    
    .nav-menu li {
        padding: 12px 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .philosophy-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .stat-divider {
        width: 48px;
        height: 1px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-brand {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-headline {
        font-size: clamp(1.8rem, 8vw, 2.6rem);
    }
    
    .category-info {
        padding: 20px 20px 24px;
    }
}
