/* ========================================
   DESIGN ANALYSIS:
   Business: Organic farm-to-table delivery, Kagoshima Japan
   Palette: leaf green, sun yellow, soil brown
   Tone: Warm, rustic, cheerful, natural
   Typography: Caveat (handwritten headers), Nunito (readable body)
   ======================================== */

:root {
    --primary: #4a7c59;
    --primary-dark: #3a6347;
    --primary-light: #e8f0eb;
    --secondary: #3d2b1f;
    --accent: #e8a317;
    --accent-dark: #c48a0f;
    --accent-light: #fdf3d7;
    --soil: #6b4226;
    --soil-light: #f5ebe0;
    --text: #3d3229;
    --text-light: #7a6f65;
    --bg: #fdfcfa;
    --bg-alt: #f8f5f0;
    --border: #e0d8cf;
    --white: #ffffff;
    --success: #4a7c59;
    --danger: #c53030;

    --font-heading: 'Caveat', cursive;
    --font-body: 'Nunito', sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 20px rgba(61, 43, 31, 0.08);
    --shadow-lg: 0 8px 40px rgba(61, 43, 31, 0.12);
    --transition: all 0.3s ease;
}

/* ========================================
   RESET & BASE
   ======================================== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--bg);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

::selection {
    background: var(--accent-light);
    color: var(--secondary);
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
.handwritten {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
}

.section-text {
    color: var(--text);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.section-alt {
    background-color: var(--bg-alt);
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    padding: 0.75rem 0;
    transition: var(--transition);
    background: transparent;
    z-index: 1050;
}

.navbar.scrolled {
    background: rgba(253, 252, 250, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(61, 43, 31, 0.08);
}

.brand-logo {
    color: var(--primary);
    transition: var(--transition);
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary);
}

.navbar.scrolled .brand-text,
.navbar.scrolled .nav-link {
    color: var(--secondary);
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    color: var(--white);
    transition: var(--transition);
    position: relative;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.navbar.scrolled .nav-link {
    color: var(--text);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 700;
    transition: var(--transition);
    min-height: 44px;
    min-width: 44px;
}

.btn-accent:hover {
    background: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(232, 163, 23, 0.3);
}

.nav-cta {
    font-size: 0.9rem;
}

.navbar-toggler {
    border: 2px solid var(--white);
    padding: 0.5rem 0.75rem;
    min-height: 44px;
    min-width: 44px;
}

.navbar.scrolled .navbar-toggler {
    border-color: var(--border);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(61,50,41,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 700;
    min-height: 44px;
    min-width: 44px;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 124, 89, 0.3);
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 700;
    min-height: 44px;
    transition: var(--transition);
    border-width: 2px;
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline-light {
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 700;
    min-height: 44px;
    border-width: 2px;
    transition: var(--transition);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

.btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1.05rem;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(61, 43, 31, 0.4) 0%,
        rgba(61, 43, 31, 0.6) 35%,
        rgba(61, 43, 31, 0.65) 60%,
        rgba(61, 43, 31, 0.7) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
}

.hero-badge {
    display: inline-block;
    background: rgba(232, 163, 23, 0.9);
    color: var(--white);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    opacity: 0.7;
}

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

/* ========================================
   PAGE HEROES
   ======================================== */
.page-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-hero-short {
    min-height: 40vh;
}

.page-hero-mini {
    min-height: 25vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.page-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(61, 43, 31, 0.4) 0%, rgba(61, 43, 31, 0.6) 100%);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 80px;
}

.page-hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   SEASON STRIP
   ======================================== */
.season-strip {
    background: var(--primary-light);
    border-bottom: 3px solid var(--primary);
}

.season-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.5rem;
    opacity: 0.6;
    transition: var(--transition);
}

.season-item.active {
    opacity: 1;
}

.season-item i {
    font-size: 1.3rem;
    color: var(--primary);
}

.season-item span {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--secondary);
}

.season-item small {
    font-size: 0.7rem;
    color: var(--text-light);
}

/* ========================================
   FARM STATS
   ======================================== */
.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
}

/* ========================================
   SUBSCRIPTION BOX CARDS
   ======================================== */
.box-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.box-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.box-card-featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}

.box-card-featured:hover {
    border-color: var(--accent-dark);
    transform: scale(1.03) translateY(-5px);
}

.box-card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.box-card-badge.featured {
    background: var(--accent);
}

.box-card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.box-card-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.box-card-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.box-card-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

.box-card-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    text-align: left;
    flex-grow: 1;
}

.box-card-features li {
    padding: 0.4rem 0;
    color: var(--text);
    font-size: 0.95rem;
}

.box-card-features li i {
    color: var(--primary);
    margin-right: 0.5rem;
}

/* ========================================
   BOX CUSTOMIZER
   ======================================== */
.customizer-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.customizer-box-panel {
    padding: 1.5rem;
    min-height: 400px;
}

.customizer-seasonal-panel {
    padding: 1.5rem;
    background: var(--bg-alt);
    min-height: 400px;
    border-left: 2px dashed var(--border);
}

