/* ========================================
   THICK & TWISTED — Brand Styles
   Palette: Forest Green + Off-White
   ======================================== */

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

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #1a2e23;
    background-color: #f5f0e8;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

address {
    font-style: normal;
}

/* SKIP LINK */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #1a5c3a;
    color: #f5f0e8;
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 8px 8px;
    z-index: 1000;
    font-weight: 600;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

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

/* TYPOGRAPHY */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
    font-weight: 700;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1a5c3a;
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: #1a5c3a;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    color: #1a2e23;
    margin-bottom: 1.25rem;
}

.text-accent {
    color: #1a5c3a;
}

.text-gradient {
    background: linear-gradient(135deg, #1a5c3a 0%, #2d8a56 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #4a6352;
    max-width: 560px;
    margin: 0 auto;
}

.lead {
    font-size: 1.125rem;
    color: #3d5244;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.center {
    text-align: center;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: #1a5c3a;
    color: #f5f0e8;
    border-color: #1a5c3a;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: #144a2e;
    border-color: #144a2e;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 92, 58, 0.3);
}

.btn-outline-light {
    background: transparent;
    color: #f5f0e8;
    border-color: rgba(245, 240, 232, 0.5);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
    background: rgba(245, 240, 232, 0.1);
    border-color: #f5f0e8;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1.125rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(245, 240, 232, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 92, 58, 0.1);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(26, 46, 35, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a2e23;
}

.logo-accent {
    color: #1a5c3a;
    font-weight: 800;
}

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

.main-nav a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #3d5244;
    transition: color 0.2s;
    position: relative;
}

.main-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1a5c3a;
    transition: width 0.25s ease;
}

.main-nav a:not(.btn):hover {
    color: #1a5c3a;
}

.main-nav a:not(.btn):hover::after {
    width: 100%;
}

/* NAV TOGGLE */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a2e23;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO
   ======================================== */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    min-height: 100dvh;
    background: #1a2e23;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(26, 92, 58, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(45, 138, 86, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 4rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(109, 191, 139, 0.15);
    border: 1px solid rgba(109, 191, 139, 0.3);
    color: #6dbf8b;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #f5f0e8;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(245, 240, 232, 0.75);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 480px;
}

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

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f5f0e8;
}

.stat-label {
    font-size: 0.8125rem;
    color: rgba(245, 240, 232, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(245, 240, 232, 0.2);
}

/* HERO IMAGE */
.hero-image {
    position: relative;
}

.hero-img-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4);
}

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

.hero-img-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 3px solid rgba(109, 191, 139, 0.4);
    border-radius: 20px;
    z-index: -1;
}

