/* Γενικό στυλ σελίδας */
body { 
    background-color: #f4f7f6; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
} 

.recipes-section { padding: 60px 0; } 

.header-actions { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 30px; 
    flex-wrap: wrap; 
} 

.pdf-btn { 
    background: #e74c3c; 
    color: white !important; 
    padding: 12px 25px; 
    border-radius: 30px; 
    text-decoration: none; 
    font-weight: bold; 
    transition: 0.3s; 
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3); 
} 

.pdf-btn:hover { 
    background: #c0392b; 
    transform: translateY(-2px); 
} 

/* Category Blocks */
.category-block { 
    background: #28a745; 
    border-radius: 15px; 
    overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    margin-bottom: 20px; 
    border: none; 
} 

.accordion-header { 
    cursor: pointer; 
    padding: 10px 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    background: #28a745; 
    transition: 0.3s; 
    min-height: 100px; /* Εξασφαλίζει χώρο για το μεγάλο thumbnail */
} 

.accordion-header:hover { background: #218838; } 

.title-text { 
    font-size: 1.25rem; 
    font-weight: 700; 
    color: white; 
    display: flex; 
    align-items: center; 
} 

.title-text i { margin-right: 15px; color: #d4edda; } 

/* Ρυθμίσεις Thumbnails (Εξωτερική εικόνα) */
.external-cat-img { 
    max-height: 95px; /* Μεγάλωσαν για να πιάνουν σχεδόν όλο το πράσινο ύψος */
    width: auto; 
    border-radius: 10px; 
    margin-left: auto; 
    margin-right: 20px; 
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: scale(1);
} 

/* Animation Εξαφάνισης Thumbnail */
.category-block.active .external-cat-img { 
    opacity: 0;
    transform: scale(0.4) translateX(50px);
    pointer-events: none;
    width: 0;
    margin-right: 0;
} 

/* Περιεχόμενο Ακορντεόν */
.accordion-content { 
    display: none; 
    padding: 30px; 
    background: #f8fdfb; 
    border-top: 1px solid rgba(0,0,0,0.05); 
    animation: fadeInContent 0.5s ease;
} 

@keyframes fadeInContent {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Μεγάλη Εσωτερική Εικόνα (Animation εμφάνισης) */
.internal-main-img { 
    display: block; 
    max-height: 300px; 
    width: auto; 
    margin: 0 auto 30px auto; 
    border-radius: 15px; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.1); 
    opacity: 0;
    transform: translateY(-20px) scale(0.9);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
} 

.category-block.active .internal-main-img {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Recipe Grid & Cards */
.recipe-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 20px; 
} 

.recipe-card { 
    background: white; 
    padding: 20px; 
    border-radius: 12px; 
    border-left: 5px solid #28a745; 
    box-shadow: 0 3px 10px rgba(0,0,0,0.05); 
} 

.recipe-card h3 { 
    font-size: 1.1rem; 
    font-weight: 700; 
    color: #155724; 
    margin-bottom: 10px; 
} 

.recipe-card p { 
    font-size: 0.95rem; 
    color: #444; 
    line-height: 1.5; 
    margin-bottom: 0; 
} 

.arrow { font-size: 1.2rem; color: white; transition: 0.4s; } 
.category-block.active .arrow { transform: rotate(180deg); } 

@media (max-width: 768px) { 
    .external-cat-img { max-height: 70px; margin-right: 10px; }
    .internal-main-img { max-height: 200px; } 
}