/**
 * NMN Expert Tenant-Specific Branding & Styles
 * 
 * Dit bestand bevat alle NMN Expert-specifieke CSS.
 * Wordt geladen na style.css (gedeelde base) zodat overrides werken.
 */

/* =========================================================
   NMN Expert - Brand Colors & Variables
   ========================================================= */

:root {
    --nmn-primary: #4CAF50;
    --nmn-primary-dark: #388E3C;
    --nmn-primary-light: #81C784;
    --nmn-accent: #FFD700;
    --nmn-text: #1f2937;
    --nmn-text-light: #6b7280;
    --nmn-bg: #ffffff;
    --nmn-border: rgba(0,0,0,0.08);
    /* PAS HIER DE PRODUCT FOTO KOLOM BREEDTE AAN */
    --product-photo-column-width: 450px;
}

/* =========================================================
   NMN Expert - Header & footer (#8cd05c, 80% dekking / 20% transparant), navbar donkergroen
   ========================================================= */
.site-header {
    /* Zelfde kleur en transparantie als footer */
    background-color: rgba(140, 208, 92, 0.8);
}
.footer-top {
    /* Zelfde groen als .insight-box (#8cd05c), 80% dekking (20% transparant) */
    background-color: rgba(140, 208, 92, 0.8);
}

/* =========================================================
   NMN Expert - Home Page Hero Section
   ========================================================= */

.nmn-hero {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    color: white;
    padding: 3rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.3);
}

.nmn-hero__inner h2 {
    margin: 0 0 0.75rem 0;
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
}

.nmn-hero__inner p {
    margin: 0 0 1.5rem 0;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.nmn-hero__cta .primary-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #FFD700;
    color: #1f2937;
    text-decoration: none;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nmn-hero__cta .primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* =========================================================
   NMN Expert - Section Styling
   ========================================================= */

.nmn-section {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.nmn-section__header h3 {
    margin: 0 0 0.5rem 0;
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 700;
}

.nmn-section__header p {
    margin: 0.5rem 0 1.25rem 0;
    color: #6b7280;
    font-size: 1rem;
}

/* =========================================================
   NMN Expert - Product Grid (Backup2NMN-stijl: flex, 4 tegels)
   ========================================================= */

.nmn-product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 24px;
}

.nmn-product-card {
    width: 250px;
    min-height: 360px;
    background: white;
    border: 1px solid var(--nmn-border);
    border-radius: 16px;
    overflow: hidden;
    padding: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 26px rgba(47, 79, 61, 0.08);
}

.nmn-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(47, 79, 61, 0.14);
    border-color: var(--nmn-primary);
}

.nmn-product-card__image {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 0;
    flex-shrink: 0;
    background: #f6f8f5;
}

.nmn-product-card__title {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
    padding: 1rem 1.1rem 0 1.1rem;
}

.nmn-product-card p {
    font-size: 0.9rem !important;
    line-height: 1.45;
    margin: 0 !important;
    padding: 0 1.1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #516055;
}

.nmn-product-card__price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--nmn-primary);
    margin-top: 0.6rem;
    padding: 0.6rem 1.1rem 1.2rem;
    border-top: 1px solid rgba(47, 79, 61, 0.08);
}

.nmn-product-card__price--sale {
    color: #d32f2f;
}

.nmn-product-card__price--original {
    text-decoration: line-through;
    color: #9e9e9e;
    font-size: 1.125rem;
    margin-right: 0.5rem;
}

/* Shop: iets grotere tegels (Backup2NMN shop-stijl) */
.nmn-shop .nmn-product-grid {
    gap: 24px;
    margin-bottom: 4rem;
}

.nmn-shop .nmn-product-card {
    width: 260px;
    min-height: 420px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(47, 79, 61, 0.08);
}

/* Product detail pagina - product item top section (nieuwe layout met foto links, info rechts) */
/* Alleen voor product detail pagina, niet voor shop */
#product-detail-container .product-item-top-section {
    grid-template-columns: var(--product-photo-column-width, 50px) 1fr !important;
}

#product-detail-container .product-item-top-section .product-card {
    width: var(--product-photo-column-width, 50px) !important;
    max-width: var(--product-photo-column-width, 50px) !important;
    min-width: var(--product-photo-column-width, 50px) !important;
    flex-shrink: 0 !important;
}

/* Product image moet de volledige breedte van de container gebruiken */
#product-detail-container .product-card .product-image {
    width: 100% !important;
    height: auto !important;
    min-height: 450px !important;
}

#product-detail-container .product-card .product-image img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
}

.nmn-shop .nmn-product-card:hover {
    box-shadow: 0 18px 40px rgba(47, 79, 61, 0.14);
}

.nmn-shop .nmn-product-card__image {
    height: 210px;
}

.nmn-shop .nmn-product-card__title {
    font-size: 1.2rem;
    padding: 1.2rem 1.3rem 0 1.3rem;
}

.nmn-shop .nmn-product-card p {
    padding: 0 1.3rem;
}

.nmn-shop .nmn-product-card__price {
    padding: 0.75rem 1.3rem 1.4rem;
}

/* =========================================================
   NMN Expert - Benefits Section
   ========================================================= */

.nmn-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.nmn-benefit-card {
    background: white;
    border: 1px solid var(--nmn-border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nmn-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.nmn-benefit-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.nmn-benefit-card__title {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.nmn-benefit-card__description {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* =========================================================
   NMN Expert - Responsive Design
   ========================================================= */

@media (max-width: 768px) {
    .nmn-hero {
        padding: 2rem 1.25rem;
    }
    
    .nmn-hero__inner h2 {
        font-size: 1.75rem;
    }
    
    .nmn-hero__inner p {
        font-size: 1rem;
    }
    
    .nmn-product-grid {
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .nmn-product-card {
        width: calc(50% - 0.5rem);
        min-width: 160px;
    }
    
    .nmn-shop .nmn-product-card {
        width: calc(50% - 0.5rem);
        min-width: 160px;
    }
    
    .nmn-benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nmn-product-grid {
        gap: 1rem;
    }
    
    .nmn-product-card,
    .nmn-shop .nmn-product-card {
        width: 100% !important;
        min-width: 0;
    }
    
    .nmn-hero__inner h2 {
        font-size: 1.5rem;
    }
}