.hero-floating-card {
    position: absolute;
    bottom: 2rem;
    left: -2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f5f0e8;
    color: #1a2e23;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

/* ========================================
   ABOUT
   ======================================== */
.about {
    padding: 7rem 0;
    background: #f5f0e8;
}

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

.about-content .section-title {
    margin-bottom: 1.5rem;
}

.about-content p {
    color: #4a6352;
    margin-bottom: 1rem;
}

.about-content p.lead {
    font-size: 1.1875rem;
    color: #3d5244;
}

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

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(26, 92, 58, 0.08);
    border: 1px solid rgba(26, 92, 58, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a5c3a;
}

.feature-item strong {
    display: block;
    font-size: 1rem;
    color: #1a2e23;
    margin-bottom: 0.25rem;
}

.feature-item span {
    font-size: 0.9375rem;
    color: #4a6352;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(26, 46, 35, 0.15);
}

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

.about-img-secondary {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(26, 46, 35, 0.2);
    border: 4px solid #f5f0e8;
}

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

/* ========================================
   PRODUCTS
   ======================================== */
.products {
    padding: 7rem 0;
    background: #f0ebe0;
}

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

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

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

.product-card {
    background: #f5f0e8;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(26, 92, 58, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(26, 46, 35, 0.15);
}

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

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-body {
    padding: 1.75rem;
}

.product-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1a5c3a;
    background: rgba(26, 92, 58, 0.08);
    padding: 0.375rem 0.75rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.product-title {
    font-size: 1.5rem;
    color: #1a2e23;
    margin-bottom: 0.75rem;
}

.product-desc {
    font-size: 0.9375rem;
    color: #4a6352;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #3d5244;
}

.product-list li::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: #1a5c3a;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ========================================
   GALLERY
   ======================================== */
.gallery {
    padding: 7rem 0;
    background: #f5f0e8;
}

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

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

.gallery-item--wide {
    grid-column: span 2;
}

.gallery-item--tall {
    grid-row: span 2;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.25rem;
    background: linear-gradient(to top, rgba(26, 46, 35, 0.8), transparent);
    color: #f5f0e8;
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* ========================================
   VISIT
   ======================================== */
.visit {
    padding: 7rem 0;
    background: #1a2e23;
}

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

.visit .section-label {
    color: #6dbf8b;
}

.visit .section-label::before {
    background: #6dbf8b;
}

.visit .section-title {
    color: #f5f0e8;
}

.visit .section-title .text-accent {
    color: #6dbf8b;
}

.visit .lead {
    color: rgba(245, 240, 232, 0.7);
}

.visit-info {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(109, 191, 139, 0.12);
    border: 1px solid rgba(109, 191, 139, 0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6dbf8b;
}

.info-row strong {
    display: block;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(245, 240, 232, 0.5);
    margin-bottom: 0.25rem;
}

.info-row span,
.info-row a {
    font-size: 1rem;
    color: #f5f0e8;
}

.info-row a:hover {
    color: #6dbf8b;
    text-decoration: underline;
}

.visit-map {
    height: 480px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
    padding: 7rem 0;
    background: #f0ebe0;
}

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

.contact-content .section-title {
    margin-bottom: 1rem;
}

.contact-form-wrapper {
    background: #f5f0e8;
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(26, 92, 58, 0.08);
    box-shadow: 0 16px 40px rgba(26, 46, 35, 0.08);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a2e23;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    padding: 0.75rem 1rem;
    border: 1.5px solid rgba(26, 92, 58, 0.2);
    border-radius: 10px;
    background: #fff;
    color: #1a2e23;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9aa89e;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1a5c3a;
    box-shadow: 0 0 0 3px rgba(26, 92, 58, 0.1);
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(26, 92, 58, 0.08);
    border: 1px solid rgba(26, 92, 58, 0.2);
    color: #1a5c3a;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.9375rem;
    margin-top: 0.5rem;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: #111e17;
    padding: 4rem 0 0;
    color: rgba(245, 240, 232, 0.6);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(245, 240, 232, 0.08);
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #f5f0e8;
    margin-bottom: 1.25rem;
}

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

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(245, 240, 232, 0.6);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #6dbf8b;
}

.footer-contact address {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-contact p {
    font-size: 0.9375rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact a {
    color: rgba(245, 240, 232, 0.6);
    transition: color 0.2s;
}

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

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
}

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

/* ========================================
   SCROLL REVEAL (progressive enhancement)
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

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

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

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

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

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

    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(245, 240, 232, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 1.5rem;
        border-bottom: 1px solid rgba(26, 92, 58, 0.1);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        pointer-events: none;
    }

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

    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav a {
        font-size: 1.0625rem;
        padding: 0.5rem 0;
    }

    /* HERO */
    .hero {
        min-height: auto;
        padding-top: 72px;
        padding-bottom: 3rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2rem 0;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

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

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

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

    .hero-img-accent {
        display: none;
    }

    .hero-floating-card {
        left: 0;
        bottom: 1rem;
    }

    /* ABOUT */
    .about {
        padding: 4rem 0;
    }

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

    .about-img-secondary {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 1rem;
        border-width: 3px;
    }

    .about-images {
        order: -1;
    }

    /* PRODUCTS */
    .products {
        padding: 4rem 0;
    }

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

    /* GALLERY */
    .gallery {
        padding: 4rem 0;
    }

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

    .gallery-item--tall {
        grid-row: span 1;
    }

    /* VISIT */
    .visit {
        padding: 4rem 0;
    }

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

    .visit-map {
        height: 320px;
    }

    /* CONTACT */
    .contact {
        padding: 4rem 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

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

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

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

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

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

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

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