/* 
   PROFESSIONAL MINIMALIST DESIGN SYSTEM 
   Clean | Editorial | Sophisticated
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lora:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
    /* Color Palette - Subtle & Professional */
    --bg-body: #f9fafb;
    /* Very soft off-white */
    --bg-card: #ffffff;
    --text-primary: #1a202c;
    /* Deep Charcoal */
    --text-secondary: #4a5568;
    /* Slate Grey */
    --accent-color: #2c5282;
    /* Classic Navy Blue */
    --border-color: #e2e8f0;

    /* Spacing & Layout */
    --container-width: 800px;
    /* Tighter reading width */
    --header-height: 80px;
    --radius-sm: 4px;
}

/* 1. GLOBAL RESET & BASE STYLES */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Lora', serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 17px;
    /* Slightly larger for serif readability */
    -webkit-font-smoothing: antialiased;
}

/* 2. NAVIGATION BAR */
nav {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s ease;
}

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

/* 3. CONTAINER & LAYOUT */
.container {
    max-width: var(--container-width);
    margin: 60px auto;
    padding: 0 20px;
    background: transparent;
    /* No card background for main container */
}

/* 4. TYPOGRAPHY */
h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    color: var(--text-primary);
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* 5. LINKS & BUTTONS */
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.8;
}

/* Lead Text for Intro */
.lead {
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
    font-style: italic;
}

/* Button Style Class (for index.html) */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--text-primary);
    /* Dark button */
    color: white !important;
    border-radius: var(--radius-sm);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-top: 20px;
    border: 1px solid var(--text-primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--text-primary) !important;
    opacity: 1;
}

/* 6. LISTS */
ul {
    list-style-position: outside;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* 7. MEDIA */
img,
iframe {
    max-width: 100%;
    display: block;
    margin: 2rem auto;
    border: 1px solid var(--border-color);
    padding: 5px;
    background: white;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    nav ul {
        gap: 1rem;
        font-size: 0.8rem;
    }

    .container {
        margin-top: 40px;
    }
}