/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette matching the Flyer */
    --bg-primary: #bde3f6;       /* Flyer light blue background */
    --bg-secondary: #bde3f6;     /* Consistent panels */
    --bg-tertiary: #000000;      /* Solid black for lines and outlines */
    
    --text-primary: #000000;     /* Solid black text */
    --text-secondary: #111111;   /* High contrast grey-black */
    --text-muted: #333333;       /* Muted grey-black */
    
    --accent: #000000;           /* Poster black */
    --accent-hover: #222222;     
    --accent-glow: rgba(0, 0, 0, 0.08);
    
    /* Layout & Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    
    /* Fonts */
    --font-heading: 'League Gothic', sans-serif;
    --font-serif: 'Lora', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* Prevents horizontal page scrolling on mobile */
}

body {
    overflow-x: hidden;
    padding-top: var(--header-height);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--text-primary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #333333;
}

/* Containers */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-primary);
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(189, 227, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid #000000;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: brightness(0); /* Converts white logo to solid black */
}

.event-details {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    text-transform: uppercase;
    border-left: 2px solid #000000;
    padding-left: 15px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    padding: 60px 0 40px 0;
    text-align: center;
    background: radial-gradient(circle at top center, rgba(0, 0, 0, 0.03) 0%, transparent 70%);
}

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

.hero-brand {
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
    padding: 15px 40px;
}

.brand-main-title {
    margin: 0;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-logo-img {
    display: block;
    width: 760px;
    max-width: 100%;
    height: auto;
}

.brand-badge {
    position: absolute;
    border: 2px solid #000000;
    border-radius: 50px;
    padding: 5px 16px;
    font-size: 1rem;
    font-weight: 600;
    color: #000000;
    background-color: var(--bg-primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
}

.date-badge {
    top: -5px;
    left: 8%;
    transform: rotate(-10deg);
    font-family: var(--font-body);
}

.location-badge {
    bottom: 5px;
    right: 15%;
    transform: rotate(8deg);
    font-family: var(--font-body);
}

.hero-subtitle-serif {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-style: italic;
    color: #000000;
    margin-bottom: 10px;
    font-weight: 500;
}

.hero-event-details {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #111111;
    margin-bottom: 25px;
}

.hero-intro-text {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.7;
    color: #222222;
    max-width: 720px;
    margin: 0 auto 30px auto;
}

.hero-divider {
    width: 100%;
    height: 2px;
    background-color: #000000;
    margin: 0 auto;
}

/* ==========================================================================
   SPEAKER INDEX SECTION (QUICK ACCESS NAVIGATION)
   ========================================================================== */
.speaker-index-section {
    padding: 20px 0 40px 0;
}

.speaker-index-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    justify-items: center;
}

.index-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: var(--transition-smooth);
    width: 100%;
}

.avatar-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #000000; /* Solid black border */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
    margin-bottom: 12px;
    transition: var(--transition-smooth);
    background-color: var(--bg-primary);
}

.avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    filter: grayscale(100%) contrast(110%); /* High contrast grayscale to match poster */
}

.index-card:hover {
    transform: translateY(-5px);
}

.index-card:hover .avatar-wrapper {
    border-color: #000000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.index-card:hover .avatar-wrapper img {
    filter: grayscale(0%) contrast(100%);
    transform: scale(1.05);
}

.index-name {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.3;
    margin-bottom: 3px;
    transition: var(--transition-smooth);
}

.index-card:hover .index-name {
    text-decoration: underline;
}

.index-studio {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    text-align: center;
    letter-spacing: 0.02em;
}

.index-divider {
    height: 2px;
    background-color: #000000;
    margin-top: 40px;
}

/* ==========================================================================
   EVENT PROGRAM DRAWER & FAB
   ========================================================================== */
/* Floating Event Program Toggle Button */
.program-toggle-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1500;
    background-color: #000000;
    color: #bde3f6; /* Flyer light blue text */
    border: 2px solid #000000;
    border-radius: 50px;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

.program-toggle-btn:hover {
    transform: translateY(-3px);
    background-color: #222222;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.calendar-icon {
    stroke: #bde3f6;
    transition: var(--transition-smooth);
}

/* Drawer Backdrop Overlay */
.program-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1550;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.program-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Side Drawer Program Panel */
.program-drawer {
    position: fixed;
    top: 0;
    right: -500px; /* Hide by default */
    width: 500px;
    max-width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    border-left: 3px solid #000000;
    z-index: 1600;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.program-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 2px solid #000000;
}

