/* ============================
   CSS VARIABLES & RESET
   ============================ */
:root {
    --gold: #DDA23C;
    --gold-hover: #c88d2f;
    --gold-name: #e0c285;
    --dark-navy: #071022;
    --hero-gradient-start: #1a4a6e;
    --hero-gradient-end: #040f20;
    --text-dark: #151c28;
    --text-light: #f6f4ee;
    --bg-muted: #f0f2f4;
    --bg-white: #ffffff;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Raleway', system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================
   NAVIGATION
   ============================ */
#mainNav {
    padding: 20px 0;
    transition: all 0.3s ease;
    z-index: 1000;
    background: transparent;
}

#mainNav.scrolled {
    background: rgba(7, 16, 34, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.brand-text {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.5px;
    line-height: 28px;
    transition: color 0.3s ease;
}

.navbar-brand:hover .brand-text {
    color: var(--gold);
}

.navbar-nav .nav-link {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.35px;
    color: rgba(246, 244, 238, 0.8) !important;
    padding: 8px 16px !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--gold) !important;
}

.navbar-toggler {
    border: none;
    padding: 4px;
    color: var(--text-light);
    background: none;
    outline: none;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler svg {
    color: var(--text-light);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 16, 34, 0.98);
    z-index: 1050;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    display: flex;
    opacity: 1;
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 8px;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    text-align: center;
}

.mobile-nav-links li {
    margin: 16px 0;
}

.mobile-nav-links a {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav-links a:hover {
    color: var(--gold);
}

/* ============================
   HERO SECTION
   ============================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a4a6e 0%, #112d4e 25%, #0b2240 50%, #071a33 75%, #040f20 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-row {
    min-height: 70vh;
}

.hero-image-wrapper {
    position: relative;
    max-width: 420px;
    margin: 0 auto;
}

.hero-image-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at center, rgba(221, 162, 60, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
    border-radius: 2rem;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    position: relative;
    z-index: 1;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.hero-text-col {
    padding-left: 60px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 60px;
    font-weight: 600;
    color: var(--text-light);
    line-height: 60px;
    margin-bottom: 32px;
    font-style: italic;
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 20px;
    color: rgba(246, 244, 238, 0.8);
    line-height: 28px;
    margin-bottom: 32px;
    max-width: 672px;
}

.hero-cta-text {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    color: var(--gold);
    line-height: 40px;
    margin-bottom: 32px;
}

.hero-services {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(246, 244, 238, 0.6);
    margin-bottom: 8px;
}

.hero-name {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 500;
    color: var(--gold-name);
    line-height: 32px;
}

/* ============================
   PHILOSOPHY SECTION
   ============================ */
.philosophy-section {
    background: var(--bg-white);
    padding: 112px 0;
}

.philosophy-content {
    max-width: 848px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-title {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 48px;
    margin-bottom: 32px;
}

.gold-italic {
    color: var(--gold);
    font-style: italic;
}

.philosophy-text {
    font-family: var(--font-sans);
    font-size: 18px;
    color: rgba(21, 28, 40, 0.7);
    line-height: 28px;
    margin-bottom: 32px;
}

.gold-divider {
    width: 64px;
    height: 1px;
    background: var(--gold);
    margin: 32px auto;
}

.philosophy-text-small {
    font-family: var(--font-sans);
    font-size: 16px;
    color: rgba(21, 28, 40, 0.65);
    line-height: 28px;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================
   ABOUT ME SECTION
   ============================ */
.about-section {
    background: var(--bg-muted);
    padding: 112px 0;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 48px;
    margin-bottom: 64px;
}

.about-row {
    margin-bottom: 64px;
}

.about-text-col p {
    font-size: 18px;
    color: rgba(21, 28, 40, 0.85);
    margin-bottom: 16px;
    line-height: 28px;
}

.about-text-col strong {
    font-weight: 700;
}

.gold-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    font-style: italic;
}

.gold-link:hover {
    color: var(--gold-hover);
    text-decoration: underline;
}

.gold-text {
    color: var(--gold);
}

.about-images-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-left: 32px;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* FACTS */
.facts-title {
    font-family: var(--font-serif);
    font-size: 30px;
    font-weight: 600;
    letter-spacing: normal;
    color: var(--text-dark);
    line-height: 36px;
    margin-bottom: 32px;
}

.facts-grid {
    margin-bottom: 64px;
}

.fact-card {
    background: var(--bg-white);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: all 0.3s ease;
    font-size: 16px;
    color: rgba(21, 28, 40, 0.85);
    line-height: 24px;
}

.fact-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.fact-icon {
    color: var(--gold);
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 3px;
}

/* Aristotle Quote */
.aristotle-quote {
    text-align: center;
    padding: 48px 0 20px;
    max-width: 768px;
    margin: 0 auto;
}

.aristotle-quote p {
    font-family: var(--font-serif);
    font-size: 30px;
    font-weight: 400;
    font-style: italic;
    color: rgba(21, 28, 40, 0.9);
    line-height: 36px;
    margin-bottom: 16px;
}

.aristotle-quote footer {
    font-family: var(--font-sans);
    font-size: 14px;
    color: rgba(21, 28, 40, 0.5);
    font-style: italic;
}

/* ============================
   SERVICES SECTION
   ============================ */
.services-section {
    background: var(--dark-navy);
    padding: 112px 0;
    position: relative;
    overflow: hidden;
}

.stars-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(221, 162, 60, 0.4);
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.8;
    }
}

