/* ==========================================================================
   THEELOVERS.LINK - MASTER STYLESHEET
   Design: Modern, Minimalistisch, High-End
   ========================================================================== */

/* --- 1. CSS VARIABELEN & THEMA --- */
:root {
    --sidebar-width: 280px;
    --primary-color: #2c3e50;      /* Donkerblauw/antraciet voor tekst */
    --accent-color: #8da399;       /* Zacht saliegroen */
    --accent-light: #eef2f0;       /* Zeer zacht groen voor hover states */
    --bg-light: #f4f7f6;           /* Iets zachtere achtergrond voor contrast */
    --footer-dark-green: #1b2e26;
    --white: #ffffff;
    --text-main: #4a5568;          /* Zacht donkergrijs voor betere leesbaarheid */
    
    /* Schaduwen & Animaties */
    --shadow-soft: 0 12px 40px rgba(0,0,0,0.05);
    --shadow-hover: 0 20px 50px rgba(0,0,0,0.1);
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- 2. RESET & CUSTOM SCROLLBAR --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 20px;
    border: 3px solid #f1f1f1;
}
::-webkit-scrollbar-thumb:hover { background-color: var(--primary-color); }
* { scrollbar-width: thin; scrollbar-color: var(--accent-color) #f1f1f1; }

body {
    font-family: 'Avenir Next', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.8;
    overflow-x: hidden;
}

/* --- 3. HOOFDLAYOUT --- */
.layout-wrapper {
    display: flex;
    min-height: 100vh;
}

.main-container {
    margin-left: var(--sidebar-width);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.content {
    padding: 80px 60px;
    max-width: 1200px;
    margin: 0 auto; 
    width: 100%;
}

/* --- 4. SIDEBAR --- */
.sidebar {
    width: var(--sidebar-width);
    background: var(--white);
    padding: 50px 40px;
    border-right: 1px solid rgba(0,0,0,0.05);
    position: fixed;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.logo-container {
    width: 200px;
    height: 200px;
    margin-bottom: 60px;
    flex-shrink: 0;
}

.logo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.nav-section { margin-bottom: 50px; }

.nav-section h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #a0aec0;
    margin-bottom: 25px;
}

.nav-section ul { list-style: none; }
.nav-section ul li { margin-bottom: 15px; }

.nav-section ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition-smooth);
    display: inline-block;
}

.nav-section ul li a:hover,
.nav-section ul li.active a {
    color: var(--accent-color);
    transform: translateX(5px);
}

/* --- 5. ALGEMENE COMPONENTEN & TYPOGRAFIE --- */
.card-polish {
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.02);
    margin-bottom: 50px; 
    transition: var(--transition-smooth);
}

.main-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.section-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 35px; /* Iets meer ruimte onder titels */
    font-weight: 400;
    line-height: 1.3;
}

/* GLOBALE CONTENT PARAGRAFEN (Voor optimale leesbaarheid) */
.content p {
    font-size: 1.15rem;
    color: var(--text-main);
    line-height: 1.85;       /* Extra ademruimte binnen de regel */
    margin-bottom: 35px;     /* Aanzienlijk meer ruimte tussen de paragrafen */
}

.content p:last-child {
    margin-bottom: 0;
}

/* Hover Links in tekst */
.inline-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--accent-light);
    transition: var(--transition-smooth);
    padding-bottom: 2px;
}

.inline-link:hover {
    border-bottom-color: var(--accent-color);
    color: var(--accent-color);
}

/* --- 6. HOMEPAGE SPECIFIEK --- */
.hero-card { padding: 60px; }

.tea-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.tea-card {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    margin-bottom: 0; 
}

.tea-card p {
    font-size: 1rem;         /* Herstel naar kleiner formaat voor kaarten */
    line-height: 1.6;
    margin-bottom: 30px;     /* Normale margin voor grids */
}

