/* mn25_css/green-new_en.css */
/* Dedicated Design for English Green Coffee Page - Mazon Nahon 2025 */

:root {
    --green-primary: #2e7d32;   /* Deep Green */
    --green-vibrant: #4caf50;   /* Vibrant Green */
    --green-bg-start: #e8f5e9;  /* Light Green bg */
    --green-bg-end: #ffffff;    /* White bg */
    --gold: #ffd700;
}

body {
    background: linear-gradient(to bottom, var(--green-bg-start) 0%, var(--green-bg-end) 50%);
    background-attachment: fixed;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* --- Language Flags --- */
.lang-switcher img.lang-flag {
    width: 25px;
    height: auto;
    vertical-align: middle;
    margin-left: 5px;
}

/* --- Top Navigation (LTR) --- */
.top-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.top-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.3s ease;
}

.top-nav a:hover {
    color: var(--green-primary);
}

/* Underline effect */
.top-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.top-nav a:hover::after {
    width: 100%;
}

/* --- HERO SECTION --- */
.green-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url('../mn25_images/hero-green.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-bottom: 5px solid var(--gold);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin: 0;
    line-height: 1.2;
}

.hero-content .highlight {
    color: var(--gold);
    font-size: 0.8em;
    display: block;
    margin-top: 5px;
    font-weight: bold;
}

.hero-content h2 {
    font-size: 1.5rem;
    font-weight: normal;
    margin-top: 10px;
    color: #e0e0e0;
}

.hero-text {
    max-width: 700px;
    margin: 20px auto;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Green Action Button */
.btn-green-action {
    background: linear-gradient(45deg, #2e7d32, #66bb6a);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.4);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    margin-top: 30px;
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.btn-green-action:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.6);
}

/* --- PURITY SECTION --- */
.purity-section {
    background-color: white;
    padding: 60px 20px;
    text-align: center;
    border-bottom: 4px solid var(--gold);
}

.purity-box {
    max-width: 800px;
    margin: 0 auto;
    border: 2px dashed var(--green-primary);
    padding: 40px;
    border-radius: 15px;
    background-color: var(--green-light);
}

.icon-header {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--green-primary);
    margin-bottom: 15px;
}

.purity-box p {
    font-size: 1.2rem;
    color: var(--text-dark);
}

/* --- SCIENCE GRID --- */
.science-grid-section {
    padding: 80px 20px;
    background-color: #f4f4f4;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--green-primary);
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
    color: #666;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Standard Card */
.science-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #c8e6c9; 
    border-top: 5px solid var(--green-primary);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.science-card:hover {
    transform: translateY(-5px);
}

.science-card h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.4rem;
}

.source {
    font-size: 0.9rem;
    color: #777;
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
}

/* Featured Card (Left to Right Gradient for English) */
.featured-card {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 40px;
    /* Gradient: White on Left (Text) -> Greenish on Right (Image) */
    background: linear-gradient(to right, white 60%, #e0f2f1 100%);
    border: 2px solid var(--green-primary);
}

.card-content {
    flex: 2;
}

.card-image {
    flex: 1;
}

.card-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.note {
    background-color: var(--gold);
    color: black;
    padding: 5px 10px;
    display: inline-block;
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: 15px;
    border-radius: 4px;
}

/* --- USAGE SECTION --- */
.usage-section {
    padding: 80px 20px;
    background-color: white;
    text-align: center;
}

.usage-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
}

.step-num {
    background: var(--green-primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.big-btn {
    padding: 20px 50px;
    font-size: 1.5rem;
}

/* --- Bottom Link "Back" --- */
.small-link {
    display: inline-flex;
    align-items: center;
    margin-top: 30px;
    color: #777;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    background-color: white;
}

/* Icon BEFORE the text, adjusted for LTR */
.small-link::before {
    content: '↩';
    margin-right: 8px; /* Margin on right side for English */
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.small-link:hover {
    color: var(--green-primary);
    border-color: var(--green-primary);
    background-color: #f0f9f0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.small-link:hover::before {
    transform: translateX(-3px); /* Move leftwards in English */
}

/* --- FOOTER --- */
.small-note {
    font-size: 0.9rem;
    color: #aaa;
}
.disclaimer {
    font-size: 0.8rem;
    margin-top: 10px;
    opacity: 0.7;
}

/* --- Unified Mobile Tweaks --- */
@media (max-width: 768px) {
    
    .featured-card {
        flex-direction: column-reverse;
        text-align: center;
    }

    .green-hero {
        padding: 50px 20px;
        background-position: center top; 
    }

    .hero-content h1 {
        font-size: 2.3rem; 
        margin-bottom: 10px;
    }

    .hero-content h2 {
        font-size: 1.1rem;
        margin-top: 5px;
    }

    .hero-text {
        font-size: 1rem;
        margin: 15px auto;
        line-height: 1.4;
    }

    .btn-green-action {
        margin-top: 15px;
        padding: 12px 30px;
        font-size: 1.2rem;
    }