/* ==========================================
   ABRA SHEN INSPIRED LAYOUT
   Navy Blue, White, Gold Theme
   ========================================== */

/* === VARIABLES === */
:root {
    --navy: #002B5C;
    --gold: #C9A961;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-gray: #4A5568;
    --bg-light: #F8F9FA;
    --border-light: #E5E7EB;

    --font-main: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* === HEADER === */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.site-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: var(--transition);
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition);
}

.main-nav a:hover {
    color: var(--navy);
}

/* === CONTAINER === */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* === HERO SECTION === */
.hero {
    padding: 8rem 0 4rem;
    text-align: center;
    background: var(--white);
}

.hero-photo {
    width: 300px;
    height: 300px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    /* Lower value = show lower part of image = more space above head */
}

.hero-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.hero-title {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 0.25rem;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links a {
    color: var(--navy);
    transition: color var(--transition);
    display: flex;
    align-items: center;
}

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

/* === SECTIONS === */
section {
    padding: 4rem 0;
}

section:nth-child(even) {
    background: var(--bg-light);
}

h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2rem;
    text-align: center;
}

/* === ABOUT === */
.about p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* === PROJECTS === */
.project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.project-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
}

.project-content h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 1rem;
}

.project-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-gray);
}

/* === ACTIVITIES === */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.activity-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.activity-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.activity-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.activity-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-gray);
}

/* === PUBLICATIONS === */
.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.publication-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border-top: 3px solid var(--gold);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform var(--transition), box-shadow var(--transition);
}

.publication-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.publication-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.journal {
    font-size: 0.875rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.pub-link {
    display: inline-block;
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color var(--transition);
}

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

/* === FOOTER === */
footer {
    background: var(--bg-light);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-light);
}

footer p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .site-title {
        position: static;
        transform: none;
    }

    .main-nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform var(--transition);
    }

    .main-nav.active {
        transform: translateY(0);
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .hero-photo {
        width: 250px;
        height: 250px;
    }

    .hero-name {
        font-size: 2rem;
    }

    .project-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .activities-grid,
    .publications-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-photo {
        width: 220px;
        height: 220px;
    }

    .hero-name {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.75rem;
    }
}

/* === UTILITIES & SHOW MORE === */
.hidden {
    display: none !important;
}

.show-more-container {
    text-align: center;
    margin-top: 3rem;
}

.show-more-btn {
    background: transparent;
    border: 2px solid var(--navy);
    color: var(--navy);
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.show-more-btn:hover {
    background: var(--navy);
    color: var(--white);
}

.extra-projects-list {
    margin-top: 2rem;
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.extra-projects-list h4 {
    color: var(--navy);
    margin-bottom: 1.5rem;
    text-align: center;
}

.extra-projects-list ol {
    padding-left: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.extra-projects-list li {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.extra-projects-list li:last-child {
    margin-bottom: 0;
}