/* ========================================
   TIMBERLARK - Main Stylesheet
   See the Forest Clearly
   ======================================== */

/* ===== CSS VARIABLES (Brand Colors) ===== */
:root {
    /* Primary Colors */
    --forest-green: #2D5016;
    --forest-green-light: #3D6B1E;
    --forest-green-dark: #1E3A0E;
    --timber-brown: #8B6914;
    --lark-gold: #D4A017;
    --lark-gold-light: #E8B730;
    --sky-blue: #4A90D9;
    
    /* Neutral Colors */
    --cream: #F5F1E8;
    --cream-dark: #EDE7D9;
    --charcoal: #2C3E50;
    --charcoal-light: #34495E;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #6C757D;
    --dark-gray: #343A40;
    
    /* Status Colors */
    --success: #27AE60;
    --warning: #F39C12;
    --error: #E74C3C;
    --info: #3498DB;
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 56px 0;
    --container-width: 1200px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--lark-gold);
    color: var(--charcoal);
    border-color: var(--lark-gold);
}

.btn-primary:hover {
    background: var(--lark-gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

.btn-large {
    padding: 18px 48px;
    font-size: 1.1rem;
}

.btn-mill {
    background: var(--timber-brown);
    border-color: var(--timber-brown);
    color: var(--white);
}

.btn-mill:hover {
    background: #9E7A1A;
}

.btn-landowner {
    background: var(--forest-green);
    border-color: var(--forest-green);
    color: var(--white);
}

.btn-landowner:hover {
    background: var(--forest-green-light);
}

.btn-trucker {
    background: var(--sky-blue);
    border-color: var(--sky-blue);
    color: var(--white);
}

.btn-trucker:hover {
    background: #5BA0E9;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(45, 80, 22, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--white);
    letter-spacing: 2px;
}

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

.nav-links a {
    color: rgba(255,255,255,0.82);
    font-weight: 500;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
}

.nav-links a:hover {
    color: var(--lark-gold);
}

.nav-cta {
    background: var(--lark-gold);
    color: var(--charcoal) !important;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: var(--lark-gold-light);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--forest-green-dark) 0%, var(--forest-green) 50%, var(--forest-green-light) 100%);
    color: var(--white);
    text-align: center;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="50" opacity="0.03">🌲</text></svg>');
    background-size: 100px 100px;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-icon {
    font-size: 2rem;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 500;
}

/* ===== PROBLEM SECTION ===== */
.problem-section {
    padding: var(--section-padding);
    background: var(--cream);
}

.problem-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--charcoal);
    margin-bottom: 50px;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.problem-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.problem-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--charcoal);
}

.problem-card p {
    color: var(--medium-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== SOLUTION SECTION ===== */
.solution-section {
    padding: var(--section-padding);
    background: var(--white);
}

.solution-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: var(--medium-gray);
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.solution-card {
    padding: 35px;
    border-radius: var(--radius-md);
    border: 2px solid var(--cream-dark);
    transition: all 0.3s ease;
    position: relative;
}

.solution-card:hover {
    border-color: var(--forest-green);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.solution-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3rem;
    color: var(--cream-dark);
    position: absolute;
    top: 15px;
    right: 20px;
}

.solution-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.solution-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.solution-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* ===== USER SECTIONS ===== */
.user-section {
    padding: var(--section-padding);
}

.loggers-section {
    background: var(--cream);
}

.mills-section {
    background: var(--white);
}

.landowners-section {
    background: var(--cream);
}

.truckers-section {
    background: var(--white);
}

.user-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.user-content.reverse {
    direction: rtl;
}

.user-content.reverse > * {
    direction: ltr;
}

.user-badge {
    display: inline-block;
    background: var(--forest-green);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.mill-badge {
    background: var(--timber-brown);
}

.landowner-badge {
    background: var(--forest-green);
}

.trucker-badge {
    background: var(--sky-blue);
}

.user-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.user-text > p {
    color: var(--medium-gray);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-list li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-list .check {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-list strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
}

.feature-list p {
    color: var(--medium-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ===== VISUAL CARDS ===== */
.visual-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--cream-dark);
}

.visual-card h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--cream);
}

.preview-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 0.95rem;
}

.preview-stat.highlight {
    font-weight: 600;
}

.price {
    font-family: var(--font-heading);
    font-weight: 700;
}

.price.warning {
    color: var(--warning);
}

.price.good {
    color: var(--success);
}

.preview-divider {
    height: 2px;
    background: var(--cream);
    margin: 10px 0;
}

.preview-note {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--forest-green);
    font-weight: 600;
    font-style: italic;
}

