/* ============================================
   HOME PAGE CSS — page-home.css
   Soil to Soul Theme
   ============================================ */

/* --- Hero Section --- */
.home-hero {
    position: relative;
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    background: var(--white);
    overflow: hidden;
    padding: 80px 32px;
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 80% at 80% 50%, rgba(124,92,58,0.06) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 10% 80%, rgba(124,92,58,0.04) 0%, transparent 60%);
    pointer-events: none;
}

/* Decorative soil texture line */
.home-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--brown), transparent);
    opacity: 0.3;
}

.home-hero__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 80px;
    align-items: center;
}

.home-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brown);
    margin-bottom: 24px;
}
.home-hero__eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--brown);
}

.home-hero__title {
    font-family: var(--font-display);
    font-size: clamp(52px, 7vw, 88px);
    font-weight: 700;
    line-height: 1.0;
    color: var(--ink);
    letter-spacing: -2px;
    margin-bottom: 12px;
}
.home-hero__title em {
    font-style: italic;
    color: var(--brown);
    display: block;
}

.home-hero__subtitle {
    font-family: var(--font-accent);
    font-size: 18px;
    color: var(--ink-mid);
    font-style: italic;
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 480px;
}

.home-hero__desc {
    font-size: 16px;
    color: var(--ink-mid);
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 40px;
}

.home-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--brown);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 100px;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.home-hero__cta:hover {
    background: var(--brown-dk);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(124,92,58,0.3);
}
.home-hero__cta-arrow { font-size: 18px; transition: transform 0.2s; }
.home-hero__cta:hover .home-hero__cta-arrow { transform: translateX(4px); }

/* Hero photo stack */
.home-hero__visual {
    position: relative;
}
.home-hero__photo-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--cream);
    box-shadow: var(--shadow-lg);
}
.home-hero__photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-hero__photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--ink-light);
    font-size: 14px;
    text-align: center;
    padding: 32px;
    background: linear-gradient(145deg, #f5f0ea, #ede4d8);
}
.home-hero__photo-placeholder .ph-icon { font-size: 48px; opacity: 0.4; }
.home-hero__photo-placeholder .ph-text { font-style: italic; opacity: 0.6; }

/* Floating badge on photo */
.home-hero__badge {
    position: absolute;
    bottom: -20px;
    left: -24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 12px;
}
.home-hero__badge-icon { font-size: 28px; }
.home-hero__badge-label { font-size: 11px; color: var(--ink-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.home-hero__badge-value { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--ink); }

/* Second floating badge */
.home-hero__badge--2 {
    position: absolute;
    top: 24px;
    right: -20px;
    padding: 12px 16px;
}

/* --- Stats Section --- */
.home-stats {
    padding: 100px 32px;
    background: var(--cream);
}
.home-stats__inner {
    max-width: var(--max-w);
    margin: 0 auto;
}
.home-stats__header {
    text-align: center;
    margin-bottom: 64px;
}
.home-stats__label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--brown);
    margin-bottom: 12px;
}
.home-stats__title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 42px);
    color: var(--ink);
    letter-spacing: -1px;
}

.home-stats__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
    background: var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.home-stat-card {
    background: var(--white);
    padding: 40px 24px;
    text-align: center;
    position: relative;
    transition: background 0.25s;
}
.home-stat-card:hover { background: var(--ink); }
.home-stat-card:hover .stat-icon,
.home-stat-card:hover .stat-value,
.home-stat-card:hover .stat-desc { color: var(--white); }
.home-stat-card:hover .stat-label { color: rgba(255,255,255,0.5); }

.stat-icon {
    font-size: 28px;
    margin-bottom: 16px;
    display: block;
    transition: color 0.25s;
}
.stat-value {
    font-family: var(--font-display);
    font-size: clamp(32px, 3vw, 48px);
    font-weight: 700;
    color: var(--brown);
    line-height: 1;
    margin-bottom: 8px;
    transition: color 0.25s;
}
.home-stat-card:hover .stat-value { color: var(--brown-lt); }
.stat-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ink-light);
    margin-bottom: 8px;
    transition: color 0.25s;
}
.stat-desc {
    font-size: 13px;
    color: var(--ink-mid);
    line-height: 1.5;
    transition: color 0.25s;
}

/* Location badge below stats */
.home-stats__location {
    text-align: center;
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: var(--ink-light);
}
.home-stats__location strong { color: var(--ink-mid); font-weight: 600; }

/* --- Project Section --- */
.home-project {
    padding: 100px 32px;
    background: var(--white);
}
.home-project__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.home-project__tag {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brown);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.home-project__tag::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.home-project__title {
    font-family: var(--font-display);
    font-size: clamp(30px, 3.5vw, 44px);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 24px;
}
.home-project__title em { color: var(--brown); font-style: italic; }

.home-project__body { font-size: 16px; color: var(--ink-mid); line-height: 1.8; }
.home-project__body p { margin-bottom: 16px; }
.home-project__body p:last-child { margin-bottom: 0; }

/* Compare panels */
.home-project__highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: calc(var(--nav-h) + 32px);
}
.highlight-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px 28px;
    border-left: 4px solid var(--brown);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.highlight-card:hover { border-left-color: var(--brown-dk); box-shadow: var(--shadow); }
.highlight-card__title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}
.highlight-card__text { font-size: 14px; color: var(--ink-mid); line-height: 1.6; }

/* --- Photo Strip Section --- */
.home-photos {
    padding: 60px 32px 100px;
    background: var(--white);
}
.home-photos__inner { max-width: var(--max-w); margin: 0 auto; }
.home-photos__label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink-light);
    margin-bottom: 24px;
    text-align: center;
}
.home-photos__strip {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 12px;
}
.photo-slot {
    aspect-ratio: 4/3;
    background: var(--cream);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px dashed var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--ink-light);
    font-size: 13px;
    text-align: center;
    padding: 20px;
}
.photo-slot:first-child { aspect-ratio: unset; grid-row: span 1; }
.photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-slot .slot-icon { font-size: 32px; opacity: 0.35; }
.photo-slot .slot-text { opacity: 0.55; font-style: italic; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .home-hero__inner { grid-template-columns: 1fr; gap: 48px; }
    .home-hero__visual { order: -1; max-width: 400px; }
    .home-hero__badge--2 { display: none; }
    .home-stats__grid { grid-template-columns: repeat(3, 1fr); }
    .home-project__inner { grid-template-columns: 1fr; gap: 48px; }
    .home-project__highlights { position: static; }
}
@media (max-width: 640px) {
    .home-hero { padding: 48px 20px 60px; }
    .home-stats { padding: 64px 20px; }
    .home-stats__grid { grid-template-columns: 1fr 1fr; }
    .home-project { padding: 64px 20px; }
    .home-photos__strip { grid-template-columns: 1fr 1fr; }
    .home-photos__strip .photo-slot:first-child { grid-column: span 2; }
}
