/* style.css - THE DEFINITIVE PREMIUM UPGRADE */

:root {
    --slate-bg: #1a1c20;      /* Dark background */
    --gold: #b89152;          /* Signature Gold */
    --oxford-blue: #1e3a5f;   /* Navigation/Accent Blue */
    --card-white: #ffffff;    /* Card background */
    --deep-charcoal: #1a1a1a; /* High-contrast text */
    --soft-text: #444444;     /* Readable paragraph text */
}

/* 1. THE DARK OUTER WORLD */
body {
    background-color: var(--slate-bg);
    background: linear-gradient(135deg, #1a1c20 0%, #242830 100%);
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    color: #ffffff; /* Default text is white for the dark background */
}

/* 2. THE NAVIGATION (Floating on Dark) */
nav {
    padding: 40px 0 20px 0;
    text-align: center;
}

nav a {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 20px;
    opacity: 0.8;
    transition: 0.3s;
}

nav a:hover {
    opacity: 1;
    color: var(--gold) !important;
}

/* 3. THE WHITE INNER WORLD (The Container) */
.container {
    background-color: var(--card-white) !important;
    max-width: 800px;
    margin: 40px auto;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    /* This forces everything inside to be dark and readable */
    color: var(--deep-charcoal) !important; 
}

/* 4. THE HEADER SECTION */
.header-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    margin: 0;
    color: var(--deep-charcoal) !important;
    letter-spacing: -1.5px;
}

.subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold) !important;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 12px;
}

.profile-photo {
    width: 160px;
    height: 160px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 15px 15px 0px rgba(184, 145, 82, 0.2); 
    border: 1px solid rgba(0,0,0,0.05);
}

/* 5. THE CONTENT CARDS (Entries) */
.journal-entry {
    background: #fdfdfd;
    padding: 35px;
    margin-bottom: 30px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.4s ease;
}

.journal-entry:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.journal-entry h3, .journal-entry h2 {
    font-family: 'Playfair Display', serif;
    color: var(--deep-charcoal) !important;
    font-size: 1.8rem;
    margin-top: 10px;
}

.journal-entry p {
    color: var(--soft-text) !important;
    line-height: 1.7;
    font-size: 1.05rem;
}

.category {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--gold) !important;
    letter-spacing: 2px;
}

/* 6. TYPOGRAPHY & LINKS */
.lead-text {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    line-height: 1.4;
    font-style: italic;
    color: var(--oxford-blue) !important;
    margin: 60px 0;
    text-align: center;
}

.read-link {
    display: inline-block;
    margin-top: 15px;
    text-decoration: none;
    color: var(--oxford-blue) !important;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 4px;
}

/* 7. FOOTER */
footer {
    text-align: center;
    padding: 60px 0;
    font-size: 0.8rem;
    color: #888;
    letter-spacing: 1.5px;
}

/* 8. MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    .container {
        margin: 20px;
        padding: 30px 20px;
    }
    .header-text h1 {
        font-size: 2.5rem;
    }
    nav a {
        margin: 0 10px;
        font-size: 0.75rem;
    }
}
