/* ============================================
   Crystal's Wood and Things — Styles
   Clean minimalist · Forest green + off-white
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green-900: #0d2818;
    --green-800: #1a3a2a;
    --green-700: #234d36;
    --green-600: #2d6a4f;
    --green-500: #40916c;
    --green-400: #52b788;
    --green-100: #d8f3dc;
    --green-50:  #f0faf3;

    --gold-500: #d4a853;
    --gold-400: #e0bc6e;
    --gold-300: #ebd08a;

    --white:    #fefdfb;
    --off-white:#f7f5f0;
    --cream:    #f0ece4;
    --sand:     #e8e2d6;
    --warm-gray:#b8b0a4;
    --text:     #2c2a26;
    --text-light:#6b6560;
    --text-muted:#9e9790;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Inter', -apple-system, sans-serif;

    --max-width: 1200px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text);
    background-color: var(--off-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   Background Pattern
   ============================================ */
.bg-pattern {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a3a2a' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(247, 245, 240, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26, 58, 42, 0.08);
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(254, 253, 251, 0.95);
    box-shadow: 0 1px 0 rgba(26, 58, 42, 0.06);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--green-800);
    letter-spacing: -0.01em;
}

.nav-logo-icon {
    flex-shrink: 0;
}

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

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: color var(--transition);
    position: relative;
}

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

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

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

.nav-cta {
    background: var(--green-800) !important;
    color: var(--white) !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.06em !important;
    transition: background var(--transition), transform var(--transition) !important;
}

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

.nav-cta:hover {
    background: var(--green-700) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
}

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

.nav-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--green-800);
    transition: var(--transition);
    transform-origin: center;
}

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

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--green-800);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--green-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 58, 42, 0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--green-800);
    border: 1px solid var(--green-800);
}

.btn-ghost:hover {
    background: var(--green-800);
    color: var(--white);
    transform: translateY(-2px);
}

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

/* ============================================
   Section Eyebrow & Title
   ============================================ */
.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 1.25rem;
}

.section-eyebrow-line {
    width: 24px;
    height: 1px;
    background: var(--green-500);
    flex-shrink: 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--green-900);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

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

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

/* ============================================
   Hero
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 7rem 2rem 4rem;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
}

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

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 1.5rem;
}

.hero-eyebrow-line {
    width: 24px;
    height: 1px;
    background: var(--green-500);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--green-900);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

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

.hero-subtitle {
    font-size: 1.0625rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero right — card layout */
.hero-right {
    position: relative;
    min-height: 560px;
}

.hero-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 4px 32px rgba(26, 58, 42, 0.08);
}

.hero-card-main {
    width: 100%;
    aspect-ratio: 5/6;
}

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

.hero-card-stat {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: var(--white);
    box-shadow: 0 4px 24px rgba(26, 58, 42, 0.1);
    border-radius: var(--radius-md);
    z-index: 2;
}

.stat-1 {
    top: 10%;
    right: -2rem;
}

.stat-2 {
    bottom: 28%;
    left: -2rem;
}

.stat-3 {
    bottom: 8%;
    right: -1rem;
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--green-900);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.hero-divider {
    max-width: var(--max-width);
    margin: 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sand), transparent);
}

.hero-scroll {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ============================================
   About
   ============================================ */
.about {
    padding: 8rem 0;
    background: var(--white);
}

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

.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about-image-accent {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 200px;
    height: 200px;
    border: 1px solid var(--green-100);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-content {
    padding: 1rem 0;
}

.about-text {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.about-values {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.value-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--green-300);
    line-height: 1;
    min-width: 32px;
}

.value-item strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--green-900);
    margin-bottom: 0.2rem;
}

.value-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   Products
   ============================================ */
.products {
    padding: 8rem 0;
    background: var(--off-white);
}

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

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(26, 58, 42, 0.06);
    transition: all var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(26, 58, 42, 0.1);
    border-color: transparent;
}

.product-card-img {
    overflow: hidden;
    aspect-ratio: 5/4;
}

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

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

.product-card-body {
    padding: 1.5rem;
}