.tea-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.tea-card.green { border-top: 5px solid #a3d9a5; }
.tea-card.black { border-top: 5px solid #5d4037; }
.tea-card.white { border-top: 5px solid #e0e0e0; }
.tea-card.oolong { border-top: 5px solid #ffcc80; }
.tea-card.herbal { border-top: 5px solid #80cbc4; }

.card-icon {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 25px;
}

.card-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.btn {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
    position: relative;
    text-transform: lowercase;
    align-self: flex-start;
    margin-top: auto;
    padding-top: 20px;
}

.btn::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
    transform-origin: bottom right;
}

.btn:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* --- 7. THEE TEMPLATE PAGINA SPECIFIEK --- */
.tea-header { padding: 60px; }

.category-tag {
    display: inline-block;
    background: var(--accent-light);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* Uitgebreide Tekstblokken */
.text-card {
    padding: 60px;
}

.text-list {
    list-style: none;
    padding-left: 0;
    margin-top: 40px;
    margin-bottom: 40px;
}

.text-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 25px;
    font-size: 1.15rem;
    line-height: 1.85;
}

.text-list li::before {
    content: '\f06c'; /* FontAwesome leaf icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--accent-color);
}

/* Info Split (Tekst links, Foto rechts) */
.info-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.info-text-block {
    padding: 60px;
    margin-bottom: 0;
}

.info-visual-block {
    padding: 0; 
    overflow: hidden;
    margin-bottom: 0;
    display: flex;
}

.map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.info-visual-block:hover .map-img { transform: scale(1.05); }

/* Productieproces */
.process-section {
    padding: 60px;
    background-color: var(--white);
    border-top: 5px solid var(--accent-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.process-steps-extended {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.step {
    padding: 40px 30px;
    background: var(--bg-light);
    border-radius: 16px;
}

.step-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    opacity: 0.3;
    display: block;
    margin-bottom: 15px;
    line-height: 1;
}

.step h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Smaakprofiel Grid */
.tasting-card { padding: 60px; }

.flavor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.flavor-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-light);
    border-radius: 16px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flavor-item:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-5px);
}

.flavor-item i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: inherit; 
}

.flavor-item span { font-weight: 500; font-size: 1.1rem; }

/* Zetadvies */
.brewing-guide {
    padding: 60px;
    border-left: 8px solid var(--accent-color);
}

.brewing-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0;
    background: var(--bg-light);
    padding: 40px;
    border-radius: 16px;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat:not(:last-child) {
    border-right: 1px solid #e2e8f0;
}

.stat i {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: block;
}

.stat strong {
    display: block;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat span {
    font-size: 0.95rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brewing-tip {
    font-style: italic;
    color: #718096;
    margin-top: 30px;
    text-align: center;
}

/* --- 8. FOOTER --- */
.main-footer {
    background-color: var(--footer-dark-green);
    color: var(--white);
    padding: 80px 60px 30px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--white);
    letter-spacing: 1px;
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
    color: rgba(255,255,255,0.7);
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 15px; }

.footer-links li a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
}

.footer-links li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.disclaimer {
    font-size: 0.85rem !important;
    color: rgba(255,255,255,0.4) !important;
    font-style: italic;
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* --- 9. RESPONSIVE DESIGN --- */
@media (max-width: 1200px) {
    .tea-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .flavor-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 950px) {
    .sidebar { 
        width: 100%; 
        height: auto; 
        position: relative; 
        padding: 30px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .logo-container { margin: 0 auto 30px; width: 150px; height: 150px; }
    .main-container { margin-left: 0; }
    .layout-wrapper { flex-direction: column; }
    .content { padding: 40px 20px; }
    .tea-grid, .footer-grid, .info-split, .process-steps, .process-steps-extended, .flavor-grid { grid-template-columns: 1fr; }
    .main-title { font-size: 2.5rem; }
    .brewing-stats { flex-direction: column; gap: 30px; padding: 30px; }
    .stat:not(:last-child) { border-right: none; border-bottom: 1px solid #e2e8f0; padding-bottom: 30px; }
    .card-polish { margin-bottom: 30px; padding: 40px 30px; overflow: hidden; }
}


/* Supplier Spotlight Block */
.supplier-spotlight {
    display: flex;
    background-color: #1a3026; /* Prachtig donkergroen */
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;
    margin: 50px 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.05);
    align-items: stretch;
}

.supplier-spotlight:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    background-color: #1f3a2e; /* Iets lichter op hover */
}

/* Afbeelding gedeelte */
.spotlight-image {
    flex: 1;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.spotlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.supplier-spotlight:hover .spotlight-image img {
    transform: scale(1.05);
}

/* Tekst gedeelte */
.spotlight-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spotlight-tag {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    color: var(--accent-color); /* We gebruiken je bestaande accentkleur */
    margin-bottom: 15px;
    font-weight: 700;
}

.spotlight-title {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: 'Playfair Display', serif; /* Voor dat luxe gevoel */
}

.spotlight-text {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 30px;
}

.spotlight-link-text {
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-color);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .supplier-spotlight {
        flex-direction: column;
    }
    .spotlight-image {
        min-height: 250px;
    }
}

/* Forceer de tekstkleur voor het hele blok, aangezien het een link is */
.supplier-spotlight, 
.supplier-spotlight:visited, 
.supplier-spotlight:active {
    color: #ffffff !important; /* Forceert wit, ongeacht globale link-instellingen */
    text-decoration: none;
}

.spotlight-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95) !important; /* Bijna wit voor perfecte leesbaarheid */
    margin-bottom: 30px;
    display: block; /* Zorgt dat de tekst goed uitlijnt binnen de link */
}

/* Zorg dat de titel ook altijd wit blijft */
.spotlight-title {
    color: #ffffff !important;
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: 'Playfair Display', serif;
}