/* assets/css/style.css */

/* --- 1. Variabile Globale (Paleta de culori Juridică) --- */
:root {
    --primary-color: #1a365d; /* Bleumarin închis (încredere, autoritate) */
    --primary-hover: #0f2942;
    --accent-color: #b89053;  /* Auriu temperat / Bronz (prestanță) */
    --text-main: #2d3748;     /* Gri antracit (lizibilitate maximă) */
    --text-muted: #4a5568;
    --bg-light: #f7fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
    
    /* Fonturi de sistem hibride: Serif pentru titluri (autoritate), Sans-serif pentru text (lizibilitate) */
    --font-heading: 'Georgia', 'Times New Roman', serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* --- 2. Reset și Setări de Bază --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.7;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

/* --- 3. Butoane --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* --- 4. Header & Navigație --- */
.site-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color); /* Linie foarte fina pentru un aspect curat */
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03); /* Umbră extrem de subtilă */
}

.header-inner {
    display: flex;
    justify-content: space-between; /* Aruncă logo-ul în stânga și meniul în dreapta */
    align-items: center;
    flex-wrap: wrap;
}

/* Stilizarea detaliată a Logo-ului */
.logo {
    display: flex;
    flex-direction: column; /* Pune cele doua texte unul sub altul */
    text-decoration: none;
    line-height: 1.1;
}

.logo-title {
    font-family: var(--font-heading); /* Serif font pentru autoritate */
    font-size: 1.95rem;
    color: #1a365d; /* Bleumarin inchis */
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-family: var(--font-heading); /* Mentinem acelasi font, dar mai subtire */
    font-size: 1.55rem;
    color: #64748b; /* Gri elegant (Slate/Muted) */
    font-weight: 400; /* Grosime normala pentru contrast cu titlul */
    margin-top: 2px;
}

/* Meniul de navigare */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 35px; /* Spatiere aerisita intre linkuri */
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: #1e293b; /* Culoare de text foarte închisă */
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px; /* Un pic de spațiu între litere pentru eleganță */
    font-family: var(--font-body);
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: var(--primary-color);
}

/* --- 5. Breadcrumbs --- */
.breadcrumbs {
    padding: 20px 0;
    font-size: 0.9rem;
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
}

.breadcrumbs .separator {
    margin: 0 10px;
    color: var(--text-muted);
}

.breadcrumbs [aria-current="page"] {
    font-weight: 600;
    color: var(--primary-color);
}

/* --- 6. Structuri de Pagină --- */
.page-content {
    flex: 1;
    padding: 50px 0;
}

/* Hero Section */
.hero-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 100px 20px;
    margin-bottom: 50px;
    text-align: center;
    border-bottom: 4px solid var(--accent-color);
}

.hero-section h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 25px;
}

.hero-section .lead-text {
    color: #e2e8f0;
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.text-center { text-align: center; }

/* Grile pentru Arii de practică (Structură siloz) */
.features-grid, .courses-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item, .course-card {
    background: var(--bg-light);
    padding: 35px 25px;
    border-top: 3px solid var(--accent-color);
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-link {
    display: block;
    color: inherit;
}

.feature-link:hover .feature-item, .feature-link:hover .course-card {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--white);
}

/* --- 7. Footer (Optimizat 100/100 Accesibilitate) --- */
.site-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
    text-align: center;
    border-top: 4px solid var(--accent-color);
}

.footer-brand p {
    color: #e2e8f0;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: #cbd5e1;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-copyright {
    border-top: 1px solid #2d3748;
    padding-top: 20px;
    margin-top: 20px;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* --- 8. Responsive Design --- */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }
    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .hero-section {
        padding: 60px 15px;
    }
    .hero-section h1 {
        font-size: 2.2rem;
    }
}
/* --- Design Natural pentru Carduri Blog --- */
.blog-card-natural {
    background: var(--white);
    border: 1px solid #eaeaea; /* Contur foarte subtil și natural */
    border-radius: 12px; /* Colțuri ușor rotunjite, prietenoase */
    overflow: hidden; /* Asigură că imaginea respectă marginile rotunde */
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02); /* Umbră abia perceptibilă */
}

/* La trecerea mouse-ului, cardul NU mai sare în sus, doar i se accentuează discret conturul */
.blog-card-natural:hover {
    border-color: #cccccc;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Imaginea secțiunii de blog */
.blog-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover; /* Poza își păstrează proporțiile fără a se deforma */
    border-bottom: 1px solid #eaeaea;
}

/* Containerul de text de sub imagine */
.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Împinge linkul "Citește mai mult" mereu în partea de jos */
}

/* Typography elegant și aerisit */
.blog-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.blog-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary-color);
    line-height: 1.4;
    font-family: var(--font-heading); /* Păstrăm un aer autoritar pe titlu */
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-read-more {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.feature-link:hover .blog-read-more {
    color: var(--primary-color);
}