/* Mill Card */
.mill-card {
    border-color: var(--timber-brown);
}

.badge-display {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--forest-green-dark), var(--forest-green));
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.badge-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.badge-text {
    color: var(--lark-gold);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 3px;
}

.badge-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.badge-stat {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    padding: 5px 0;
}

.stars {
    color: var(--lark-gold);
}

/* Landowner Card */
.landowner-card {
    border-color: var(--forest-green);
}

.property-preview {
    display: flex;
    flex-direction: column;
}

.property-stat {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.95rem;
}

.property-stat.highlight {
    font-weight: 600;
}

/* Trucker Card */
.trucker-card {
    border-color: var(--sky-blue);
}

.load-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.load-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: var(--light-gray);
    border-radius: var(--radius-sm);
    gap: 15px;
}

.load-item.backhaul {
    background: #E8F5E9;
    border: 1px solid var(--success);
}

.load-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 0.85rem;
}

.load-info strong {
    font-size: 0.95rem;
}

.mini-btn {
    background: var(--sky-blue);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* ===== TRANSPARENCY SECTION ===== */
.transparency-section {
    padding: var(--section-padding);
    background: var(--forest-green);
    color: var(--white);
}

.transparency-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.transparency-section .section-subtitle {
    color: rgba(255,255,255,0.8);
}

.transparency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.transparency-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(5px);
}

.transparency-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.transparency-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--lark-gold);
}

.transparency-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.transparency-card li {
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
    opacity: 0.9;
}

.transparency-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--lark-gold);
    font-weight: bold;
}

/* ===== WAITLIST SECTION ===== */
.waitlist-section {
    padding: var(--section-padding);
    background: var(--cream);
}

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

.waitlist-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.waitlist-content > p {
    color: var(--medium-gray);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.waitlist-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: left;
}

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

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--white);
}

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

.form-group textarea {
    resize: vertical;
}

.waitlist-form .btn {
    width: 100%;
    margin-top: 10px;
}

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--medium-gray);
    margin-top: 15px;
}

.form-success {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.form-success h3 {
    color: var(--forest-green);
    margin-bottom: 10px;
}

/* ===== MISSION SECTION ===== */
.mission-section {
    padding: var(--section-padding);
    background: var(--white);
}

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

.mission-content h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.mission-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--charcoal-light);
    margin-bottom: 20px;
}

.mission-values {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.value {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.value-icon {
    font-size: 2rem;
}

.value span:last-child {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--forest-green);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--charcoal);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}

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

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-brand .logo-text {
    color: var(--white);
    font-size: 1.2rem;
}

.footer-tagline {
    color: var(--lark-gold);
    font-style: italic;
    margin-top: 5px;
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    text-align: center;
    font-size: 0.85rem;
}

.legacy-text {
    color: var(--lark-gold);
    font-style: italic;
    margin-top: 8px;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media (max-width: 968px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .user-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .user-content.reverse {
        direction: ltr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .solution-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--forest-green-dark);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        text-align: center;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .transparency-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-values {
        gap: 20px;
    }
        .section-padding {
        padding: 60px 0;
    }
}

/* ===== SCROLL ANIMATIONS ===== */
.problem-card,
.solution-card,
.feature-list li,
.transparency-card,
.visual-card,
.user-badge {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Stagger the animations */
.problem-card:nth-child(2),
.solution-card:nth-child(2),
.feature-list li:nth-child(2) {
    transition-delay: 0.1s;
}

.problem-card:nth-child(3),
.solution-card:nth-child(3),
.feature-list li:nth-child(3) {
    transition-delay: 0.2s;
}

.problem-card:nth-child(4),
.solution-card:nth-child(4),
.feature-list li:nth-child(4) {
    transition-delay: 0.3s;
}

.solution-card:nth-child(5) {
    transition-delay: 0.4s;
}

.solution-card:nth-child(6) {
    transition-delay: 0.5s;
}

.feature-list li:nth-child(5) {
    transition-delay: 0.4s;
}

/* ===== MOBILE MENU ANIMATION ===== */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}