/* =============================================================================
   ALFA FEEDS - Global Agricultural Feed Trading
   Professional B2B Website Styles
   ============================================================================= */

/* Variables */
:root {
    /* Color Palette - Professional, Neutral, Trust-Building */
    --primary-green: #2d5016;      /* Deep agricultural green */
    --primary-green-dark: #1f3810;
    --primary-green-light: #3d6a20;
    --accent-gold: #c8a35f;         /* Subtle gold accent */
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6a6a6a;
    --border-color: #d4d4d4;
    --bg-light: #f8f8f8;
    --bg-white: #ffffff;
    --bg-cream: #fafaf7;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 0;
    --section-padding-mobile: 50px 0;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-medium);
}

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

/* =============================================================================
   HEADER
   ============================================================================= */
.header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

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

.logo-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: -0.5px;
    margin-bottom: 0;
    line-height: 1;
}

.logo .tagline {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 4px 0 0 0;
    line-height: 1;
}

.nav {
    display: flex;
    gap: 35px;
}

.nav a {
    color: var(--text-medium);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav a:hover {
    color: var(--primary-green);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-green);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* =============================================================================
   HERO SECTION
   ============================================================================= */
.hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: var(--bg-white);
    padding: 100px 0 80px;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-headline {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--bg-white);
}

.hero-subheadline {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-weight: 400;
}

.hero-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 3rem;
    padding: 0 20px;
}

.hero-detail-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px 20px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-detail-item h3 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    color: var(--accent-gold);
}

.hero-detail-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-gold);
    color: var(--text-dark);
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-gold);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

/* =============================================================================
   SECTION COMMON STYLES
   ============================================================================= */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-divider {
    width: 80px;
    height: 3px;
    background-color: var(--primary-green);
    margin: 1.5rem auto 2rem;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* =============================================================================
   ABOUT SECTION
   ============================================================================= */
.about {
    padding: var(--section-padding);
    background-color: var(--bg-white);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-main {
    margin-bottom: 4rem;
}

.about-main h3 {
    font-size: 1.75rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.about-main p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-medium);
}

.about-approach {
    background-color: var(--bg-cream);
    padding: 3rem;
    border-radius: 4px;
    border-left: 4px solid var(--primary-green);
}

.about-approach h3 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 2rem;
    text-align: center;
}

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

.approach-item h4 {
    font-size: 1.1rem;
    color: var(--primary-green-dark);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.approach-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-medium);
}

/* =============================================================================
   PRODUCTS SECTION
   ============================================================================= */
.products {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}

/* Product Flow Visualization */
.product-flow {
    margin-bottom: 4rem;
}

.flow-section {
    background-color: var(--bg-white);
    padding: 3rem 2.5rem;
    margin-bottom: 2rem;
    border-radius: 6px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.flow-section:hover {
    border-color: var(--primary-green);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.flow-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--accent-gold);
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.flow-category {
    padding: 1.5rem;
    background-color: var(--bg-cream);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.flow-category:hover {
    background-color: var(--bg-white);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.flow-icon {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.flow-category h4 {
    font-size: 1.15rem;
    color: var(--primary-green-dark);
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
}

.flow-category ul {
    list-style: none;
    padding: 0;
}

.flow-category ul li {
    padding: 6px 0;
    color: var(--text-medium);
    font-size: 0.95rem;
    position: relative;
    padding-left: 20px;
}

.flow-category ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 1rem;
}

/* Legacy product grid styles (keeping for fallback) */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 3rem;
}

.product-category {
    background-color: var(--bg-white);
    padding: 30px 25px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.product-category:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-green);
}

.product-category h3 {
    font-size: 1.2rem;
    color: var(--primary-green);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--bg-light);
}

.product-category ul {
    list-style: none;
}

.product-category ul li {
    padding: 8px 0;
    color: var(--text-medium);
    font-size: 0.95rem;
    position: relative;
    padding-left: 20px;
}

.product-category ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

.products-note {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--bg-cream);
    border-left: 4px solid var(--accent-gold);
    border-radius: 4px;
}

.products-note p {
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-medium);
}

.products-note p:last-child {
    margin-bottom: 0;
}

.products-note strong {
    color: var(--primary-green-dark);
    font-weight: 600;
}

/* =============================================================================
   WHY US SECTION
   ============================================================================= */
.why-us {
    padding: var(--section-padding);
    background-color: var(--bg-white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 4rem;
}

.why-us-item {
    position: relative;
    padding: 30px;
    background-color: var(--bg-light);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.why-us-item:hover {
    background-color: var(--bg-cream);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.why-us-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-gold);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
}

.why-us-item h3 {
    font-size: 1.15rem;
    color: var(--primary-green-dark);
    margin-bottom: 0.75rem;
}

.why-us-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-medium);
    margin: 0;
}

.value-statement {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: var(--bg-white);
    border-radius: 4px;
    text-align: center;
}

.value-statement h3 {
    font-size: 1.5rem;
    color: var(--bg-white);
    margin-bottom: 1.5rem;
}

.value-statement p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
}

.value-statement p:last-child {
    margin-bottom: 0;
}

/* =============================================================================
   CONTACT SECTION
   ============================================================================= */
.contact {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item h3 {
    font-size: 1rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-medium);
    margin: 0;
}

.contact-form-container {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item a {
    color: var(--primary-green);
    font-weight: 500;
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--primary-green-light);
    text-decoration: underline;
}

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

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

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

.submit-button {
    padding: 15px 40px;
    background-color: var(--primary-green);
    color: var(--bg-white);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.submit-button:hover {
    background-color: var(--primary-green-dark);
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.2);
}

.submit-button:active {
    transform: translateY(1px);
}

/* =============================================================================
   FOOTER
   ============================================================================= */
.footer {
    background-color: var(--primary-green-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 50px 0 30px;
}

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

.footer-main {
    margin-bottom: 2rem;
}

.footer-main h3 {
    font-size: 1.5rem;
    color: var(--bg-white);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.footer-main p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.25rem;
}

.footer-location {
    color: var(--accent-gold) !important;
    font-weight: 500;
}

.footer-legal {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    font-size: 0.8rem !important;
    font-style: italic;
}

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

/* Tablet */
@media (max-width: 968px) {
    h2 {
        font-size: 2rem;
    }
    
    .logo-icon {
        width: 45px;
        height: 45px;
    }
    
    .hero-headline {
        font-size: 2.25rem;
    }
    
    .hero-subheadline {
        font-size: 1.1rem;
    }
    
    .hero-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .approach-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .flow-categories {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .flow-section {
        padding: 2rem 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    :root {
        --section-padding: 50px 0;
    }
    
    .header {
        padding: 15px 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .logo-text h1 {
        font-size: 1.5rem;
    }
    
    .nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav a {
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 60px 0 50px;
    }
    
    .hero-headline {
        font-size: 1.75rem;
    }
    
    .hero-subheadline {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .about-approach {
        padding: 2rem 1.5rem;
    }
    
    .flow-section {
        padding: 2rem 1.5rem;
    }
    
    .flow-title {
        font-size: 1.1rem;
    }
    
    .flow-icon {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .value-statement {
        padding: 2rem 1.5rem;
    }
    
    .contact-form-container {
        padding: 25px;
    }
    
    .cta-button,
    .submit-button {
        width: 100%;
        text-align: center;
    }
}
