/* Custom CSS for Seydou Diallo Sikasso Farm */
:root {
    --primary: #15803d;         /* Agriculture lush green */
    --primary-hover: #166534;
    --primary-light: #f0fdf4;
    --secondary: #d97706;       /* Harvest gold */
    --secondary-hover: #b45309;
    --secondary-light: #fffbeb;
    --dark: #1c1917;            /* Dark earth warm gray */
    --dark-muted: #44403c;
    --light-bg: #faf7f2;        /* Warm light sand */
    --card-bg: #ffffff;
    --border-color: #e7e5e4;
    --wa-green: #25D366;
    --wa-dark: #128C7E;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Noto Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--light-bg);
    color: var(--dark);
    line-height: 1.6;
    font-size: 16px;
}

body {
    padding-bottom: 70px; /* Space for mobile sticky nav */
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

/* Typography & Links */
h1, h2, h3, h4 {
    color: var(--dark);
    font-weight: 700;
    line-height: 1.25;
}

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

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.85rem 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

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

.brand-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.brand-name {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.brand-subtitle {
    display: block;
    font-size: 0.75rem;
    color: var(--dark-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Language Switcher */
.lang-switch {
    display: flex;
    background: #f1f5f9;
    padding: 3px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.lang-btn {
    border: none;
    background: transparent;
    padding: 4px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 16px;
    cursor: pointer;
    color: var(--dark-muted);
    transition: all 0.2s ease;
}

.lang-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 4px rgba(21, 128, 61, 0.2);
}

.btn-whatsapp-sm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--wa-green);
    color: white;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background-color 0.2s;
}

.btn-whatsapp-sm:hover {
    background-color: var(--wa-dark);
}

@media (max-width: 540px) {
    .btn-whatsapp-sm span {
        display: none;
    }
    .btn-whatsapp-sm {
        padding: 7px 10px;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    color: white;
    padding: 4.5rem 0 3.5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 40, 20, 0.88) 0%, rgba(10, 25, 12, 0.78) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: #fef08a;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #eab308;
    border-radius: 50%;
    box-shadow: 0 0 8px #eab308;
}

.hero-title {
    font-size: clamp(1.85rem, 5vw, 3rem);
    color: white;
    margin-bottom: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hero-desc {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--secondary);
    color: white;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-1px);
}

.btn-whatsapp {
    background-color: var(--wa-green);
    color: white;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    background-color: var(--wa-dark);
    transform: translateY(-1px);
}

.btn-phone {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(21, 128, 61, 0.3);
}

.btn-phone:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
}

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

.stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fef08a;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    margin-bottom: 0.75rem;
}

.section-desc {
    color: var(--dark-muted);
    font-size: 1.05rem;
}

/* Products Section */
.products-section {
    padding: 4.5rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.product-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background-color: #f1f5f9;
}

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

.product-card:hover .product-image-wrap img {
    transform: scale(1.04);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: white;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.badge-millet {
    background: var(--secondary);
}

.product-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.product-title {
    font-size: 1.35rem;
    font-weight: 800;
}

.product-weight {
    display: inline-block;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 6px;
    color: var(--dark-muted);
    font-weight: 600;
    margin-left: 4px;
    vertical-align: middle;
}

.product-price {
    text-align: right;
    white-space: nowrap;
}

.price-val {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary);
}

.price-curr {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--dark-muted);
    margin-left: 2px;
}

.product-desc {
    color: var(--dark-muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
    margin-top: auto;
}

.product-features li {
    font-size: 0.9rem;
    color: var(--dark);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.check-icon {
    color: var(--primary);
    font-weight: bold;
}

.btn-product-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background-color: var(--wa-green);
    color: white;
    padding: 12px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    transition: background-color 0.2s ease;
}

.btn-product-wa:hover {
    background-color: var(--wa-dark);
}

/* Calculator Section */
.calculator-section {
    padding: 3rem 0;
    background: linear-gradient(to bottom, var(--light-bg), #f5f0e6);
}

.calc-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 2px solid #ebd9c0;
    padding: 2rem;
    max-width: 680px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.calc-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.calc-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.calc-desc {
    font-size: 0.92rem;
    color: var(--dark-muted);
}

.calc-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.calc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--light-bg);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.calc-item-info {
    display: flex;
    flex-direction: column;
}

.calc-item-name {
    font-weight: 700;
    font-size: 1.05rem;
}

.calc-item-price {
    font-size: 0.85rem;
    color: var(--dark-muted);
}

.calc-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.calc-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: white;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.calc-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
}

.calc-qty {
    font-size: 1.2rem;
    font-weight: 800;
    min-width: 24px;
    text-align: center;
}

.calc-summary {
    border-top: 2px dashed var(--border-color);
    padding-top: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.summary-total {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
}

/* Features Grid */
.features-section {
    padding: 4.5rem 0;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
    margin-top: 2.5rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 1.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.feature-desc {
    font-size: 0.92rem;
    color: var(--dark-muted);
}

/* Info Section */
.info-section {
    padding: 2.5rem 0 4.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.info-box {
    background: white;
    padding: 1.75rem;
    border-radius: var(--radius-md);
    border-left: 5px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.info-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    margin-bottom: 0.85rem;
}

.payment-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1rem;
}

.payment-badge {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
}

.payment-badge.om { background: #ff6600; color: white; }
.payment-badge.wave { background: #1dc4fe; color: white; }
.payment-badge.moov { background: #005ca9; color: white; }
.payment-badge.cash { background: #e2e8f0; color: #334155; }

/* Contact Section */
.contact-section {
    padding: 2rem 0 5rem;
}

.contact-card {
    background: linear-gradient(135deg, #166534 0%, #14532d 100%);
    color: white;
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.contact-subtitle {
    color: #fef08a;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-title {
    color: white;
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    margin: 0.5rem 0 0.8rem;
}

.contact-location {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
}

/* Footer */
.site-footer {
    background: #0c0a09;
    color: rgba(255, 255, 255, 0.6);
    padding: 1.75rem 0;
    font-size: 0.88rem;
    border-top: 1px solid #292524;
}

.footer-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

/* Mobile Sticky Bar */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: white;
    border-top: 1px solid var(--border-color);
    display: flex;
    padding: 8px 12px;
    gap: 10px;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .mobile-sticky-bar {
        display: none;
    }
}

.sticky-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    color: white;
}

.sticky-btn.phone {
    background-color: var(--primary);
}

.sticky-btn.wa {
    background-color: var(--wa-green);
}
