/* Art Deco Minimalist Theme - Muted Olive & Forest Green */

:root {
    --black: #1a1a1a;
    --dark-green: #2d3a2d;
    --forest-green: #4a5d4a;
    --olive: #6b7c5e;
    --sage: #8a9a7c;
    --light-sage: #b8c4a8;
    --off-white: #f5f5f0;
    --cream: #faf9f5;
    --white: #ffffff;
    --accent: #5c6b4a;
    --accent-light: #7a8c68;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    color: var(--dark-green);
    background-color: var(--white);
    line-height: 1.7;
    font-size: 16px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: 0.05em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-align: center;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--forest-green);
    margin-bottom: 1.5rem;
}

h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
}

.nav-scrolled {
    background: var(--cream);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--forest-green);
    text-decoration: none;
    letter-spacing: 0.1em;
    border: 2px solid var(--forest-green);
    padding: 0.25rem 0.5rem;
}

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

.nav-links a {
    color: var(--dark-green);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--olive);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--dark-green);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    max-width: 90vw;
    max-height: 90vw;
    background-image: url('images/kinglets.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    opacity: 0.55;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-decoration {
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--sage), transparent);
    margin: 1.5rem auto;
}

.hero h1 {
    color: var(--cream);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--cream);
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Sections */
.section {
    padding: 6rem 2rem;
}

.section-alt {
    background: var(--off-white);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Divider */
.divider {
    width: 60px;
    height: 3px;
    background: var(--olive);
    margin: 0 auto 3rem;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--olive);
    border-radius: 50%;
}

.divider::before {
    left: -20px;
}

.divider::after {
    right: -20px;
}

/* About */
.about-text {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.9;
}

/* CV Section */
.cv-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.cv-block {
    padding-bottom: 2rem;
}

.cv-item {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 2px solid var(--olive);
}

.cv-date {
    font-size: 0.8rem;
    color: var(--sage);
    letter-spacing: 0.1em;
}

.cv-item p {
    color: var(--forest-green);
}

/* Publications */
.publications-list {
    max-width: 800px;
    margin: 0 auto;
}

.publication {
    padding: 1.25rem 0;
    padding-left: 1.5rem;
    border-left: 2px solid var(--olive);
    margin-bottom: 1rem;
}

.publication:last-child {
    margin-bottom: 0;
}

.citation {
    line-height: 1.8;
    color: var(--dark-green);
}

.citation em {
    font-style: italic;
}

.citation a {
    color: var(--forest-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.citation a:hover {
    color: var(--olive);
}

/* Gallery */
.gallery-intro {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--forest-green);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    border: 1px solid var(--sage);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem;
    background: linear-gradient(transparent, rgba(45, 58, 45, 0.9));
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    color: var(--cream);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.gallery-overlay p {
    color: var(--light-sage);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Contact */
.contact-content {
    text-align: center;
}

.contact-content p {
    margin-bottom: 0.5rem;
}

.contact-link a {
    color: var(--forest-green);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link a:hover {
    color: var(--olive);
}

/* Footer */
.footer {
    background: var(--dark-green);
    color: var(--sage);
    text-align: center;
    padding: 2rem;
}

.footer-decoration {
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--olive), transparent);
    margin: 0 auto 1.5rem;
}

.footer p {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .cv-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-overlay {
        transform: translateY(0);
        background: linear-gradient(transparent 50%, rgba(45, 58, 45, 0.85));
    }

    .hero::before {
        width: 350px;
        height: 350px;
    }
}

/* Art Deco Geometric Accents */
.hero::after {
    content: '';
    position: absolute;
    bottom: 40px;
    left: 50%;
    width: 30px;
    height: 30px;
    border: 2px solid var(--sage);
    transform: translateX(-50%) rotate(45deg);
    opacity: 0.5;
}

/* Subtle geometric pattern for section backgrounds */
.section-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 100% 0%, rgba(107, 124, 94, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(107, 124, 94, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.section-alt {
    position: relative;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border: 2px solid var(--sage);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    text-align: center;
    color: var(--cream);
    margin-top: 1rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: var(--cream);
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--sage);
}
