/* =========================================================================
   VARIABLES & THEMING
   ========================================================================= */
   :root {
    /* Color Palette - Sepia & Deep Navy theme for a historian/theologian look */
    --clr-bg-dark: #0A0F1A; /* Deep ink blue */
    --clr-bg-light: #F9F7F5; /* Archival paper white */
    --clr-primary: #855C2C; /* Deep antique bronze/gold */
    --clr-primary-light: #A87D43;
    --clr-secondary: #132034; /* Dark uniform blue */
    --clr-accent: #BDA164; /* Muted gold */
    
    --clr-text-main: #2A2826;
    --clr-text-muted: #5A5651;
    --clr-text-light: #EBE6DF;
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Effects */
    --glass-bg: rgba(19, 32, 52, 0.4);
    --glass-border: rgba(189, 161, 100, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* =========================================================================
   RESET & BASICS
   ========================================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--clr-text-main);
    background-color: var(--clr-bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 100px 0;
}

.dark-section {
    background-color: var(--clr-bg-dark);
    color: var(--clr-text-light);
}

.align-center {
    text-align: center;
}

/* =========================================================================
   TYPOGRAPHY
   ========================================================================= */
.section-title-wrap {
    margin-bottom: 3rem;
}

.section-subtitle {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--clr-primary);
    margin-bottom: 0.8rem;
}

.dark-section .section-subtitle {
    color: var(--clr-accent);
}

.section-title {
    font-size: 2.8rem;
    color: var(--clr-secondary);
}

.dark-section .section-title {
    color: var(--clr-text-light);
}

.quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--clr-primary);
    border-left: 3px solid var(--clr-primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2.2rem;
    border-radius: 2px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--clr-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(133, 92, 44, 0.3);
}

.btn-primary:hover {
    background-color: var(--clr-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(133, 92, 44, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--clr-text-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* =========================================================================
   NAVIGATION
   ========================================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    letter-spacing: 2px;
}

.logo-accent {
    color: var(--clr-accent);
    font-weight: 300;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--clr-accent);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/background.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark gradient overlay adapted for an archival/elegant look */
    background: linear-gradient(180deg, rgba(10, 15, 26, 0.7) 0%, rgba(10, 15, 26, 0.9) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 5%;
}

.hero .subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--clr-accent);
    margin-bottom: 1.5rem;
}

.hero .title {
    font-size: 5.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero .title span {
    font-weight: 300;
    font-style: italic;
    color: var(--clr-accent);
}

.hero .description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3.5rem;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* =========================================================================
   ABOUT SECTION
   ========================================================================= */
.about {
    position: relative;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M10 10h1v1h-1z" fill="rgba(133,92,44,0.1)"/></svg>');
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--clr-text-muted);
}

.stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--clr-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--clr-text-main);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.about-visual {
    position: relative;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-visual::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(189, 161, 100, 0.15) 0%, transparent 70%);
    z-index: 0;
}

.profile-image-container {
    position: relative;
    z-index: 1;
    max-width: 380px;
    border: 1px solid rgba(133,92,44,0.3);
    padding: 1rem;
    background: white;
    border-radius: 2px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.profile-image-container::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 50%;
    height: 50%;
    border-bottom: 3px solid var(--clr-primary);
    border-right: 3px solid var(--clr-primary);
    z-index: -1;
}

.profile-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3/4;
    object-fit: cover;
    filter: sepia(0.2) contrast(1.1);
    border-radius: 2px;
}

/* =========================================================================
   EXPERTISE SECTION (GLASSMORPHISM)
   ========================================================================= */
.expertise {
    background-image: linear-gradient(to bottom, var(--clr-bg-dark), #0d1624);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 4px;
    padding: 3rem 2.5rem;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(19, 32, 52, 0.6);
    border-color: rgba(189, 161, 100, 0.4);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(189, 161, 100, 0.1);
    border: 1px solid rgba(189, 161, 100, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--clr-accent);
}

.icon-wrapper svg {
    width: 26px;
    height: 26px;
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: white;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* =========================================================================
   PUBLICATIONS / TIMELINE SECTION
   ========================================================================= */
.journey {
    background-color: white;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 1px;
    background-color: var(--clr-primary);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 3.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 16px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--clr-primary);
    box-shadow: 0 0 0 5px rgba(133, 92, 44, 0.15);
}

.timeline-content {
    background: var(--clr-bg-light);
    padding: 2.5rem;
    border-radius: 4px;
    border-left: 3px solid var(--clr-primary);
}

.timeline-content h3 {
    color: var(--clr-secondary);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.timeline-date {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--clr-primary);
    font-weight: 600;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.timeline-content p {
    color: var(--clr-text-muted);
    font-size: 1.05rem;
}

/* =========================================================================
   CONTACT SECTION
   ========================================================================= */
.contact {
    position: relative;
    background: url('assets/background.png') center/cover no-repeat;
}

.contact::before {
    content: '';
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: rgba(10, 15, 26, 0.85);
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 5rem 3rem;
}

.contact-box .section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-box p {
    color: rgba(255,255,255,0.7);
    font-size: 1.15rem;
    margin-bottom: 3rem;
}

.contact-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
footer {
    background-color: #05080e;
    padding: 3rem 0;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content .logo {
    font-size: 1.3rem;
}

/* =========================================================================
   ANIMATIONS & RESPONSIVE
   ========================================================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .hero .title {
        font-size: 3.5rem;
    }
    
    .hero .description {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; 
    }
    
    .stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-actions {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