.drawer-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-style: italic;
    color: #000000;
    font-weight: 600;
    margin: 0;
}

.drawer-close-btn {
    background: none;
    border: none;
    color: #000000;
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-smooth);
}

.drawer-close-btn:hover {
    transform: rotate(90deg);
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    scrollbar-width: thin;
    scrollbar-color: #000000 var(--bg-primary);
}

.program-part-header {
    border-bottom: 2px solid #000000;
    padding-bottom: 5px;
    margin: 30px 0 20px 0;
}

.part-label {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    color: #000000;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 20px;
    border-left: 2px solid #000000;
    margin-left: 10px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 20px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #000000;
    border: 2px solid var(--bg-primary);
}

.timeline-time {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.05rem;
    color: #000000;
}

.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.timeline-event-title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    color: #000000;
    margin: 0;
}

.timeline-event-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #222222;
    line-height: 1.5;
}

.timeline-session-topic {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: #000000;
    font-weight: 500;
}

.company-highlights {
    font-weight: 600;
    color: #000000;
}

.timeline-speakers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.speaker-pill {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    background-color: rgba(0, 0, 0, 0.03);
    border: 1px solid #000000;
    border-radius: 50px;
    padding: 3px 10px;
    color: #000000;
}

.program-footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
}

.registration-prompt {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.25rem;
    color: #000000;
    text-decoration: underline;
    font-weight: 500;
}


/* ==========================================================================
   SPEAKER SECTION (EDITORIAL LAYOUT)
   ========================================================================== */
.speaker-section {
    padding: 80px 0;
}

.speaker-editorial {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: start;
}

/* Speaker Meta (Left Column) */
.speaker-meta {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.portrait-container {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 4px;
    overflow: hidden;
    background-color: var(--bg-secondary);
    border: 2px solid #000000; /* Solid black border */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.speaker-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-slow);
    filter: grayscale(100%) contrast(105%); /* Matching high contrast grey style */
}

.portrait-container:hover .speaker-portrait {
    transform: scale(1.03);
    filter: grayscale(0%) contrast(100%);
}

.speaker-info {
    display: flex;
    flex-direction: column;
}

.speaker-name {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 8px;
    font-weight: 600;
    color: #000000;
}

.speaker-role {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #000000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.speaker-location {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.studio-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: #000000;
    text-decoration: underline;
    text-underline-offset: 4px;
    margin-bottom: 20px;
    display: inline-block;
    transition: var(--transition-smooth);
}

.studio-link:hover {
    color: #555555;
}

.speaker-bio {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #222222;
    font-weight: 400;
    line-height: 1.75;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Speaker Portfolio (Right Column) */
.speaker-portfolio {
    display: flex;
    flex-direction: column;
    gap: 25px;
    min-width: 0; /* Prevents layout overflow in CSS Grid columns */
}

.portfolio-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    text-transform: none;
    letter-spacing: 0.02em;
    color: #000000;
    font-weight: 600;
    border-bottom: 2px solid #000000; /* Bold black underline matching flyer headers */
    padding-bottom: 10px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.image-wrapper {
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: 4px;
    overflow: hidden;
    background-color: var(--bg-secondary);
    border: 2px solid #000000; /* Solid black border */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    position: relative;
    cursor: pointer;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

/* Hover overlay and text */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* High contrast dark overlay */
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.overlay-text {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-style: italic;
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--bg-primary);
    border-bottom: 1px solid var(--bg-primary);
    padding-bottom: 4px;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.portfolio-item:hover .image-wrapper img {
    transform: scale(1.04);
}

.portfolio-item:hover .image-overlay {
    opacity: 1;
}

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

.project-caption {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #111111;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.4;
    transition: var(--transition-smooth);
}

.portfolio-item:hover .project-caption {
    text-decoration: underline;
}

/* ==========================================================================
   DIVIDERS
   ========================================================================== */
.section-divider {
    height: 2px;
    width: 100%;
    background-color: #000000;
    margin-top: 40px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: var(--bg-primary);
    border-top: 2px solid #000000;
    padding: 50px 0;
    margin-top: 80px;
    font-size: 0.85rem;
    color: #222222;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-logos {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-event {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-style: italic;
    font-weight: 600;
    color: #000000;
    letter-spacing: 0.02em;
}

.footer-org {
    max-width: 600px;
    line-height: 1.6;
    color: #222222;
}

.footer-copyright {
    font-size: 0.75rem;
    margin-top: 10px;
    color: #444444;
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 7, 9, 0.97); /* Keep dark for image pop */
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 45px;
    color: #ffffff;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition-smooth);
    user-select: none;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--bg-primary);
    transform: rotate(90deg);
}

.lightbox-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 85vw;
    height: 75vh;
    gap: 20px;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    border: 2px solid #ffffff;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox-image.show {
    opacity: 1;
    transform: scale(1);
}