.services-title {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 600;
    color: var(--text-light);
    text-align: center;
    line-height: 48px;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.services-subtitle {
    font-family: var(--font-sans);
    font-size: 18px;
    color: rgba(246, 244, 238, 0.7);
    text-align: center;
    line-height: 28px;
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

.services-label {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--gold);
    text-align: center;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.services-grid {
    position: relative;
    z-index: 1;
    row-gap: 16px;
}

.services-grid .col-md-6 {
    margin-bottom: 0;
}

.service-card {
    background: rgba(246, 244, 238, 0.05);
    border: 1px solid rgba(246, 244, 238, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: rgba(246, 244, 238, 0.85);
    font-size: 16px;
    line-height: 24px;
    transition: all 0.3s ease;
    cursor: default;
}

.service-card:hover {
    background: rgba(246, 244, 238, 0.1);
    border-color: rgba(246, 244, 238, 0.2);
    transform: translateY(-2px);
}

.service-icon {
    color: var(--gold);
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ============================
   PUBLICATIONS SECTION
   ============================ */
.publications-section {
    background: var(--bg-white);
    padding: 112px 0;
}

.publications-grid {
    margin-top: 0;
    row-gap: 24px;
}

.publications-grid .col-md-4 {
    margin-bottom: 0;
}

.publications-grid .publication-card {
    margin-bottom: 0;
}

.publication-card {
    display: block;
    background: var(--bg-white);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
}

.publication-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    border-color: #d0d0d0;
}

.pub-label {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 12px;
    line-height: 16px;
}

.pub-title {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 24.75px;
}

.pub-link {
    font-family: var(--font-sans);
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.publication-card:hover .pub-link {
    color: var(--gold);
}

.pub-link .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.publication-card:hover .pub-link .arrow {
    transform: translateX(4px);
}

/* ============================
   CONTACT SECTION
   ============================ */
.contact-section {
    background: var(--dark-navy);
    padding: 112px 0 60px;
}

.contact-row {
    min-height: 400px;
}

.contact-image-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-image {
    max-width: 380px;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.contact-info-col {
    padding-left: 48px;
}

.contact-title {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 600;
    color: var(--text-light);
    line-height: 48px;
    margin-bottom: 32px;
}

.contact-subtitle {
    font-family: var(--font-sans);
    font-size: 18px;
    color: rgba(246, 244, 238, 0.7);
    line-height: 28px;
    margin-bottom: 40px;
    max-width: 480px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 40px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gold);
    text-decoration: none;
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--gold-hover);
    transform: scale(1.05);
}

.contact-link svg {
    flex-shrink: 0;
}

.qr-code-wrapper {
    margin-top: 20px;
}

.qr-code {
    width: 144px;
    height: 144px;
    border-radius: 8px;
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
    background: var(--dark-navy);
    padding: 40px 0;
    border-top: 1px solid rgba(246, 244, 238, 0.08);
}

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    opacity: 0.6;
    margin-bottom: 16px;
}

.footer-text {
    font-family: var(--font-sans);
    font-size: 14px;
    color: rgba(246, 244, 238, 0.4);
}

/* ============================
   SCROLL ANIMATIONS
   ============================ */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
   RESPONSIVE DESIGN
   ============================ */
@media (max-width: 991px) {
    .hero-text-col {
        padding-left: 15px;
        padding-top: 40px;
    }

    .hero-title {
        font-size: 40px;
        line-height: 44px;
    }

    .hero-subtitle {
        font-size: 16px;
        line-height: 24px;
    }

    .hero-cta-text {
        font-size: 28px;
        line-height: 32px;
    }

    .hero-image-wrapper {
        max-width: 350px;
    }

    .about-images-col {
        padding-left: 0;
        margin-top: 32px;
    }

    .navbar-collapse {
        display: none !important;
    }

    .services-title,
    .contact-title,
    .section-title {
        font-size: 36px;
        line-height: 40px;
    }

    .philosophy-title {
        font-size: 32px;
        line-height: 36px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 32px;
        line-height: 36px;
    }

    .hero-cta-text {
        font-size: 24px;
        line-height: 28px;
    }

    .philosophy-title {
        font-size: 28px;
        line-height: 32px;
    }

    .philosophy-section,
    .about-section,
    .services-section,
    .publications-section,
    .contact-section {
        padding: 64px 0;
    }

    .about-images-col {
        padding-left: 0;
    }

    .service-card {
        padding: 16px;
    }

    .publication-card {
        padding: 20px;
    }

    .aristotle-quote p {
        font-size: 24px;
        line-height: 30px;
    }

    .section-title {
        font-size: 30px;
        line-height: 34px;
        margin-bottom: 40px;
    }

    .services-title,
    .contact-title {
        font-size: 30px;
        line-height: 34px;
    }

    .contact-link {
        font-size: 18px;
    }
}

@media (min-width: 992px) {
    .navbar-toggler {
        display: none;
    }
}