/* mn25_css/about-coffee.css */
/* Mazon Nahon - About Coffee Page Style */

:root {
    --primary-blue: #333399;
    --organic-green: #2e7d32;
    --gold: #ffd700;
    --light-bg: #f9f9f9;
    --text-dark: #333;
}

body {
    background-color: #fff;
}

/* --- SECTION 1: SEARCH HERO (Plane) --- */
.search-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Text on Right (RTL) */
    overflow: hidden;
    color: white;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* Gradient to make text readable on any screen size */
.hero-overlay-gradient {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to left, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: flex-start; /* Align text to Right in RTL */
}

.hero-text-box {
    max-width: 600px;
    text-align: right;
    padding: 20px;
}

.hero-text-box h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text-box .highlight {
    color: var(--gold);
    display: block;
}

.hero-desc {
    font-size: 1.3rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* batch-check button (Hidden by default) */
.batch-check {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(5px);
    padding: 15px;
    border-radius: 10px;
    border-right: 4px solid var(--gold);
    display: none;  /* Change to 'flex' to show button. Return to 'none' to hide.  */
    gap: 15px;
    align-items: center;
}

.batch-check .icon { font-size: 1.5rem; }
.batch-check .text { font-size: 0.95rem; }

/* --- SECTION 2: ORIGIN  --- */
.origin-section {
    padding: 80px 20px;
    background-color: white;
}

.label-badge {
    display: inline-block;
    background-color: var(--primary-blue);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.text-content h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.text-content h3 {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 20px;
    font-weight: normal;
}

.feature-img {
    width: 100%;
    border-radius: 15px;
    transition: transform 0.3s;
}

.feature-img:hover { transform: scale(1.02); }

.caption {
    text-align: center;
    font-size: 0.9rem;
    color: #777;
    margin-top: 10px;
}

/* --- SECTION 3: LOGISTICS (Container Secret) --- */
.logistics-section {
    padding: 80px 20px;
    background-color: #f4f4f4;
}

.logistics-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.grid-2-logistics {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.ship-image-wrapper {
    position: relative;
    height: 100%;
    min-height: 300px;
}

.ship-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ship-overlay {
    position: absolute;
    bottom: 20px; right: 20px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
}

.logistics-text {
    padding: 50px;
}

.logistics-text h2 {
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.intro-p { font-size: 1.2rem; font-weight: bold; margin-bottom: 20px; }

.check-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.check-list li {
    position: relative;
    padding-right: 25px;
    margin-bottom: 10px;
}

.check-list li::before {
    content: '✓';
    color: var(--organic-green);
    position: absolute;
    right: 0;
    font-weight: bold;
}

.hint-text {
    background: #e8f5e9; /* Light Green Bg */
    color: var(--organic-green);
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.95rem;
}

/* --- SECTION 4: ROASTING & BREWING --- */
.roasting-section {
    padding: 80px 20px;
    background-color: white;
}

.grid-2-roast {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

/* Video Styling (Square Crop) */
.video-wrapper {
    text-align: center;
}

.video-circle {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1; /* Forces Square Shape */
    border-radius: 20px; /* Rounded corners */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin: 0 auto;
    border: 4px solid white;
    outline: 1px solid #ddd;
}

.roaster-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This ZOOMS the video to fill the square */
}

.brew-methods {
    margin-top: 30px;
    background: #fff8e1; /* Light Cream */
    padding: 25px;
    border-radius: 15px;
}

/* --- NEW BREWING METHODS GRID --- */

.methods-grid {
    display: grid;
    /* Desktop: 4 items per row */
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px 10px; /* 20px vertical gap, 10px horizontal */
    margin-top: 25px;
}

.method-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s;
}

.method-card:hover {
    transform: translateY(-3px); /* Subtle lift on hover */
}

.method-icon {
    width: 60px; /* Adjust this size if needed */
    height: 60px;
    object-fit: contain; /* Ensures the icon scales nicely without distortion */
    margin-bottom: 8px;
    /* Optional: Drop shadow for icons */
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.1)); 
}

.method-name {
    font-size: 0.9rem;
    font-weight: bold;
    color: #4e342e; /* Coffee brown text */
    line-height: 1.2;
}

/* Mobile Tweaks for Grid */
@media (max-width: 768px) {
    .methods-grid {
        /* Mobile: 3 items per row */
        grid-template-columns: repeat(3, 1fr); 
        gap: 15px 5px;
    }
    
    .method-icon {
        width: 50px; /* Slightly smaller icons on mobile */
        height: 50px;
    }
    
    .method-name {
        font-size: 0.8rem;
    }
}

/* --- UTILITIES & MOBILE --- */
.container { max-width: 1100px; margin: 0 auto; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }

.cta-section {
    padding: 60px 20px;
    text-align: center;
    background: var(--primary-blue);
    color: white;
}

.cta-section h2 { margin-bottom: 30px; }

.btn-shop-now {
    background: var(--gold);
    color: var(--primary-blue);
    border: none;
    font-weight: bold;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    display: inline-block;
}

@media (max-width: 768px) {
    .grid-2, .grid-2-logistics, .grid-2-roast {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-text-box h1 { font-size: 2.2rem; }
    
    .methods-flow {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .arrow { display: none; } /* Hide arrows on mobile stack */
    
    .video-circle {
        max-width: 300px; /* Smaller video on mobile */
    }
    
    .logistics-text { padding: 30px 20px; }
}