/* ==========================================================================
   1. RESET & DESIGN GENERAL (Stil modern, tematică Portocaliu Premium)
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: #fefaf6; /* Fundal alb-crem foarte fin și cald */
    color: #1e293b;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   2. NAVBAR (Optimizată pentru a nu se mai suprapune textul pe telefon)
   ========================================================================== */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(249, 115, 22, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Permite așezarea pe ecrane mici */
    gap: 10px;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 20px; /* Dimensiune optimă pentru mobil */
    color: #ea580c; /* Portocaliu intens pentru text */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 15px;
}

.nav-links a {
    text-decoration: none;
    color: #64748b;
    font-weight: 700;
    font-size: 14px;
    transition: color 0.2s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: #ea580c; /* Accent portocaliu */
}

/* ==========================================================================
   3. HERO BANNER (Gradient vibrant portocaliu)
   ========================================================================== */
.hero {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); /* Portocaliu vibrant */
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 40px;
}

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 30px auto;
    opacity: 0.95;
}

.cta-button {
    background-color: #ffffff;
    color: #ea580c;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(234, 88, 12, 0.2);
    transition: all 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(234, 88, 12, 0.3);
    background-color: #fff7ed;
}

/* ==========================================================================
   4. GRILA DE ARTICOLE (Aspect modern de revistă)
   ========================================================================== */
.articles {
    padding: 20px 0;
}

.articles h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.article-card {
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #ffedd5; /* Margine discretă portocaliu-crem */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(234, 88, 12, 0.15);
    border-color: #f97316;
}

.article-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #ffedd5;
}

.article-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.article-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-category {
    display: inline-block;
    align-self: flex-start;
    background-color: #ffedd5; /* Fundal etichetă portocaliu deschis */
    color: #ea580c; /* Text etichetă portocaliu închis */
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.article-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.4;
}

.article-content p {
    color: #475569;
    font-size: 14px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more {
    text-decoration: none;
    color: #ea580c;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.read-more:hover {
    color: #c2410c; /* Portocaliu închis la hover */
}

/* ==========================================================================
   5. CONTACT & FORMULAR STYLE
   ========================================================================== */
.contact {
    background-color: #ffffff;
    padding: 60px 0;
    margin-top: 40px;
    border-top: 1px solid #ffedd5;
}

.contact h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    text-align: center;
    margin-bottom: 30px;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    align-items: start;
}

.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 10px;
    color: #475569;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.contact-form .cta-button {
    background-color: #ea580c;
    color: #ffffff;
    align-self: flex-start;
}

.contact-form .cta-button:hover {
    background-color: #c2410c;
}

/* Caseta pentru echipa de redacție */
.editorial-team-box {
    margin-top: 50px;
    text-align: center;
    border-top: 1px dashed #f97316;
    padding-top: 25px;
    font-style: italic;
    color: #64748b;
    font-size: 14px;
}

.editorial-team-box strong {
    color: #ea580c;
}

/* ==========================================================================
   6. FOOTER
   ========================================================================== */
footer {
    background-color: #1e1b4b; /* Un bleumarin închis superb în contrast cu portocaliul */
    color: #cbd5e1;
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
    border-top: 4px solid #ea580c; /* Dungă portocalie deasupra footerului */
}

footer .social-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

footer .social-links a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease;
}

footer .social-links a:hover {
    color: #f97316;
}

/* Adaptare completă pentru telefoane foarte mici */
@media (max-width: 480px) {
    .navbar .container {
        justify-content: center;
        text-align: center;
    }
    .hero h2 {
        font-size: 32px;
    }
}