.customizer-heading {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 0;
}

.customizer-summary {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.summary-weight {
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
}

.summary-price {
    background: var(--accent-light);
    color: var(--accent-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
}

.box-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.box-item {
    background: var(--bg-alt);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 0.75rem;
    text-align: center;
    transition: var(--transition);
    cursor: grab;
    animation: growIn 0.4s ease;
}

.box-item:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 10px rgba(74, 124, 89, 0.15);
}

.box-item.dragging {
    opacity: 0.5;
    transform: scale(0.95);
}

@keyframes growIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.box-item-emoji {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.box-item-name {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.box-item-price {
    font-size: 0.75rem;
    color: var(--text-light);
}

.box-item-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
    transition: var(--transition);
    min-height: 28px;
    padding: 0;
}

.qty-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.qty-value {
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 20px;
    text-align: center;
}

.seasonal-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.seasonal-item {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 0.6rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.seasonal-item:hover {
    border-color: var(--accent);
    transform: scale(1.02);
}

.seasonal-item-emoji {
    font-size: 1.5rem;
    line-height: 1;
}

.seasonal-item-name {
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--secondary);
}

.seasonal-item-add {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 0.85rem;
    line-height: 22px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 0.2rem;
}

.seasonal-item-add:hover {
    background: var(--accent);
    transform: scale(1.1);
}

.delivery-days {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.delivery-day {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border);
    border-radius: 50px;
    background: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    min-height: 44px;
    min-width: 44px;
    color: var(--text);
}

.delivery-day:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.delivery-day.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-customize {
    font-size: 1.1rem;
    border-radius: 50px;
}

.customizer-success {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.success-content {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 450px;
    animation: growIn 0.3s ease;
}

.success-content i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.success-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--secondary);
}

/* ========================================
   PRODUCT CARDS
   ======================================== */
.product-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.product-season-tag {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.2rem 0.7rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    z-index: 2;
}

.product-season-tag.spring { background: #4caf50; }
.product-season-tag.summer { background: #ff9800; }
.product-season-tag.autumn { background: #bf360c; }
.product-season-tag.winter { background: #5c6bc0; }

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

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

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

.product-info {
    padding: 1.25rem;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.product-harvest {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.product-price {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary);
}

.product-price small {
    font-weight: 400;
    color: var(--text-light);
}

/* Season Tabs */
.season-tabs .nav-link {
    color: var(--text) !important;
    font-weight: 700;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px;
    background: transparent;
    min-height: 44px;
}

.season-tabs .nav-link:hover {
    background: var(--primary-light);
    color: var(--primary) !important;
}

.season-tabs .nav-link.active {
    background: var(--primary) !important;
    color: var(--white) !important;
}

/* Fruit Cards */
.fruit-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    transition: var(--transition);
    height: 100%;
}

.fruit-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.fruit-card h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.fruit-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

/* Specialty Items */
.specialty-list {
    margin-top: 1.5rem;
}

.specialty-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px dashed var(--border);
}

.specialty-name {
    font-weight: 600;
    color: var(--secondary);
}

.specialty-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.05rem;
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.philosophy-values .value-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.philosophy-values .value-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 0.2rem;
}

.philosophy-values .value-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.cert-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.cert-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.cert-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.cert-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

/* Team Cards */
.team-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    height: 100%;
}

.team-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.team-img-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 4px solid var(--primary-light);
}

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

.team-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 0.1rem;
}

.team-role {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.75rem;
}

.team-bio {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Timeline */
.farm-timeline {
    position: relative;
    padding-left: 40px;
}

.farm-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary);
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ========================================
   FARM LIFE PAGE
   ======================================== */
.journal-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 300px;
    transition: var(--transition);
}

.journal-card-large {
    height: 100%;
    min-height: 300px;
}

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

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

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

.journal-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(61, 43, 31, 0.9));
    color: var(--white);
}

.journal-date {
    font-size: 0.8rem;
    opacity: 0.8;
}

.journal-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin: 0.25rem 0;
}

.journal-overlay p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Growing Process */
.process-step {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.process-step:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.process-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 30px;
}

.process-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.process-step h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Harvest Calendar Table */
.harvest-calendar-table {
    border-collapse: separate;
    border-spacing: 0;
}

.harvest-calendar-table thead th {
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-size: 0.8rem;
    text-align: center;
    padding: 0.75rem 0.5rem;
    border: none;
}

.harvest-calendar-table thead th:first-child {
    border-radius: var(--radius) 0 0 0;
    text-align: left;
}

.harvest-calendar-table thead th:last-child {
    border-radius: 0 var(--radius) 0 0;
}

.harvest-calendar-table tbody td {
    text-align: center;
    padding: 0.6rem 0.4rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
}

.harvest-calendar-table .crop-name {
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
    font-size: 0.85rem;
}

.harvest-calendar-table td.active {
    background: var(--primary-light);
    position: relative;
}

