/* ========================================================= */
/* 🏛️ GLOBAL ARCHITECTURAL BASICS & SCROLL RESET             */
/* ========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* HIGH-END DETAIL: LUXURY CUSTOM GOLD SCROLLBAR */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #0c0c0e;
}
::-webkit-scrollbar-thumb {
    background: #c5a059;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #e2be77;
}

body {
    background-color: #0c0c0e; /* Obsidian Deep Black Dark Theme */
    color: #f3f0ea; /* Luxury Parchment Warm Off-White Text */
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    letter-spacing: 0.5px;
    -webkit-font-smoothing: antialiased;
}

/* ========================================================= */
/* ⚜️ LOGO & MAIN HEADER HERO SETUP                           */
/* ========================================================= */
.hero-header {
    text-align: center;
    padding: 80px 20px 50px 20px;
    background: radial-gradient(circle at center, #18181c 0%, #0c0c0e 100%);
    border-bottom: 1px solid rgba(197, 160, 89, 0.15); /* Soft Gold Bottom Border Line */
}

.logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-content: center;
    margin-bottom: 20px;
}

.site-logo {
    max-width: 150px; /* Perfect desktop logo width constraint */
    height: auto;
    display: block;
    filter: drop-shadow(0px 4px 15px rgba(197, 160, 89, 0.2)); /* Gold Glow Shadow Effect */
    transition: transform 0.4s ease;
}

.site-logo:hover {
    transform: scale(1.05); /* Smooth lift when hovered */
}

.site-title {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 8px;
    color: #ffffff;
}

.gold-divider {
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, transparent, #c5a059, transparent);
    margin: 20px auto;
}

.hero-tagline {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 1.15rem;
    color: #a6a5a2;
    max-width: 650px;
    margin: 0 auto 15px auto;
}

.philosopher-name {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: #c5a059;
    text-transform: uppercase;
    margin-top: 15px;
}

/* ========================================================= */
/* 🗺️ PREMIUM NAVIGATION BAR RULES                           */
/* ========================================================= */
.center-nav {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px 25px;
}

.center-nav a {
    color: #a6a5a2;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.center-nav a:hover {
    color: #c5a059;
    text-shadow: 0 0 8px rgba(197, 160, 89, 0.4);
}

/* ========================================================= */
/* 📦 CONTENT LAYOUT CONTAINER FRAMEWORKS                   */
/* ========================================================= */
.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.section-container {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    text-align: center;
    letter-spacing: 3px;
    color: #ffffff;
    margin-bottom: 30px;
}

.section-title::after {
    content: '♦';
    display: block;
    font-size: 0.8rem;
    color: #c5a059;
    margin-top: 10px;
    text-align: center;
    opacity: 0.7;
}

.section-intro {
    text-align: center;
    font-family: 'Lora', serif;
    color: #a6a5a2;
    max-width: 550px;
    margin: -15px auto 40px auto;
    font-size: 1rem;
}

/* ========================================================= */
/* 📜 REFLECTIONS & KNOWLEDGE INSIGHT BOXES                  */
/* ========================================================= */
.insights-box {
    background-color: #131316; /* Secondary Slate-Obsidian tone */
    border: 1px solid rgba(197, 160, 89, 0.15);
    padding: 40px 30px;
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.date-stamp {
    display: block;
    font-size: 0.75rem;
    color: #c5a059;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.insight-text {
    font-family: 'Lora', serif;
    font-size: 1.25rem;
    line-height: 1.8;
    color: #f3f0ea;
    font-style: italic;
    margin-bottom: 20px;
}

.signature {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    color: #a6a5a2;
}

/* ========================================================= */
/* 📚 THE MASTER DIRECTORY GRID & BOOK CARDS                 */
/* ========================================================= */
.library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.book-vault-card {
    background-color: #131316;
    border: 1px solid #1c1c20;
    display: flex;
    transition: all 0.3s ease;
}

.book-vault-card:hover {
    transform: translateY(-5px);
    border-color: rgba(197, 160, 89, 0.3);
}

.book-spine {
    width: 14px;
    background: linear-gradient(to right, #8a6d35, #c5a059, #8a6d35); /* Pure structural gold book edge spine gradient */
}

.book-content {
    padding: 30px;
    width: 100%;
}

.volume-number {
    font-size: 0.75rem;
    font-weight: 600;
    color: #c5a059;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.book-title {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 12px;
}

.book-summary {
    font-size: 0.95rem;
    color: #a6a5a2;
    margin-bottom: 25px;
    font-weight: 300;
}

/* ========================================================= */
/* 🖲️ INTERACTIVE BUTTON RULES                               */
/* ========================================================= */
.action-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary, .btn-secondary, .btn-primary-link {
    flex: 1;
    text-align: center;
    padding: 12px 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #c5a059;
    color: #0c0c0e;
}

.btn-primary:hover {
    background-color: #e2be77;
    box-shadow: 0 0 12px rgba(197, 160, 89, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: #ffffff;
}

.btn-primary-link {
    background-color: #c5a059;
    color: #0c0c0e;
    display: inline-block;
    padding: 14px 35px;
}

.btn-primary-link:hover {
    background-color: #e2be77;
    box-shadow: 0 0 12px rgba(197, 160, 89, 0.3);
}

/* ========================================================= */
/* 📖 ABOUT ME MANIFESTO STYLE TEXT                          */
/* ========================================================= */
.manifesto-bg {
    background-color: #131316;
    padding: 45px 30px;
    text-align: center;
}

.manifesto-text {
    font-family: 'Lora', serif;
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
    color: #d1cfca;
}

.manifesto-text p {
    margin-bottom: 20px;
}

.manifesto-text p:last-child {
    margin-bottom: 0;
}

/* ========================================================= */
/* ⬛ FOOTER AREA                                            */
/* ========================================================= */
.monolith-footer {
    text-align: center;
    padding: 50px 20px;
    background-color: #070709;
    color: #555558;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-top: 1px solid rgba(197, 160, 89, 0.05);
}

/* ========================================================= */
/* 📱 SMARTPHONE SPECIFIC MEDIA RULES (MOBILE FIRST FLOW)    */
/* ========================================================= */
@media (max-width: 600px) {
    .site-title {
        font-size: 2.3rem; /* Prevents long platform name truncation on mobile */
        letter-spacing: 4px;
    }
    
    .hero-header {
        padding: 50px 15px 35px 15px;
    }
    
    .site-logo {
        max-width: 110px; /* Scales logo correctly for small phones */
    }
    
    .center-nav {
        gap: 12px 15px; /* Neatly maps links across smaller layout areas */
    }

    .center-nav a {
        font-size: 0.78rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .library-grid {
        grid-template-columns: 1fr; /* Collapses grid into a clean vertical single line layout */
    }

    .action-buttons {
        flex-direction: column; /* Vertical alignment for reading/downloading triggers */
        gap: 10px;
    }

    .btn-primary, .btn-secondary {
        padding: 14px 10px; /* Thicker finger touch targets for better responsiveness */
    }

    .insights-box {
        padding: 30px 20px;
    }

    .insight-text {
        font-size: 1.1rem;
    }
}