/* --- 1. VARIABILE ȘI FONTURI --- */
:root { 
    --rk-teal: #00adbb; 
    --rotary-blue: #012169; 
    --rotary-gold: #f7a81b; 
}

@font-face { font-family: 'Open Sans'; src: url('../fonts/OpenSans-Regular.ttf'); font-weight: normal; }
@font-face { font-family: 'Open Sans'; src: url('../fonts/OpenSans-Bold.ttf'); font-weight: bold; }
@font-face { font-family: 'Lora'; src: url('../fonts/Lora-Regular.ttf'); font-weight: normal; }
@font-face { font-family: 'Lora'; src: url('../fonts/Lora-Bold.ttf'); font-weight: 700; }

/* --- 2. STILURI GENERALE --- */
body { font-family: 'Open Sans', sans-serif; background-color: #ffffff; color: #333; line-height: 1.7; }
h1, h2, h3, h4, h5 { font-family: 'Lora', serif; font-weight: 700; color: var(--rotary-blue); }
p { margin-bottom: 1rem; }

/* --- 3. NAVIGARE (Navbar) --- */
.navbar { border-bottom: 5px solid var(--rk-teal); padding: 0.5rem 2rem; background: #fff !important; }
.nav-link { color: var(--rotary-blue) !important; font-weight: 700; text-transform: uppercase; font-size: 0.85rem; margin-right: 15px; transition: 0.3s; }
.nav-link:hover { color: var(--rk-teal) !important; }

/* --- 4. SECȚIUNI HERO --- */
.hero-org { 
    background: linear-gradient(rgba(1, 33, 105, 0.85), rgba(1, 33, 105, 0.85)), url('../rotakids.org-banner-1.jpg');
    background-size: cover; background-position: center;
    padding: 120px 0; color: #fff; border-bottom: 10px solid var(--rotary-gold);
}
.hero-org h1 { color: #fff; font-size: 2.8rem; margin-bottom: 20px; }
.hero-org p { font-size: 1.4rem; font-weight: 300; max-width: 800px; margin: 0 auto; }

.sub-hero { background: var(--rotary-blue); color: #fff; padding: 60px 0; border-bottom: 8px solid var(--rk-teal); }
.header-resolution { background: #fff; padding: 40px 0; border-bottom: 5px solid var(--rk-teal); box-shadow: 0 2px 10px rgba(0,0,0,0.05); }

/* --- 5. COMPONENTE UI (Carduri, Boxe, Butoane) --- */
.resource-card {
    border: 1px solid #eee; border-radius: 0; transition: all 0.3s ease;
    padding: 40px 25px; height: 100%; position: relative; overflow: hidden;
}
.resource-card:hover { border-color: var(--rk-teal); box-shadow: 0 10px 30px rgba(0,0,0,0.1); transform: translateY(-5px); }
.resource-card i { color: var(--rk-teal); font-size: 2.5rem; margin-bottom: 20px; display: block; }
.resource-card h4 { font-family: 'Open Sans', sans-serif; font-size: 1.2rem; color: var(--rotary-blue); margin-bottom: 15px; }

.accent-box { border-left: 5px solid var(--rotary-gold); padding: 20px; font-style: italic; background: #f9f9f9; }
.info-bar { background: var(--rk-teal); color: white; padding: 40px 0; text-align: center; }
.info-bar h2 { color: white; font-family: 'Open Sans'; font-size: 1.5rem; }

.btn-more, .btn-teal { 
    background: var(--rk-teal); color: #fff; border: none; border-radius: 0;
    padding: 10px 25px; font-weight: bold; font-size: 0.8rem; text-decoration: none; display: inline-block; transition: 0.3s;
}
.btn-more:hover, .btn-teal:hover { background: var(--rotary-blue); color: #fff; text-decoration: none; }

/* --- 6. SPECIFIC REZOLUȚIE (Pagina Resolution) --- */
.content-card { background: #fff; padding: 30px; margin-top: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-radius: 8px; }
.resolution-text { background: #f0f7f7; padding: 35px; border-left: 6px solid var(--rk-teal); font-style: italic; font-size: 1.1rem; margin: 30px 0; }
.pillar-box { border: 1px solid #eee; padding: 20px; border-top: 4px solid var(--rotary-gold); height: 100%; background: #fafafa; }

/* Tabele Istoric */
.table-history { font-size: 0.9rem; margin-top: 20px; }
.table-history td, .table-history th { padding: .75rem; }
.table-history thead { background: var(--rotary-blue); color: #fff; }
.status-rejected { color: #d9251c; font-weight: bold; }

/* Statistici */
.stats-box { background: var(--rotary-blue); color: #fff; padding: 40px; border-radius: 8px; margin-top: 50px; }
.stats-table { color: #fff; width: 100%; }
.stats-table th { border-bottom: 2px solid var(--rk-teal); padding: 10px; }
.stats-table td { padding: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); }

/* --- 7. LIGHTBOX (Featherlight) --- */
.lightbox-content { display: none; padding: 30px; max-width: 800px; }

/* --- 8. FOOTER --- */
footer { background: #f4f4f4; padding: 20px 0 0 0; border-top: 1px solid #ddd; font-size: 0.85rem; }
footer p { margin-bottom: 0.5rem; }
/* Link-uri în zona albă */
footer a { color: var(--rotary-blue); font-weight: 600; transition: 0.3s; }
footer a:hover { color: var(--rk-teal); text-decoration: none; }
/* Link-uri în zona albastră (cele din footer.php cu background #012169) */
footer .row[style*="background: #012169"] a { color: rgba(255,255,255,0.8) !important; margin: 0 10px; }
footer .row[style*="background: #012169"] a:hover { color: var(--rk-teal) !important; }

/* --- 9. ANIMAȚII --- */
@keyframes bate {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}
.heart-icon { display: inline-block; color: #CC0000; font-size: 14px; animation: bate 0.8s infinite; }