.product-card-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--green-900);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.product-card-desc {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   Gallery
   ============================================ */
.gallery {
    padding: 8rem 0;
    background: var(--white);
}

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

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

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

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

.gallery-item--large {
    grid-column: span 7;
    grid-row: span 2;
}

.gallery-item--large img {
    height: 100%;
    min-height: 400px;
}

.gallery-item > img {
    min-height: 200px;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--white);
    background: linear-gradient(transparent, rgba(13, 40, 24, 0.6));
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* ============================================
   Visit
   ============================================ */
.visit {
    padding: 8rem 0;
    background: var(--off-white);
}

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

.visit-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--sand);
}

.visit-detail:first-child {
    padding-top: 0;
}

.visit-detail:last-child {
    border-bottom: none;
}

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

.visit-detail strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--green-900);
    margin-bottom: 0.25rem;
}

.visit-detail span,
.visit-detail a {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.7;
}

.visit-detail a:hover {
    color: var(--green-600);
    text-decoration: underline;
}

.visit-map {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.visit-map img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    filter: saturate(0.7) contrast(1.05);
}

.visit-map-link {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    background: var(--white);
    color: var(--green-800);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    transition: all var(--transition);
}

.visit-map-link:hover {
    background: var(--green-800);
    color: var(--white);
}

/* ============================================
   Contact
   ============================================ */
.contact {
    padding: 8rem 0;
    background: var(--green-900);
    color: var(--white);
}

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

.contact .section-eyebrow {
    color: var(--green-400);
}

.contact .section-eyebrow-line {
    background: var(--green-500);
}

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

.contact .section-title-accent {
    color: var(--green-400);
}

.contact-text {
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(254, 253, 251, 0.6);
    max-width: 440px;
}

.contact-form-wrap {
    background: rgba(254, 253, 251, 0.05);
    border: 1px solid rgba(254, 253, 251, 0.1);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

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

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

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(254, 253, 251, 0.5);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(254, 253, 251, 0.06);
    border: 1px solid rgba(254, 253, 251, 0.12);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.6;
    transition: all var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(254, 253, 251, 0.25);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--green-400);
    background: rgba(254, 253, 251, 0.08);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    margin-top: 1rem;
    background: rgba(82, 183, 136, 0.15);
    border: 1px solid rgba(82, 183, 136, 0.3);
    border-radius: var(--radius-sm);
    color: var(--green-400);
    font-size: 0.875rem;
}

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

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 5rem 0 0;
    background: var(--green-900);
    border-top: 1px solid rgba(254, 253, 251, 0.06);
}

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

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-logo-icon {
    flex-shrink: 0;
}

.footer-tagline {
    font-size: 0.875rem;
    color: rgba(254, 253, 251, 0.45);
    line-height: 1.7;
    max-width: 300px;
}

.footer-nav strong,
.footer-contact strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(254, 253, 251, 0.4);
    margin-bottom: 1rem;
}

.footer-nav ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-nav a,
.footer-contact a {
    font-size: 0.875rem;
    color: rgba(254, 253, 251, 0.6);
    transition: color var(--transition);
}

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

.footer-contact li {
    font-size: 0.875rem;
    color: rgba(254, 253, 251, 0.45);
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid rgba(254, 253, 251, 0.06);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: rgba(254, 253, 251, 0.3);
}

/* ============================================
   Scroll Animations
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    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; }

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

    .hero-right {
        min-height: 480px;
    }

    .stat-1 { right: -1rem; }
    .stat-2 { left: -1rem; }
    .stat-3 { right: 0; }

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

    .gallery-item--large {
        grid-column: span 8;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(254, 253, 251, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(26, 58, 42, 0.08);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding-top: 6rem;
    }

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

    .hero-right {
        min-height: 360px;
        order: -1;
    }

    .hero-card-main {
        aspect-ratio: 4/3;
    }

    .hero-card-stat {
        display: none;
    }

    .about-grid,
    .visit-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image-wrap img {
        height: 400px;
    }

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

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

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

    .gallery-item--large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-item--large img {
        min-height: 250px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

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

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

    .hero {
        padding: 5rem 1.25rem 3rem;
    }

    .hero-actions {
        flex-direction: column;
    }

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

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

    .gallery-item--large {
        grid-column: span 1;
    }

    .contact-form-wrap {
        padding: 1.5rem;
    }
}
