/* Base Variables & Theme */
:root {
    --primary-color: #0f294a;
    --primary-dark: #07172c;
    --accent-color: #1e4e8c;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

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

/* Navbar Layout */
.navbar {
    background-color: var(--primary-color);
    color: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feather-icon {
    font-size: 28px;
    color: #cbd5e0;
}

.logo-title {
    font-size: 20px;
    font-weight: 700;
}

.logo-tagline {
    font-size: 12px;
    color: #a0aec0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--bg-white);
    border-bottom: 2px solid #cbd5e0;
}

.admin-lock-btn {
    opacity: 0.7;
}
.admin-lock-btn:hover {
    opacity: 1;
}

.lang-switch {
    display: flex;
    gap: 5px;
    background-color: var(--primary-dark);
    padding: 4px;
    border-radius: 20px;
}

.lang-btn {
    background: none;
    border: none;
    color: #a0aec0;
    padding: 4px 12px;
    font-size: 13px;
    border-radius: 15px;
    cursor: pointer;
}

.lang-btn.active {
    background-color: var(--accent-color);
    color: var(--bg-white);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 450px;
    background: url('https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 40px;
    color: var(--bg-white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 41, 74, 0.85), rgba(7, 23, 44, 0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-name {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
}

.hero-title {
    font-size: 24px;
    font-weight: 400;
    color: #cbd5e0;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 16px;
    color: #a0aec0;
    margin-bottom: 30px;
}

.hero-cta {
    background-color: var(--bg-white);
    color: var(--primary-color);
    border: none;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
}

.hero-cta:hover {
    transform: translateY(-2px);
    background-color: #edf2f7;
}

.hero-quote-box {
    position: absolute;
    right: 40px;
    bottom: 40px;
    z-index: 2;
    text-align: right;
    max-width: 300px;
    font-style: italic;
    border-right: 3px solid var(--bg-white);
    padding-right: 15px;
}

.hero-quote {
    font-size: 18px;
    color: #e2e8f0;
}

.hero-author {
    font-size: 14px;
    color: #a0aec0;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    align-items: center;
}

.avatar-placeholder {
    width: 250px;
    height: 250px;
    background-color: #edf2f7;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 100px;
    color: var(--primary-color);
    margin: 0 auto;
}

.section-title {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.about-text {
    color: var(--text-dark);
    font-size: 16px;
    margin-bottom: 25px;
}

.meta-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.meta-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.meta-item i {
    font-size: 20px;
    color: var(--accent-color);
    margin-top: 4px;
}

.meta-item h4 {
    font-size: 14px;
    color: var(--text-light);
}

.meta-item p {
    font-size: 15px;
    font-weight: 600;
}

/* Content Dynamic Rows */
.section-header-box {
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 14px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-4px);
}

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.card-subtitle {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.card-content {
    font-size: 15px;
    color: var(--text-dark);
    white-space: pre-wrap; /* Crucial for Poetry lines layout */
    flex-grow: 1;
}

/* Footer layout */
.site-footer {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 40px 20px 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    border-bottom: 1px solid #2d3748;
    padding-bottom: 30px;
}

.text-white { color: white; }
.text-muted { color: #a0aec0; }

.footer-quote {
    text-align: center;
    font-style: italic;
    max-width: 400px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: #e2e8f0;
    font-size: 22px;
    transition: color 0.2s;
}

.footer-socials a:hover {
    color: var(--bg-white);
}

.footer-copyright {
    text-align: center;
    font-size: 13px;
    color: #a0aec0;
    margin-top: 20px;
}

/* Responsive Framework */
@media(max-width: 768px) {
    .nav-container { flex-direction: column; gap: 15px; text-align: center;}
    .about-grid { grid-template-columns: 1fr; }
    .meta-info-grid { grid-template-columns: 1fr; }
    .hero-section { height: auto; padding: 60px 20px; }
    .hero-quote-box { position: static; margin-top: 4px; text-align: center; border-right: none; border-top: 2px solid white; padding: 15px 0 0; }
    .footer-container { flex-direction: column; text-align: center; }
}
