:root {
    --primary-color: #1d243b;
    --secondary-color: #d1998b;
    --accent-color: #e8c6be;
    --text-color: #1d243b;
    --text-light: #4a5168;
    --bg-light: #fdfbf7;
    --bg-muted: #f2ebe3;
    --bg-dark: #14192a;
    --white: #ffffff;
    --font-serif: "phototaldisplay", Helvetica, Arial, Lucida, sans-serif;
    --font-sans: "phototaldisplay", Helvetica, Arial, Lucida, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1100px;
    --section-padding: 100px 0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo-name {
    font-family: var(--font-serif);
    color: var(--primary-color);
    font-weight: 700;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
}

.section {
    padding: var(--section-padding);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.text-center {
    text-align: center;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.white {
    color: var(--white);
}

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

.bg-light {
    background-color: var(--bg-muted);
}

.bg-dark {
    background-color: var(--bg-dark);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Header & Nav */
header {
    height: 90px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-name {
    font-size: 1.2rem;
    letter-spacing: 3px;
}

nav ul {
    display: flex;
    gap: 40px;
}

nav ul li a {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-light);
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
    font-weight: 700;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-dark);
    background-image: linear-gradient(rgba(20, 25, 42, 0.8), rgba(20, 25, 42, 0.8)), url('../assets/elegant_header_bg.png');
    background-size: cover;
    background-position: center;
    padding-top: 90px;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--white);
}

.hero-text .subtitle {
    font-size: 1.25rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 3rem;
    max-width: 600px;
}

.cta-group {
    display: flex;
    gap: 20px;
}

/* Section Grid Layouts */
.page-header {
    padding: 150px 0 60px;
    background-color: var(--bg-dark);
    background-image: linear-gradient(rgba(20, 25, 42, 0.8), rgba(20, 25, 42, 0.8)), url('../assets/elegant_header_bg.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.breadcrumb {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--bg-muted);
}

.breadcrumb a {
    color: var(--white);
    text-decoration: underline;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Profile Image */
.image-wrapper {
    position: relative;
    box-shadow: 20px 20px 0 var(--bg-muted);
    max-width: 380px;
    margin: 0 auto;
}

.profile-img {
    width: 100%;
    height: auto;
    transition: var(--transition);
    border-radius: 4px;
    display: block;
}

.profile-img:hover {
    transform: scale(1.02);
}

.about-text .intro-text {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    height: 100%;
    width: 1px;
    background-color: #ddd;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
}

.time-dot {
    position: absolute;
    left: 14px;
    top: 5px;
    width: 12px;
    height: 12px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

.time-content h3 {
    margin-bottom: 5px;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Project Cards */
.project-card {
    background-color: var(--bg-muted);
    padding: 30px;
    border-left: 4px solid var(--secondary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.project-card:hover {
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.project-card h4 {
    margin-bottom: 10px;
    font-family: var(--font-sans);
}

/* Stats / Invitations */
.gradient-bg {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item .stat-label {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.stat-item p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Publications */
.books-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 60px;
}

.book-card {
    background-color: var(--white);
    padding: 40px 20px;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    border-top: 1px solid #eee;
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.book-cover-img {
    height: 300px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.book-cover-img img {
    height: 100%;
    width: auto;
    object-fit: contain;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

.book-card h3 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    min-height: 2.5em;
    line-height: 1.3;
}

.book-card .year {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.book-card .publisher {
    font-size: 0.8rem;
    color: var(--text-light);
}

.publications-secondary {
    margin-bottom: 60px;
    gap: 40px;
}

.publications-secondary h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.publications-secondary ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.publications-secondary ul li p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 5px;
}

.publications-secondary ul li p > strong {
    font-size: 1.1rem;
    color: var(--secondary-color);
    line-height: 1.3;
    display: block;
    margin-bottom: 4px;
}



.article-items li {
    background-color: var(--white);
    margin-bottom: 15px;
    padding: 25px;
    display: flex;
    gap: 30px;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.02);
}

.article-year {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    min-width: 60px;
}

/* Degrees */
.degrees-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.degree-card {
    background-color: var(--bg-muted);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.degree-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.degree-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

/* Contact */
.contact-links {
    margin-top: 30px;
}

.contact-links li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-links i {
    font-size: 1.2rem;
    color: var(--white);
    opacity: 0.5;
}

#contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 4px;
    color: var(--text-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-block {
    width: 100%;
}

/* Footer */
#footer {
    padding: 60px 0;
    background-color: var(--bg-dark);
    color: var(--accent-color);
    font-size: 0.8rem;
}

.footer-note {
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1.2s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .hero-text h1 {
        font-size: 3rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .nav-container {
        padding: 0 20px;
    }

    .books-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .degrees-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .books-grid {
        grid-template-columns: 1fr;
    }

    .degrees-container {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header {
        height: 70px;
    }

    nav {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        padding: 50px;
        transition: var(--transition);
        z-index: 1000;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .section-padding {
        padding: 60px 0;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }
}