.lightbox-caption-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
}

.lightbox-caption {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: #ffffff;
    font-style: italic;
}

.lightbox-studio {
    font-size: 0.8rem;
    color: var(--bg-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    padding: 20px 25px;
    transition: var(--transition-smooth);
    user-select: none;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover, .lightbox-next:hover {
    color: var(--bg-primary);
    transform: translateY(-50%) scale(1.1);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Laptop & Large Tablets */
@media (max-width: 1100px) {
    .speaker-editorial {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .speaker-meta {
        display: grid;
        grid-template-columns: 320px 1fr;
        gap: 40px;
    }
    
    .portrait-container {
        height: auto;
    }
    
    .speaker-index-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

/* Small Tablets & Large Phones */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .hero-brand {
        margin-bottom: 20px;
    }
    
    .speaker-meta {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .portrait-container {
        max-width: 320px;
        margin: 0 auto;
    }
    
    .speaker-info {
        text-align: center;
    }
    
    .speaker-location {
        margin-bottom: 15px;
    }
    
    .portfolio-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 18px;
        padding: 5px 5vw 20px 5vw;
        margin-left: -5vw;
        margin-right: -5vw;
        scroll-padding: 0 5vw;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #000000 rgba(0, 0, 0, 0.05);
    }
    
    .portfolio-grid::-webkit-scrollbar {
        display: block;
        height: 4px;
    }
    
    .portfolio-grid::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
    }
    
    .portfolio-grid::-webkit-scrollbar-thumb {
        background: #000000;
        border-radius: 2px;
    }
    
    .portfolio-item {
        flex: 0 0 78%;
        max-width: 320px;
        scroll-snap-align: start;
        gap: 8px;
    }
    
    .image-wrapper {
        aspect-ratio: 4 / 3;
    }
    
    .hero {
        padding: 45px 0 25px 0;
    }
    
    .lightbox-close {
        top: 20px;
        right: 25px;
        font-size: 2.2rem;
    }
    
    .lightbox-prev, .lightbox-next {
        font-size: 2rem;
        padding: 10px 15px;
    }
    
    .lightbox-prev {
        left: 5px;
    }
    
    .lightbox-next {
        right: 5px;
    }
    
    .timeline {
        padding-left: 15px;
    }
    
    .timeline-item {
        grid-template-columns: 60px 1fr;
        gap: 15px;
    }
    
    .timeline-item::before {
        left: -21px;
    }
}

/* Medium Phones */
@media (max-width: 580px) {
    .speaker-index-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .avatar-wrapper {
        width: 80px;
        height: 80px;
    }
}

/* Small Phones */
@media (max-width: 480px) {
    .avatar-wrapper {
        width: 70px;
        height: 70px;
    }
    .index-name {
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   5. PORTFOLIO EXPANSION TOGGLE SYSTEM
   ========================================================================== */
/* Hide extra items on desktop by default */
.portfolio-item.hidden-work {
    display: none !important;
}

/* Show them when grid is expanded */
.portfolio-grid.expanded .portfolio-item.hidden-work {
    display: flex !important;
}

/* Style for the Show More button */
.portfolio-toggle-btn {
    display: block;
    margin: 25px auto 0 auto;
    background-color: transparent;
    color: #000000;
    border: 2px solid #000000;
    border-radius: 4px;
    padding: 10px 24px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.portfolio-toggle-btn:hover {
    background-color: #000000;
    color: #bde3f6;
}

/* Mobile responsive override */
@media (max-width: 768px) {
    .portfolio-item.hidden-work {
        display: flex !important; /* Force display in the horizontal scroll row */
    }
    
    .portfolio-toggle-btn {
        display: none !important; /* Hide button on mobile */
    }
}

/* Lightbox loading spinner */
.lightbox-loader {
    display: none;
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    border-top-color: #bde3f6; /* Flyer light blue color */
    animation: lightbox-spin 0.8s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2010;
}

@keyframes lightbox-spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

