* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #fff;
    color: #111;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 48px 0 48px;
    background: #fff;
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Homepage header styling */
.navbar.homepage-header {
    background: transparent;
    justify-content: center;
    padding: 60px 48px 0 48px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

/* Hide navbar logo on homepage to avoid duplication */
.navbar.homepage-header .logo-container {
    display: none;
}

.logo-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.logo-container:hover {
    opacity: 0.8;
}

.logo-container:hover .logo {
    transform: scale(1.05);
}

.logo {
    height: 120px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

/* Logo glow effect when clicked */
.logo.logo-clicked {
    filter: drop-shadow(0 0 15px rgba(231, 84, 128, 0.6)) brightness(1.1);
    transform: scale(1.02);
}

/* Homepage logo styling - 2x larger and white */
.navbar.homepage-header .logo {
    height: 240px;
    filter: brightness(0) saturate(100%) invert(1) contrast(1) !important;
    -webkit-filter: brightness(0) saturate(100%) invert(1) contrast(1) !important;
    position: relative;
    z-index: 1500;
}

.nav-tabs {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

/* Keep navigation visible on homepage header */
.navbar.homepage-header .nav-tabs {
    display: flex;
    position: absolute;
    top: 60px;
    right: 48px;
}

.plus-menu-toggle {
    font-size: 4rem;
    font-weight: 300;
    color: #111;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.2s;
    user-select: none;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Homepage navigation button - white text */
.navbar.homepage-header .plus-menu-toggle {
    color: #fff;
}

.plus-menu-toggle:hover {
    color: #e75480;
}

/* Homepage navigation button hover - lighter white */
.navbar.homepage-header .plus-menu-toggle:hover {
    color: rgba(255, 255, 255, 0.8);
}

.plus-menu-toggle.active {
    transform: rotate(45deg);
}

.menu-items {
    position: absolute;
    top: 100px;
    right: 0;
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 40px 30px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
}

.menu-items.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 400px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-items a {
    text-decoration: none;
    color: #111;
    font-family: 'Judson', serif;
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.2s;
    padding: 8px 0;
    text-align: left;
    line-height: 1.2;
}

/* Homepage menu items - white text */
.navbar.homepage-header .menu-items a {
    color: #fff;
}

.menu-items a:hover {
    color: #e75480;
}

/* Homepage menu items hover - lighter white with glow */
.navbar.homepage-header .menu-items a:hover {
    color: rgba(255, 255, 255, 0.8) !important;
    text-shadow: 
        0 0 3px #e75480,
        0 0 6px #e75480,
        0 0 9px rgba(231, 84, 128, 0.8),
        0 0 12px rgba(231, 84, 128, 0.6),
        0 0 15px rgba(231, 84, 128, 0.4);
}

/* Page Sections */
.page-section {
    display: none;
    padding: 140px 48px 60px 48px;
    min-height: calc(100vh - 200px);
}

/* Homepage Styles */
#home {
    position: relative;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    margin: 0;
    padding: 0;
    max-width: 100%;
}

/* Ensure body has no margin when on homepage */
body.homepage-active {
    margin: 0;
    padding: 0;
}

.home-container {
    width: 100%;
    height: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

/* Homepage logo positioning - centered below desktop navigation */
#home .logo-container {
    position: absolute;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1500;
}

#home .logo-container .logo {
    height: 240px;
    filter: brightness(0) saturate(100%) invert(1) contrast(1) !important;
    -webkit-filter: brightness(0) saturate(100%) invert(1) contrast(1) !important;
}

.home-background {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    margin: 0;
    padding: 0;
}

.home-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    padding: 0;
}

/* Social Media Icons */
.social-media-icons {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 1500;
}

.social-icon {
    color: #fff;
    transition: all 0.3s ease;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    width: 48px; /* Fixed width for perfect circle */
    height: 48px; /* Fixed height for perfect circle */
    flex-shrink: 0; /* Prevent shrinking */
}

.social-icon:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-icon svg {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.social-icon:hover svg {
    transform: scale(1.1);
}

/* Ensure navigation remains visible over the background */
.menu-container {
    z-index: 1000;
    position: relative;
}

.menu-icon,
.menu-items {
    z-index: 1001;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

/* When menu is active, shift entire container down */
body.menu-active .about-container {
    transform: translateY(280px);
}

/* Add universal project detail container shift rule */
body.menu-active .project-detail-container {
    transform: translateY(280px);
}

/* Also shift project detail content wrapper */
body.menu-active .project-detail-content {
    transform: translateY(280px);
}

.about-image {
    display: flex;
    justify-content: center;
}

.portrait {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
}

.about-text {
    font-family: 'Judson', serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #111;
}

/* Projects Page Styles */
.projects-container {
    max-width: 1400px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

/* When menu is active, shift projects container down */
body.menu-active .projects-container {
    transform: translateY(280px);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 60px;
    padding: 0 20px;
}

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

.project-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.project-item:hover .project-image {
    transform: scale(1.02);
}

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

.project-title {
    font-family: 'Judson', serif;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
}

.project-title a {
    text-decoration: none;
    color: #111;
    transition: color 0.2s;
}

.project-title a:hover {
    color: #e75480;
}

/* Project Detail Pages */
.project-detail {
    display: none;
    padding: 140px 48px 60px 48px;
    min-height: calc(100vh - 200px);
}

.project-detail-container {
    max-width: 1400px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

/* Back button styling - Updated Design */
.back-button {
    background: transparent;
    color: #000;
    border: 2px solid #000;
    padding: 10px 18px;
    font-size: 14px;
    font-family: 'Judson', serif;
    text-transform: uppercase;
    cursor: pointer;
    margin-bottom: 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.back-button:hover {
    background: #e75480;
    color: #fff;
    border-color: #e75480;
    transform: translateY(-1px);
}

/* CV page styling - Professional Design with Pink Headers */
.cv-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 3rem;
    font-family: 'Judson', serif !important;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* Force Judson font on ALL CV elements */
.cv-container,
.cv-container *,
.cv-container h2,
.cv-container h3,
.cv-container h4,
.cv-container p,
.cv-container li,
.cv-container a,
.cv-container strong,
.cv-container span {
    font-family: 'Judson', serif !important;
}

/* Main CV Title - Large and Centered */
.cv-container h2 {
    font-size: 3.5rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 400;
    color: #e75480; /* Pink color */
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Main Section Container */
.cv-main-section {
    margin-bottom: 4rem;
}

/* Main Section Titles - Pink Headers like reference */
.cv-main-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #e75480; /* Pink color for main headers */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e75480;
}

/* Subsection Container */
.cv-subsection {
    margin-bottom: 2rem;
    margin-left: 1rem;
}

/* Subsection Titles - Also Pink */
.cv-subsection-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e75480; /* Pink color for subsection headers */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

/* CV Lists - Clean Bullet Points */
.cv-list {
    list-style-type: disc !important;
    padding-left: 1.5rem;
    margin: 0 0 1rem 1rem;
}

.cv-list li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    font-size: 0.95rem;
    color: #444;
}

/* Bold Text in Lists */
.cv-list li strong {
    font-weight: 700;
    color: #222;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Date Styling */
.cv-date {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    display: inline;
    margin-left: 0.5rem;
}

/* Languages List - Horizontal Layout */
.cv-languages {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    list-style-type: disc !important;
    padding-left: 1.5rem;
    margin: 0 0 1rem 1rem;
}

.cv-languages li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #444;
}

/* Links in CV */
.cv-list a {
    color: #e75480;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.cv-list a:hover {
    text-decoration: underline;
    color: #d63874;
}

/* Section Separator - Clean Line */
.cv-separator {
    border: none;
    border-top: 1px solid #ddd;
    margin: 3rem auto;
    width: 80%;
    height: 0;
}

/* Two Column Layout for Desktop */
@media (min-width: 769px) {
    .cv-container {
        padding: 4rem 4rem;
    }
    
    /* Create two-column layout for main sections */
    .cv-content-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        margin-top: 2rem;
    }
}

/* Mobile Responsive CV */
@media (max-width: 768px) {
    .cv-container {
        padding: 2rem 1.5rem;
        margin-top: 1rem; /* Ensure CV starts at proper position */
    }
    
    .cv-container h2 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
        letter-spacing: 1px;
        margin-top: 0; /* Ensure main title is at top */
    }
    
    .cv-main-title {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .cv-subsection-title {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .cv-subsection {
        margin-left: 0;
        margin-bottom: 1.5rem;
    }
    
    .cv-list {
        padding-left: 1.2rem;
        margin: 0 0 1rem 0;
    }
    
    .cv-list li {
        margin-bottom: 0.9rem;
        font-size: 0.9rem;
    }
    
    .cv-languages {
        gap: 1.2rem;
        padding-left: 1.2rem;
        margin: 0 0 1rem 0;
    }
    
    .cv-separator {
        margin: 2rem auto;
        width: 90%;
    }
}

.project-detail h2 {
    font-family: 'Judson', serif;
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 40px;
    color: #111;
}

.project-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.detail-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.detail-images img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.detail-text {
    font-family: 'Judson', serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #111;
}

.detail-text p {
    margin-bottom: 1.5em;
}

.detail-text a {
    color: #111;
    text-decoration: underline;
    transition: color 0.2s;
}

.detail-text a:hover {
    color: #e75480;
}

/* Publications & Writing Section Styles */
.publications-container {
    max-width: 1400px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

/* When menu is active, shift publications container down */
body.menu-active .publications-container {
    transform: translateY(280px);
}

.publications-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
}

.publications-intro p {
    font-family: 'Judson', serif;
    font-size: 1.1em;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.publication-item {
    display: flex;
    flex-direction: column;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin: 0 auto;
}

.publication-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: #e75480;
}

.publication-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.publication-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

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

.publication-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
    background: linear-gradient(to bottom, #fff 0%, #fafafa 100%);
}

.publication-title {
    font-family: 'Judson', serif !important;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    letter-spacing: 0.3px;
}

.publication-year {
    font-family: 'Judson', serif !important;
    font-size: 1rem;
    color: #e75480;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.publication-description {
    font-family: 'Judson', serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #666;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.publication-link {
    font-family: 'Judson', serif;
    font-size: 0.9rem;
    color: #e75480;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s;
    margin-top: auto;
    padding: 8px 15px;
    border: 1px solid #e75480;
    border-radius: 20px;
    text-align: center;
    background: transparent;
    align-self: flex-start;
}

.publication-link:hover {
    background: #e75480;
    color: #fff;
}

/* Press Section Styles */
.press-container {
    max-width: 1400px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

body.menu-active .press-container {
    transform: translateY(280px);
}

/* When menu is active, shift tattoo documentation container down */
body.menu-active .tattoo-doc-container {
    transform: translateY(280px);
}

/* When menu is active, shift contact container down */
body.menu-active .contact-container {
    transform: translateY(280px);
}

.press-container h2 {
    font-family: 'Judson', serif;
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 40px;
    color: #111;
}

/* Press Header with Contact Navigation */
.press-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.press-header h2 {
    margin-bottom: 0;
    flex-grow: 1;
}

.contact-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Judson', serif;
    font-size: 2.2rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-nav:hover {
    transform: translateY(-2px);
}

.contact-text {
    color: #111; /* Black text */
}

.contact-arrow {
    color: #e75480; /* Pink arrow */
    transition: transform 0.3s ease;
}

.contact-nav:hover .contact-arrow {
    transform: translateX(2px);
}

/* Hide Press header on desktop only */
.press-header h2 {
    display: none;
}

/* Hide Contact navigation on desktop only */
.contact-nav {
    display: none;
}

/* Hide mobile press bottom navigation on desktop */
.press-contact-nav {
    display: none;
}

.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.press-item {
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    max-width: 400px;
    margin: 0 auto;
}

.press-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.press-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.press-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.3s ease;
}

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

.press-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.press-title {
    font-family: 'Judson', serif;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.3;
    color: #111;
    margin: 0 0 8px 0;
}

.press-publication {
    font-family: 'Judson', serif;
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.press-date {
    font-family: 'Judson', serif;
    font-size: 0.8rem;
    color: #999;
    margin: 0 0 12px 0;
}

.press-link {
    font-family: 'Judson', serif;
    font-size: 0.9rem;
    color: #e75480;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s;
    margin-top: auto;
    padding: 6px 12px;
    border: 1px solid #e75480;
    border-radius: 20px;
    text-align: center;
    background: transparent;
    align-self: flex-start;
}

.press-link:hover {
    background: #e75480;
    color: #fff;
}

/* Tattoo Documentation Section Styles */
.tattoo-doc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    transition: transform 0.3s ease;
    text-align: center;
}

.tattoo-doc-container h2 {
    font-family: 'Judson', serif;
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 40px;
    color: #111;
}

.tattoo-images {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    max-width: 100%;
}

.tattoo-images img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    /* Override any conflicting styles */
    object-position: center !important;
}

/* Link styling for tattoo documentation */
.detail-text a {
    color: #111;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.detail-text a:hover {
    color: #e75480;
}

/* Contact Section Styles */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    transition: transform 0.3s ease;
    text-align: center;
}

.contact-container h2 {
    font-family: 'Judson', serif;
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: #e75480; /* Pink color */
    text-transform: uppercase; /* All caps */
}

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

.contact-content p {
    font-family: 'Judson', serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #111;
    margin-bottom: 1.2em;
}

.contact-content a {
    color: #111;
    text-decoration: underline;
    transition: color 0.2s;
}

.contact-content a:hover {
    color: #e75480;
}

/* Contact page social media icons */
.contact-social-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    padding-bottom: 40px;
}

.contact-social-icons .social-icon {
    color: #111;
    transition: all 0.3s ease;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
}

.contact-social-icons .social-icon:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.contact-social-icons .social-icon svg {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.contact-social-icons .social-icon:hover svg {
    transform: scale(1.1);
}

/* Mobile Navigation Tabs - Only for homepage */
.mobile-nav-tabs {
    display: none;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1500;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    width: 100%;
    padding: 0 20px;
}

.mobile-nav-tabs a {
    font-family: 'Judson', serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 20px;
    backdrop-filter: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

    .mobile-nav-tabs a:hover {
        color: #e75480;
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-1px);
    }

/* Desktop Navigation Tabs - Only for homepage */
.desktop-nav-tabs {
    display: flex;
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1500;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40px;
    width: 100%;
    padding: 0 20px;
}

/* Hide plus menu on desktop when desktop nav is visible */
@media (min-width: 769px) {
    .navbar.homepage-header .nav-tabs {
        display: none;
    }
}

.desktop-nav-tabs a {
    font-family: 'Judson', serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    padding: 8px 0;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
}

.desktop-nav-tabs a:hover {
    color: rgba(255, 255, 255, 0.8) !important;
    text-shadow: 
        0 0 3px #e75480,
        0 0 6px #e75480,
        0 0 9px rgba(231, 84, 128, 0.8),
        0 0 12px rgba(231, 84, 128, 0.6),
        0 0 15px rgba(231, 84, 128, 0.4);
}

/* Projects Navigation */
.mobile-projects-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 12px 0;
    margin-top: 30px;
}

.mobile-projects-nav:hover {
    transform: translateY(-2px);
}

.projects-text {
    font-family: 'Judson', serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.projects-arrow {
    transition: transform 0.3s ease;
}

.mobile-projects-nav:hover .projects-arrow {
    transform: translateX(2px);
}

/* Next Project Navigation - Hidden on desktop */
.mobile-next-nav {
    display: none;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 30px;
    padding: 12px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #e75480; /* Pink color for NEXT → text */
    font-family: 'Judson', serif;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.mobile-next-nav:hover {
    transform: translateY(-2px);
}

.next-arrow {
    transition: transform 0.3s ease;
}

.mobile-next-nav:hover .next-arrow {
    transform: translateX(2px);
}

/* Desktop Next Project Navigation */
.desktop-next-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 30px;
    padding: 12px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Judson', serif;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.desktop-next-nav:hover {
    transform: translateY(-2px);
}

.next-text-desktop {
    color: #111; /* Black text */
}

.next-arrow-desktop {
    color: #e75480; /* Pink arrow */
    transition: transform 0.3s ease;
}

.desktop-next-nav:hover .next-arrow-desktop {
    transform: translateX(2px);
}

/* Desktop Press Navigation */
.desktop-press-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 30px;
    padding: 12px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Judson', serif;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.desktop-press-nav:hover {
    transform: translateY(-2px);
}

.press-text-desktop {
    color: #111; /* Black text */
}

.press-arrow-desktop {
    color: #e75480; /* Pink arrow */
    transition: transform 0.3s ease;
}

.desktop-press-nav:hover .press-arrow-desktop {
    transform: translateX(2px);
}

/* Hide mobile-only press navigation on desktop */
.mobile-press-nav {
    display: none;
}

/* Mobile Responsive Styles */

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .navbar {
        padding: 20px 20px 0 20px;
    }
    
    .navbar.homepage-header {
        padding: 40px 20px 0 20px;
    }
    
    .navbar.homepage-header .nav-tabs {
        display: none; /* Hide desktop navigation on mobile homepage */
    }
    
    /* Prevent scrolling on mobile homepage */
    body.homepage-active {
        overflow: hidden !important;
        height: 100vh !important;
        position: fixed !important;
        width: 100% !important;
        top: 0 !important;
        left: 0 !important;
    }
    
    /* Also ensure html doesn't scroll on mobile homepage */
    body.homepage-active html {
        overflow: hidden !important;
        height: 100vh !important;
    }
    
    /* Ensure home container doesn't exceed viewport */
    body.homepage-active #home {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        overflow: hidden !important;
    }
    
    /* Mobile layout: Logo at top, menu in middle, social at bottom */
    #home .logo-container {
        position: absolute !important;
        top: 15% !important; /* Slightly higher to ensure it fits */
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 1500 !important;
    }
    
    #home .logo-container .logo {
        height: 160px !important; /* Slightly smaller to fit better */
    }
    
    /* Show mobile navigation tabs in middle */
    #home .mobile-nav-tabs {
        display: flex;
        position: absolute !important;
        top: 50% !important; /* Centered vertically */
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 1500 !important;
    }
    
    /* Mobile social media icons at bottom */
    #home .social-media-icons {
        position: absolute !important;
        top: 85% !important; /* Positioned higher to ensure visibility */
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 1500 !important;
        bottom: auto !important;
    }
    
    /* Hide desktop navigation on mobile */
    .desktop-nav-tabs {
        display: none !important;
    }
    
    /* Mobile About section layout - image first, then text */
    .about-container {
        display: flex;
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }
    
    .about-image {
        order: 1; /* Image appears first */
        margin-bottom: 20px;
    }
    
    .portrait {
        max-width: 100%;
        width: auto;
        max-height: 60vh; /* Limit height on mobile */
    }
    
    .about-text {
        order: 2; /* Text appears second */
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .logo {
        height: 80px;
    }
    
    .navbar.homepage-header .logo {
        height: 160px;
    }
    
    .plus-menu-toggle {
        font-size: 3rem;
        width: 60px;
        height: 60px;
    }
    
    .page-section {
        padding: 100px 20px 40px 20px;
        min-height: calc(100vh - 140px);
    }
    
    /* Mobile menu positioning with improved animations */
    .menu-items {
        top: 80px;
        right: 10px;
        padding: 30px 20px;
        min-width: 200px;
        background: transparent;
        backdrop-filter: none;
        border-radius: 0;
        box-shadow: none;
        transform: translateY(-30px) scale(0.95);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        max-height: 0;
        overflow: hidden;
    }
    
    .menu-items.active {
        transform: translateY(0) scale(1);
        max-height: 500px;
        padding: 30px 20px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .menu-items a {
        font-size: 1.2rem;
        padding: 15px 0;
        transform: translateX(-20px);
        opacity: 0;
        transition: all 0.3s ease;
        transition-delay: 0.1s;
    }
    
    .menu-items.active a {
        transform: translateX(0);
        opacity: 1;
    }
    
    /* Stagger animation for menu items */
    .menu-items.active a:nth-child(1) { transition-delay: 0.1s; }
    .menu-items.active a:nth-child(2) { transition-delay: 0.15s; }
    .menu-items.active a:nth-child(3) { transition-delay: 0.2s; }
    .menu-items.active a:nth-child(4) { transition-delay: 0.25s; }
    
    /* Mobile Homepage: Enhanced pink glow around navigation text */
    .navbar.homepage-header .menu-items a {
        text-shadow: 
            0 0 3px #e75480,
            0 0 6px #e75480,
            0 0 9px rgba(231, 84, 128, 0.8),
            0 0 12px rgba(231, 84, 128, 0.6),
            0 0 15px rgba(231, 84, 128, 0.4);
        color: #fff !important; /* Ensure white text is maintained */
    }
    
    /* Mobile: Enhanced content shift when menu is active - prevent overlap */
    body.menu-active .about-container {
        transform: translateY(420px);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    body.menu-active .projects-container {
        transform: translateY(420px);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    body.menu-active .publications-container {
        transform: translateY(420px);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    body.menu-active .press-container {
        transform: translateY(420px);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    body.menu-active .tattoo-doc-container {
        transform: translateY(420px);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    body.menu-active .contact-container {
        transform: translateY(420px);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    body.menu-active .cv-container {
        transform: translateY(420px);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Ensure project detail content also shifts on mobile */
    body.menu-active .project-detail-container {
        transform: translateY(420px);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Also shift project detail content wrapper on mobile */
    body.menu-active .project-detail-content {
        transform: translateY(420px);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Smooth transitions for content containers */
    .about-container,
    .projects-container,
    .publications-container,
    .press-container,
    .contact-container,
    .cv-container,
    .project-detail-container,
    .project-detail-content {
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Mobile Projects Navigation */
    .mobile-projects-nav {
        position: relative;
        bottom: auto;
        right: auto;
        order: 2; /* Ensure it appears after text on mobile */
        margin-top: 30px;
    }
    
    /* Mobile Next Project Navigation */
    .mobile-next-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 30px;
        padding: 12px 20px;
        cursor: pointer;
        transition: all 0.3s ease;
        color: #e75480; /* Pink color for NEXT → text */
        font-family: 'Judson', serif;
        font-size: 0.9rem;
        font-weight: 400;
        text-transform: uppercase;
        letter-spacing: 0.1em;
    }
    
    .mobile-next-nav:hover {
        transform: translateY(-2px);
    }
    
    .next-arrow {
        transition: transform 0.3s ease;
    }
    
    .mobile-next-nav:hover .next-arrow {
        transform: translateX(2px);
    }
    
    /* Mobile Project Detail Layout */
    .project-detail-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    .detail-images {
        order: 1; /* Images after title */
        max-width: 100%;
        margin: 0;
    }
    
    .detail-text {
        order: 2; /* Text after images */
    }
    
    /* Mobile Project Grid Layout - Fix image cropping */
    .project-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 40px;
        padding: 0 15px; /* Slightly reduced padding */
        max-width: 100%;
    }
    
    .project-item {
        width: 100%;
        max-width: 100%;
    }
    
    .project-image {
        width: 100%;
        height: 250px; /* Slightly reduced height for mobile */
        margin: 0 auto 20px auto;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .project-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
.mobile-projects-nav:hover {
    transform: translateY(-2px);
}

.projects-text {
    font-family: 'Judson', serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.projects-arrow {
    transition: transform 0.3s ease;
}

.mobile-projects-nav:hover .projects-arrow {
    transform: translateX(2px);
}

/* Hide desktop navigation on mobile */
.desktop-next-nav {
    display: none;
}

.desktop-press-nav {
    display: none;
}

/* Mobile Press Navigation */
.mobile-press-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Judson', serif;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.mobile-press-nav:hover {
    transform: translateY(-2px);
}

.press-text-mobile {
    color: #111; /* Black text */
}

.press-arrow-mobile {
    color: #e75480; /* Pink arrow */
    transition: transform 0.3s ease;
}

.mobile-press-nav:hover .press-arrow-mobile {
    transform: translateX(2px);
}

/* Mobile Publications Section Layout - Fix image cropping and centering */
.publications-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 30px;
    padding: 0 15px; /* Reduced padding for more space */
    max-width: 100%;
}

.publication-item {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.publication-image {
    width: 100%;
    height: 200px; /* Reduced height for mobile */
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.publication-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.publication-content {
    padding: 20px; /* Reduced padding for mobile */
}

}