.harvest-calendar-table td.active::after {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    margin: 0 auto;
}

/* ========================================
   RECIPES PAGE
   ======================================== */
.recipe-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.recipe-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.recipe-season-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.2rem 0.7rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.recipe-info {
    padding: 1.25rem;
}

.recipe-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.recipe-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.recipe-meta i {
    color: var(--primary);
}

.recipe-info p {
    font-size: 0.9rem;
    color: var(--text);
}

.recipe-ingredients {
    font-size: 0.85rem;
    color: var(--text-light);
    padding-top: 0.75rem;
    border-top: 1px dashed var(--border);
}

/* Preservation */
.preservation-item {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px dashed var(--border);
}

.preservation-item:last-child {
    border-bottom: none;
}

.preservation-item h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.preservation-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.preservation-item i {
    color: var(--accent);
}

/* Chef Cards */
.chef-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    height: 100%;
}

.chef-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.chef-img-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 3px solid var(--accent-light);
}

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

.chef-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 0;
}

.chef-restaurant {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    display: block;
    margin-bottom: 0.75rem;
}

.chef-quote {
    font-style: italic;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.subscribe-form-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.contact-form .form-control,
.contact-form .form-select,
.subscribe-form-card .form-control,
.subscribe-form-card .form-select {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
    font-size: 1rem;
    min-height: 48px;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus,
.subscribe-form-card .form-control:focus,
.subscribe-form-card .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.15);
}

.form-label {
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.contact-info-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.contact-info-item i {
    font-size: 1.3rem;
    color: var(--primary);
    margin-top: 0.1rem;
}

.contact-info-item strong {
    display: block;
    color: var(--secondary);
    margin-bottom: 0.1rem;
}

.contact-info-item p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonial-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
}

.testimonial-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.testimonial-stars {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.25rem;
}

.testimonial-author strong {
    display: block;
    color: var(--secondary);
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.cta-title {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ========================================
   LEGAL PAGES
   ======================================== */
.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--secondary);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-content h3 {
    font-size: 1.15rem;
    color: var(--secondary);
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.legal-content p,
.legal-content li {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.8;
}

.legal-content ul {
    padding-left: 1.5rem;
}

.legal-content ul li {
    margin-bottom: 0.3rem;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
}

.footer-botanical-border {
    height: 6px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--soil) 100%);
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.8;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

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

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

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-list li i {
    color: var(--accent);
    margin-top: 0.2rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-certifications {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cert-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.cert-badge i {
    color: var(--accent);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-attribution {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-attribution:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   COOKIE BANNER
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.9);
    z-index: 9990;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

.cookie-text {
    font-size: 0.9rem;
}

.cookie-link {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-link:hover {
    color: var(--accent-light);
}

.btn-cookie {
    white-space: nowrap;
    min-width: 100px;
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* ========================================
   ROUNDED ORGANIC SHAPES
   ======================================== */
.rounded-organic {
    border-radius: var(--radius-lg);
}

.shadow-soft {
    box-shadow: var(--shadow);
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.scroll-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.animate-fade-in:nth-child(2) { animation-delay: 0.2s; }
.animate-fade-in:nth-child(3) { animation-delay: 0.4s; }
.animate-fade-in:nth-child(4) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(253, 252, 250, 0.98);
        backdrop-filter: blur(10px);
        border-radius: var(--radius);
        padding: 1rem;
        margin-top: 0.5rem;
        box-shadow: var(--shadow);
    }

    .navbar-collapse .nav-link {
        color: var(--text) !important;
        padding: 0.75rem 1rem !important;
    }

    .customizer-seasonal-panel {
        border-left: none;
        border-top: 2px dashed var(--border);
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-section {
        min-height: 70vh;
    }

    .page-hero-title {
        font-size: 2.5rem;
    }

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

    .cta-title {
        font-size: 2.2rem;
    }

    .box-card-featured {
        transform: none;
    }

    .box-card-featured:hover {
        transform: translateY(-5px);
    }

    .farm-timeline {
        padding-left: 30px;
    }

    .farm-timeline::before {
        left: 10px;
    }

    .timeline-item::before {
        left: -27px;
        width: 14px;
        height: 14px;
    }

    .journal-card {
        height: 250px;
    }

    .journal-card-large {
        min-height: 250px;
    }

    .box-items {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }

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

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .page-hero {
        min-height: 40vh;
    }

    .page-hero-short {
        min-height: 35vh;
    }

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

    .season-item small {
        display: none;
    }

    .harvest-calendar-table {
        font-size: 0.7rem;
    }

    .harvest-calendar-table .crop-name {
        font-size: 0.7rem;
    }

    .harvest-calendar-table thead th,
    .harvest-calendar-table tbody td {
        padding: 0.4rem 0.2rem;
    }

    .customizer-summary {
        flex-direction: column;
        gap: 0.3rem;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .navbar, .site-footer, .cookie-banner, .back-to-top, .hero-scroll-indicator {
        display: none !important;
    }
}
