/* Lenis CSS */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }
html, body { margin-top: 0 !important; }
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&family=Great+Vibes&family=Inter:wght@400;500&display=swap');

/* Moolo Custom Portfolio - Dark Theme Redesign */

/* Base & Reset */
html {
    scroll-behavior: auto !important; /* Prevents theme from fighting with GSAP scroll physics */
}

body, .site, .site-content, .wp-site-blocks {
    background-color: #1c1c1c !important;
}

body {
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* ============================
   LIGHT MODE OVERRIDES
   ============================ */

/* --- Base Background --- */
body.moolo-light-mode,
body.moolo-light-mode .site,
body.moolo-light-mode .site-content,
body.moolo-light-mode .wp-site-blocks,
body.moolo-light-mode .wp-block-group {
    background-color: #f0ede8 !important;
}

/* --- Grid Animation for Light --- */


/* --- Section Base --- */
body.moolo-light-mode .moolo-section {
    color: #1a1a1a;

}

body.moolo-light-mode .moolo-section:not(.moolo-hero) {
    background-color: #f0ede8;
}

/* --- Typography --- */
body.moolo-light-mode .moolo-section:not(.moolo-scroll-zoom-section) h1,
body.moolo-light-mode .moolo-section:not(.moolo-scroll-zoom-section) h2,
body.moolo-light-mode .moolo-section:not(.moolo-scroll-zoom-section) h3,
body.moolo-light-mode .moolo-section:not(.moolo-scroll-zoom-section) h4 {
    color: #111111 !important;
}

body.moolo-light-mode .moolo-section p,
body.moolo-light-mode .moolo-section div {
    color: #555555;
}

body.moolo-light-mode .moolo-section .moolo-tag,
body.moolo-light-mode .moolo-section span {
    color: #666666;
}

body.moolo-light-mode .moolo-section-title {
    border-bottom-color: #cccccc;
    color: #111111 !important;
}

/* --- HERO --- */
body.moolo-light-mode .moolo-hero {
    background-color: #f0ede8 !important;
    background-image: none !important;
    animation: none !important;
}



body.moolo-light-mode .moolo-title-name,
body.moolo-light-mode .moolo-title-job {
    color: #111111 !important;
}

body.moolo-light-mode .moolo-hero-bio {
    color: #555;
}

body.moolo-light-mode .moolo-btn-play {
    color: #111111;
}

body.moolo-light-mode .moolo-avatar-placeholder {
    background: #d8d4cf;
}

body.moolo-light-mode .moolo-feature-list li {
    color: #111111;
}

/* --- MARQUEE --- */
body.moolo-light-mode div.moolo-marquee-section {
    background: #ff6b00 !important;
    background-color: #ff6b00 !important;
    color: #ffffff !important;
}

body.moolo-light-mode .moolo-marquee-separator {
    color: rgba(255,255,255,0.6) !important;
}

/* --- ABOUT / TIMELINE --- */
body.moolo-light-mode .moolo-timeline-title {
    color: #111111 !important;
}

body.moolo-light-mode .moolo-timeline-content p {
    color: #666;
}

body.moolo-light-mode .moolo-tag {
    border-color: #cccccc;
    color: #666666 !important;
    background: #e8e4df;
}

/* --- SERVICES ACCORDION --- */
body.moolo-light-mode .moolo-accordion-item {
    border-bottom-color: rgba(0,0,0,0.1);
}

body.moolo-light-mode .moolo-service-title,
body.moolo-light-mode .moolo-accordion-icon {
    color: #888888;
}

body.moolo-light-mode .moolo-accordion-item.active .moolo-service-title,
body.moolo-light-mode .moolo-accordion-item.active .moolo-accordion-icon {
    color: #111111;
}

body.moolo-light-mode .moolo-accordion-inner p {
    color: #666666;
}

/* --- PROJECTS (Horizontal Scroll) --- */
body.moolo-light-mode .moolo-filter-btn {
    color: #888888;
}

body.moolo-light-mode .moolo-filter-btn.active,
body.moolo-light-mode .moolo-filter-btn:hover {
    color: #111111;
}

body.moolo-light-mode .moolo-project-image {
    background: #d8d4cf;
}

body.moolo-light-mode .moolo-project-title {
    color: #111111 !important;
}

body.moolo-light-mode .moolo-project-year {
    color: #888888;
}

body.moolo-light-mode .moolo-project-overlay {
    background: rgba(240,237,232,0.15);
}

/* --- PROJECTS (Vertical All) --- */
body.moolo-light-mode .moolo-divider {
    background: #cccccc;
}

body.moolo-light-mode .moolo-vertical-header .moolo-filter-btn {
    border-color: #cccccc;
    color: #888888;
}

body.moolo-light-mode .moolo-widget-title {
    border-bottom-color: #cccccc;
    color: #111111 !important;
}

body.moolo-light-mode .moolo-category-list li {
    border-bottom-color: #dddddd;
}

body.moolo-light-mode .moolo-cat-link {
    color: #888888 !important;
}

body.moolo-light-mode .moolo-cat-link:hover,
body.moolo-light-mode .moolo-cat-link.active {
    color: #111111 !important;
}

body.moolo-light-mode .moolo-cat-link .cat-count {
    color: #aaaaaa;
}

body.moolo-light-mode .moolo-sidebar-cta {
    border-color: #cccccc;
    background: #e8e4df;
}

body.moolo-light-mode .moolo-sidebar-cta p {
    color: #666666;
}

body.moolo-light-mode .moolo-btn-outline {
    border-color: #cccccc;
    color: #111111;
}

/* --- CONTACT FORM --- */
body.moolo-light-mode .moolo-form-group input,
body.moolo-light-mode .moolo-form-group textarea {
    background: #e8e4df;
    border-color: #cccccc;
    color: #111111;
}

body.moolo-light-mode .moolo-form-group input::placeholder,
body.moolo-light-mode .moolo-form-group textarea::placeholder {
    color: #aaaaaa;
}

/* --- FOOTER --- */
body.moolo-light-mode .moolo-footer {
    background: #1a1a1a;
    border-top-color: #333333;
}

body.moolo-light-mode .moolo-footer h1,
body.moolo-light-mode .moolo-footer h2,
body.moolo-light-mode .moolo-footer h3,
body.moolo-light-mode .moolo-footer p,
body.moolo-light-mode .moolo-footer span,
body.moolo-light-mode .moolo-footer a,
body.moolo-light-mode .moolo-footer div {
    color: #f0ede8 !important;
}

/* WordPress native footer */
body.moolo-light-mode #colophon {
    background: #1a1a1a !important;
    border-top-color: #333 !important;
}

body.moolo-light-mode #colophon .site-info {
    color: #999 !important;
}

/* --- CURSOR --- */


.moolo-section a:focus,
.moolo-section button:focus,
.moolo-section input:focus,
.moolo-section textarea:focus {
    outline: none !important;
}

/* Lenis Smooth Scroll Recommended CSS */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

[class^="wp-block-moolo-"] {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}



.moolo-section {
    font-family: 'Inter', sans-serif;
    color: #ffffff; /* Forced dark theme */

    line-height: 1.6;
    padding: 30px 0;
    box-sizing: border-box;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    
    /* Break out of narrow theme containers reliably without transform */
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

/* Override WordPress Block Theme Gaps */
.wp-site-blocks > *,
.entry-content > *,
.is-layout-flow > *,
.is-layout-constrained > *,
.wp-block-shortcode,
.wp-block-group,
.wp-block-post-content > * {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.entry-content, .is-layout-flow, .is-layout-constrained, .wp-block-post-content {
    gap: 0 !important;
}



.moolo-section *, .moolo-section *::before, .moolo-section *::after {
    box-sizing: border-box;
}

.moolo-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* Hide default block theme titles */
.entry-title, .wp-block-post-title {
    display: none !important;
}

/* Typography */
.moolo-section h1, .moolo-section h2, .moolo-section h3, .moolo-section h4 {
    margin-top: 0;
    color: #ffffff !important;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    line-height: 1.1;
}

.moolo-section p, .moolo-section div {
    color: #999999;
}

.moolo-section .moolo-tag, .moolo-section span {
    color: #999999;
}

/* Animations */
.moolo-fade-up {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.moolo-fade-right {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.moolo-fade-left {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.moolo-fade-up.is-visible,
.moolo-fade-right.is-visible,
.moolo-fade-left.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ---------------- HERO SECTION ---------------- */
.moolo-hero {
    isolation: isolate;
    z-index: 1;
    height: 100vh;
    border-top: 1px solid transparent; margin-top: -1px; margin-bottom: -1px; box-sizing: border-box;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    padding: 0 !important;
    position: relative;
    z-index: 1;
    overflow: hidden;
    clip-path: inset(0); /* hard clip ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â nothing escapes the 100vh box */
    background-image: none !important;
}

.moolo-section:not(.moolo-hero) {
    position: relative;
    z-index: 10;

}

body.moolo-light-mode .moolo-section:not(.moolo-hero) {

}



body.moolo-light-mode .moolo-title-name,
body.moolo-light-mode .moolo-title-job {
    color: #111111 !important;
}

body.moolo-light-mode .moolo-hero-bio {
    color: #444444 !important;
}

.moolo-hero-bg-text {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(0);
    font-family: 'Oswald', sans-serif;
    font-size: 22vw;
    font-weight: 700;
    z-index: 0 !important;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    pointer-events: none;
    
    /* Scanning beam effect (Dark Mode) */
    background: linear-gradient(to right, rgba(255, 255, 255, 0.08) 40%, rgba(255, 255, 255, 0.7) 47%, #ffffff 48.5%, #ffffff 51.5%, rgba(255, 255, 255, 0.7) 53%, rgba(255, 255, 255, 0.08) 60%);
    background-size: 220% 100%;
    background-position: 150% 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 1 !important;
    filter: drop-shadow(0 0 35px rgba(255, 255, 255, 0.9));
    will-change: opacity, transform, background-position;
}

.moolo-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative !important;
    z-index: 10 !important;
}

.moolo-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center; /* center left/right cols vertically */
    gap: 30px;
    width: 100%;
    padding-top: 70px; /* offset for fixed header so content doesn't hide behind it */
}

.moolo-hero-greeting {
    font-family: 'Great Vibes', cursive !important;
    font-size: 50px !important;
    color: #ff6b00 !important;
    text-transform: none !important;
    margin-bottom: 0 !important;
    font-weight: 400 !important;
    letter-spacing: 1px;
}

.moolo-hero-title {
    letter-spacing: -1px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    line-height: 1;
    overflow: hidden;
}

.moolo-title-name {
    font-weight: 700;
    white-space: nowrap;
    font-size: clamp(1.6rem, 3.5vw, 4rem);
}

.moolo-title-job {
    font-weight: 400;
    white-space: nowrap;
}

.moolo-hero-bio {
    font-size: 14px;
    max-width: 300px;
    margin-bottom: 40px;
    border-left: 2px solid var(--portfolio-primary, #ff6b00);
    padding-left: 15px;
}

.moolo-hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.moolo-btn-play {
    display: inline-flex;
    align-items: center;
    color: var(--portfolio-text, #ffffff);
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    transition: var(--portfolio-transition);
}

.moolo-btn-play:hover {
    color: var(--portfolio-primary, #ff6b00);
}

.moolo-play-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--portfolio-primary, #ff6b00);
    color: #fff;
    font-size: 12px;
    margin-right: 10px;
}

.moolo-hero-center {
    display: flex;
    justify-content: center;
    align-items: flex-end;  /* pin avatar to bottom */
    align-self: stretch;    /* fill full 100vh column height */
    overflow: hidden;       /* clip anything taller than column */
}

.moolo-avatar-wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    max-height: 100%;
}

.moolo-hero-avatar {
    max-height: calc(100vh - 80px); /* subtract fixed header height so top of image stays below header */
    width: auto;
    max-width: 100%;
    display: block;
    filter: none;
}

.moolo-avatar-placeholder {
    width: 300px;
    height: 400px;
    background: #1a1a1a;
    border-radius: 10px;
}

.moolo-hero-right {
    display: flex;
    justify-content: flex-end;
}

.moolo-hero-features {
    max-width: 250px;
}

/* Glassmorphism card */
.moolo-glass {
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 28px 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}

/* Light mode glass */
body.moolo-light-mode .moolo-glass {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.moolo-feature-intro {
    font-size: 14px;
    margin-bottom: 20px;
}

.moolo-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.moolo-feature-list li {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.moolo-bullet {
    width: 6px;
    height: 6px;
    background: var(--portfolio-primary, #ff6b00);
    border-radius: 50%;
    margin-right: 15px;
}

/* Marquee Section */
.moolo-marquee-section {
    background-color: #1c1c1c;
    color: #ffffff;
    padding: 20px 0;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    display: flex;
    z-index: 10;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    width: 100%;
}

.moolo-marquee-content {
    display: flex;
    flex: 0 0 auto;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: mooloMarqueeScroll 20s linear infinite;
    will-change: transform;
}

.moolo-marquee-content span {
    padding: 0 40px;
}

.moolo-marquee-separator {
    color: rgba(255,255,255,0.4);
    font-weight: 300;
    padding: 0 !important;
}

@keyframes mooloMarqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.3333%); }
}

/* Section Headers */
.moolo-section-header {
    margin-bottom: 30px;
}

.moolo-section-title {
    font-size: 24px;
    letter-spacing: 1px;
    border-bottom: none;
    padding-bottom: 18px;
    display: inline-block;
    margin-bottom: 20px;
}


/* ---------------- ABOUT & EXP / SERVICES GRID ---------------- */
.moolo-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

/* Experience (Left) */
.moolo-timeline {
    border: none;
    padding: 0;
    margin: 0;
}

.moolo-timeline-item {
    position: relative;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.moolo-timeline-item::before { display: none; }

.moolo-timeline-content {
    max-width: 70%;
}

.moolo-timeline-title {
    font-size: 16px;
    margin-bottom: 5px;
}

.moolo-timeline-company {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #ff6b00 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.moolo-timeline-content p {
    font-size: 13px;
    margin: 0;
}

.moolo-timeline-year {
    font-size: 12px;
    color: #ff6b00 !important;
    font-weight: 700;
    margin-bottom: 0;
}

/* Skills Tags */
.moolo-skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.moolo-tag {
    padding: 6px 14px;
    border: 1px solid #333;
    border-radius: 40px;
    font-size: 11px;
    color: #999999 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* Services (Accordion) */
.moolo-services-accordion {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.moolo-accordion-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
}
.moolo-accordion-item:last-child {
    border-bottom: none;
}

.moolo-accordion-header {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.moolo-service-number {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    color: #ff6b00 !important;
    margin: 0 20px 0 0;
}

.moolo-service-title {
    font-size: 24px;
    margin: 0;
    flex-grow: 1;
    color: #999;
    transition: color 0.3s;
}

.moolo-accordion-icon {
    font-size: 20px;
    color: #999;
    font-family: monospace;
    font-weight: bold;
    margin-left: 15px;
    align-items: center;
    transition: color 0.3s;
}

/* ---------------- ARTWORKS SECTION (3D + PARALLAX) ---------------- */
.moolo-artworks {
    position: relative;
    height: 150vh; /* Extra height to allow scrolling parallax */
    overflow: hidden;
    background-color: #050505; /* Slightly darker than main bg */
}

.moolo-artworks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6; /* Above the sticky title */
}

.moolo-parallax-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.moolo-aw-item {
    border-radius: 8px;
    overflow: hidden;
    background: #111;
}

.moolo-aw-link {
    display: block;
    cursor: pointer;
}

.moolo-aw-img {
    width: 100%;
    height: 300px; /* Default height, overridden inline */
    background-size: cover;
    background-position: center;
    filter: grayscale(80%) opacity(0.5);
    transition: filter 0.5s ease;
}

.moolo-aw-item:hover .moolo-aw-img {
    filter: grayscale(0%) opacity(1);
}

.moolo-artworks-center {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5; /* Above the grid */
    pointer-events: none; /* Let underlying clicks pass if needed */
}

.moolo-artworks-title-wrap {
    position: absolute;
    z-index: 2;
    text-align: center;
    pointer-events: none;
}

.moolo-artworks-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(4rem, 10vw, 10rem);
    line-height: 0.9;
    color: #fff !important;
    text-transform: uppercase;
    margin: 0;
}


.moolo-accordion-item.active .moolo-service-title,
.moolo-accordion-item.active .moolo-accordion-icon {
    color: #ffffff;
}

.moolo-accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease;
}

.moolo-accordion-item.active .moolo-accordion-content {
    grid-template-rows: 1fr;
}

.moolo-accordion-inner {
    overflow: hidden;
    padding-left: 35px;
}

.moolo-accordion-inner p {
    font-size: 14px;
    color: #999999;
    margin: 0;
    line-height: 1.6;
    padding-top: 15px;
}

/* Quote Card (About Col 3) */
.moolo-about-quote-card {
    background: #111;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #222;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: background 0.4s, border-color 0.4s;
}

.moolo-about-quote-text {
    font-size: 20px;
    line-height: 1.4;
    color: #fff;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: color 0.4s;
}

.moolo-about-quote-sig {
    font-family: 'Great Vibes', cursive;
    font-size: 32px;
    color: #fff;
    margin-top: 20px;
    transition: color 0.4s;
}

/* Light mode overrides for quote card */
body.moolo-light-mode .moolo-about-quote-card {
    background: #e8e4df;
    border-color: #cccccc;
}

body.moolo-light-mode .moolo-about-quote-text {
    color: #111111;
}

body.moolo-light-mode .moolo-about-quote-sig {
    color: #111111;
}


/* ---------------- PROJECTS SECTION (HORIZONTAL) ---------------- */
.moolo-about {
    padding-bottom: 0 !important;
}

.moolo-projects {
    overflow: hidden; /* Crucial for GSAP horizontal scroll */
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.moolo-project-filters {
    margin-bottom: 30px;
}

.moolo-filter-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 14px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    color: #999999;
    cursor: pointer;
    margin-right: 20px;
    outline: none;
}

.moolo-filter-btn:focus,
.moolo-filter-btn-all:focus {
    outline: none;
}

.moolo-filter-btn.active, .moolo-filter-btn:hover {
    color: #ffffff;
}

.moolo-projects-wrap {
    /* Wrapper for GSAP to move */
    width: 100%;
    height: 100%;
}

.moolo-projects-grid {
    display: flex;
    will-change: transform;
    flex-wrap: nowrap;
    gap: 30px;
    padding-bottom: 20px;
    /* Removed overflow-x and scroll-snap for GSAP */
}

.moolo-project-item {
    flex: 0 0 480px;
    min-width: 480px !important;
}

.moolo-project-link {
    display: block;
    text-decoration: none;
}

.moolo-project-image {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #1a1a1a;
    margin-bottom: 15px;
}

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

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

.moolo-project-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: transparent;
    transition: background 0.4s ease;
}

.moolo-project-link:hover .moolo-project-overlay {
    background: rgba(0,0,0,0);
}

.moolo-project-info {
    padding-top: 0;
}

.moolo-project-meta {
    font-size: 11px;
    font-weight: 700;
    color: var(--portfolio-primary, #ff6b00);
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.moolo-project-title {
    font-size: 20px;
    margin-bottom: 5px;
}

.moolo-project-year {
    font-size: 12px;
    color: var(--portfolio-muted, #999999);
}

/* General Buttons */
.moolo-load-more-wrap {
    text-align: center;
    margin-top: 20px;
}

.moolo-btn-outline {
    border-color: #333;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

/* ---------------- CUSTOM CURSOR ---------------- */
body.custom-cursor-active, 
body.custom-cursor-active a, 
body.custom-cursor-active button, 
body.custom-cursor-active .moolo-accordion-header, 
body.custom-cursor-active .moolo-filter-btn-all {
    cursor: none !important;
}

.moolo-cursor-dot {
    position: fixed;
    pointer-events: none;
    z-index: 9999999;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    border: 2px solid var(--portfolio-primary, #ff6b00);
    background-color: transparent;
    border-radius: 50%;
    transition: width 0.2s ease-out, height 0.2s ease-out, background-color 0.2s ease-out, border-color 0.2s ease-out;
}

.moolo-cursor-outline {
    display: none !important;
}

.moolo-cursor-dot.hover {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 107, 0, 0.15);
    border-color: rgba(255, 107, 0, 0);
}

.moolo-btn-outline:hover {
    background: var(--portfolio-primary, #ff6b00);
    border-color: var(--portfolio-primary, #ff6b00);
}

/* Forms */
.moolo-form-group input, .moolo-form-group textarea {
    background: #111;
    border-color: #333;
    color: #fff;
}
.moolo-form-group input:focus, .moolo-form-group textarea:focus {
    border-color: var(--portfolio-primary, #ff6b00);
}

/* Footer */
.moolo-footer {
    background: #000;
    border-top: 1px solid #1a1a1a;
}


/* ---------------- VERTICAL PROJECTS SECTION ---------------- */
.moolo-projects-vertical {
    padding-top: 50px !important;
    padding-bottom: 60px !important;
}

.moolo-vertical-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.moolo-vertical-header .moolo-section-title {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.moolo-vertical-header .moolo-project-filters {
    margin-bottom: 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.moolo-vertical-header .moolo-filter-btn {
    border: 1px solid #333;
    border-radius: 40px;
    padding: 6px 16px;
    font-size: 11px;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-right: 0;
    background: transparent;
    color: #999;
    cursor: pointer;
    outline: none;
}

.moolo-vertical-header .moolo-filter-btn.active, 
.moolo-vertical-header .moolo-filter-btn:hover {
    background-color: var(--portfolio-primary, #ff6b00);
    border-color: var(--portfolio-primary, #ff6b00);
    color: #fff;
}

.moolo-divider {
    border: 0;
    height: 1px;
    background: #333;
    margin-bottom: 40px;
}

.moolo-vertical-layout {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 50px;
}

.moolo-projects-grid-vertical {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.moolo-projects-grid-vertical .moolo-project-item {
    flex: unset;
    min-width: unset;
}

.moolo-sidebar-widget {
    margin-bottom: 40px;
}

.moolo-widget-title {
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
    color: #fff !important;
}

.moolo-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.moolo-category-list li {
    margin-bottom: 15px;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 15px;
}

.moolo-cat-link {
    display: flex;
    justify-content: space-between;
    text-decoration: none;
    color: #999 !important;
    font-size: 12px;
    font-weight: 700;
    transition: color 0.3s;
}

.moolo-cat-link:hover, .moolo-cat-link.active {
    color: #fff !important;
}

.moolo-cat-link .cat-count {
    color: #666;
    font-weight: 400;
}

.moolo-sidebar-cta {
    border: 1px solid #333;
    padding: 30px 20px;
    text-align: left;
}

.moolo-sidebar-cta h3 {
    font-size: 24px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    color: var(--portfolio-primary, #ff6b00) !important;
    margin-bottom: 15px;
    text-transform: none;
    line-height: 1.2;
}

.moolo-sidebar-cta p {
    font-size: 13px;
    color: #999;
    margin-bottom: 25px;
    line-height: 1.5;
}

.moolo-sidebar-cta .moolo-btn-primary {
    background: var(--portfolio-primary, #ff6b00);
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    display: inline-block;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
}

/* Responsive */
@media (max-width: 992px) {
    .moolo-lightbox-body {
        flex-direction: column;
        overflow-y: auto;
    }
    .moolo-lightbox-sidebar {
        width: 100%;
        border-top: 1px solid rgba(255,255,255,0.08);
        overflow-y: visible;
        padding: 40px 30px;
    }
    .moolo-lightbox-main {
        overflow-y: visible;
    }
}
    .moolo-hero-bio { margin: 20px auto; border-left: none; padding-left: 0; }
    .moolo-hero-actions { justify-content: center; }
    
    .moolo-vertical-layout {
        grid-template-columns: 1fr;
    }
    .moolo-projects-grid-vertical {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .moolo-projects-grid { --columns: 1 !important; }
    
    .moolo-vertical-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .moolo-projects-grid-vertical {
        grid-template-columns: 1fr;
    }
}

/* ============================
   PROJECTS ALL SECTION
   ============================ */
.moolo-projects-all-section {
    padding: 30px 0 60px 0 !important;
}

.moolo-pall-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 20px;
    margin-bottom: 40px;
    transition: border-color 0.4s;
}

.moolo-pall-title {
    margin: 0;
    text-transform: uppercase;
    font-size: 24px;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    transition: color 0.4s;
}

.moolo-filters-all {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.moolo-filter-btn-all {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 8px 20px;
    border-radius: 99px;
    cursor: pointer;
    font-weight: bold;
    font-size: 13px;
    transition: all 0.3s;
    outline: none;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.5px;
}

.moolo-filter-btn-all.active {
    background: #ff6b00;
    color: #fff;
    border-color: transparent;
}

.moolo-pall-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.moolo-pall-grid-wrap {
    flex: 1 1 65%;
    min-width: 0;
}

.moolo-pall-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.moolo-project-item-all {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 0 15px;
    margin-bottom: 30px;
    box-sizing: border-box;
    min-width: 220px;
}

.moolo-pall-item-link {
    text-decoration: none;
    display: block;
    transition: transform 0.3s;
}

.moolo-pall-item-link:hover {
    transform: translateY(-5px);
}

.moolo-pall-thumb {
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
    background: #222;
    border-radius: 4px;
    margin-bottom: 15px;
    transition: background 0.4s;
}

.moolo-pall-cat {
    color: #ff6b00;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
}

.moolo-pall-item-title {
    color: #fff;
    margin: 0 0 5px 0;
    font-size: 16px;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    transition: color 0.4s;
}

.moolo-pall-item-year {
    color: rgba(255,255,255,0.45);
    font-size: 13px;
    transition: color 0.4s;
}

/* Sidebar */
.moolo-pall-sidebar {
    flex: 0 0 280px;
    min-width: 220px;
}

.moolo-pall-sidebar-title {
    text-transform: uppercase;
    margin-top: 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 15px;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    transition: color 0.4s, border-color 0.4s;
}

.moolo-pall-cats {
    margin-bottom: 30px;
}

.moolo-pall-cat-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 12px 0;
    transition: border-color 0.4s;
}

.moolo-pall-cat-name {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 13px;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    transition: color 0.4s;
}

.moolo-pall-cat-count {
    color: #888;
    transition: color 0.4s;
}

/* CTA */
.moolo-pall-cta {
    border: 1px solid rgba(227,27,35,0.35);
    padding: 30px 20px;
    text-align: left;
    background: rgba(227,27,35,0.03);
    transition: background 0.4s, border-color 0.4s;
}

.moolo-pall-cta-title {
    color: #ff6b00;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 22px;
    font-family: 'Oswald', sans-serif;
}

.moolo-pall-cta-desc {
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    transition: color 0.4s;
}

.moolo-pall-cta-btn {
    display: inline-block;
    background: #ff6b00;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
    transition: background 0.3s;
}

.moolo-pall-cta-btn:hover {
    background: #c81520;
}

/* ---- Light mode overrides: Projects All ---- */
body.moolo-light-mode .moolo-pall-header {
    border-bottom-color: rgba(0,0,0,0.12);
}

body.moolo-light-mode .moolo-pall-title {
    color: #111111;
}

body.moolo-light-mode .moolo-filter-btn-all {
    color: #333333;
    border-color: rgba(0,0,0,0.25);
    background: transparent;
}

body.moolo-light-mode .moolo-filter-btn-all.active {
    background: #ff6b00;
    color: #fff;
    border-color: transparent;
}

body.moolo-light-mode .moolo-pall-thumb {
    background: #d8d4cf;
}

body.moolo-light-mode .moolo-pall-item-title {
    color: #111111;
}

body.moolo-light-mode .moolo-pall-item-year {
    color: rgba(0,0,0,0.45);
}

body.moolo-light-mode .moolo-pall-sidebar-title {
    color: #111111;
    border-bottom-color: rgba(0,0,0,0.12);
}

body.moolo-light-mode .moolo-pall-cat-row {
    border-bottom-color: rgba(0,0,0,0.08);
}

body.moolo-light-mode .moolo-pall-cat-name {
    color: #333333;
}

body.moolo-light-mode .moolo-pall-cat-count {
    color: #999999;
}

body.moolo-light-mode .moolo-pall-cta {
    background: rgba(227,27,35,0.04);
    border-color: rgba(227,27,35,0.25);
}

body.moolo-light-mode .moolo-pall-cta-desc {
    color: #666666;
}

@media (max-width: 768px) {
    .moolo-pall-layout {
        flex-direction: column;
    }
    .moolo-pall-sidebar {
        flex: 0 0 100%;
    }
    .moolo-project-item-all {
        flex: 0 0 50%;
        max-width: 50%;
    }
}


.moolo-quote-mark { font-family: 'Great Vibes', cursive; font-size: 60px; color: #ffffff; line-height: 0.5; display: block; margin-bottom: 20px; }
body.moolo-light-mode .moolo-quote-mark { color: #111111; }





/* ============================
   SINGLE PROJECT PAGE
   ============================ */
.moolo-single-project { padding-bottom: 80px; }
.moolo-sp-hero { margin-bottom: 60px; text-align: center; }
.moolo-sp-back { display: inline-block; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 30px; border-bottom: 1px solid currentColor; padding-bottom: 5px; text-decoration: none; }
.moolo-sp-title { font-size: clamp(40px, 8vw, 80px); font-family: 'Oswald', sans-serif; text-transform: uppercase; line-height: 1.1; margin-bottom: 50px; }
.moolo-sp-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); padding: 30px 0; }
body.moolo-light-mode .moolo-sp-meta { border-color: rgba(0,0,0,0.1); }
.moolo-sp-meta-item { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.moolo-sp-meta-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.5; margin-bottom: 8px; }
.moolo-sp-meta-value { font-size: 16px; font-weight: bold; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1px; }
.moolo-sp-featured-image { margin-bottom: 80px; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.moolo-sp-featured-image img { width: 100%; height: auto; display: block; }
.moolo-sp-content { max-width: 800px; margin: 0 auto 60px; font-size: 18px; line-height: 1.8; }
.moolo-sp-tech { margin-top: 40px; text-align: center; }
.moolo-sp-tech h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; opacity: 0.6; }
.moolo-sp-case-study { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 60px; }
@media (min-width: 768px) { .moolo-sp-case-study { grid-template-columns: repeat(3, 1fr); } }
.moolo-sp-cs-block h3 { font-size: 20px; font-family: 'Oswald', sans-serif; text-transform: uppercase; margin-bottom: 15px; border-bottom: 2px solid var(--portfolio-primary, #ff6b00); display: inline-block; padding-bottom: 5px; }
.moolo-sp-navigation { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 40px; margin-top: 80px; }
body.moolo-light-mode .moolo-sp-navigation { border-color: rgba(0,0,0,0.1); }
.moolo-sp-navigation a { font-size: 24px; font-family: 'Oswald', sans-serif; text-transform: uppercase; text-decoration: none; transition: color 0.3s; }
.moolo-sp-navigation a:hover { color: var(--portfolio-primary, #ff6b00); }


.moolo-sp-description h1, .moolo-sp-description h2, .moolo-sp-description h3 { font-family: 'Oswald', sans-serif; margin-top: 40px; margin-bottom: 20px; text-transform: uppercase; }
.moolo-sp-description img { max-width: 100%; height: auto; border-radius: 8px; margin: 30px 0; }
.moolo-sp-video { margin: 60px auto; max-width: 1000px; }
.moolo-sp-gallery { margin: 60px auto; }


.moolo-sp-link { text-decoration: none; color: var(--portfolio-primary, #ff6b00) !important; }
.moolo-sp-link:hover { text-decoration: underline; }


body.moolo-light-mode .moolo-sp-meta-value { color: #111111; }
body.moolo-light-mode .moolo-sp-meta-label { color: #888888; }
body.moolo-light-mode .moolo-sp-back { color: #111111; }


/* Smooth Theme Transition */
.moolo-theme-transition-active, .moolo-theme-transition-active *, .moolo-theme-transition-active *::before, .moolo-theme-transition-active *::after { transition: background-color 0.6s cubic-bezier(0.22, 1, 0.36, 1), color 0.6s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1) !important; }



/* ========================================= */
/* CLEAN GLOBAL GRID & SECTION BACKGROUNDS   */
/* ========================================= */

/* 1. Global Grid Container (fixed in background) */
#moolo-global-grid {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 0;
    pointer-events: none;
    background-image: 
        radial-gradient(circle, rgba(255, 255, 255, 0.07) 1.5px, transparent 1.5px),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: center 0px, center 15px, center 15px;
    animation: mooloGridScrollUp 4s linear infinite;
}

body.moolo-light-mode #moolo-global-grid {
    background-image:
        radial-gradient(circle, rgba(0,0,0,0.10) 1.5px, transparent 1.5px),
        linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
    animation: mooloGridScrollUpLight 4s linear infinite;
}

@keyframes mooloGridScrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-30px); }
}

@keyframes mooloGridScrollUpLight {
    0% { transform: translateY(0); }
    100% { transform: translateY(-30px); }
}

/* 2. All Sections MUST be solid so they block the sticky Hero section */
body {
    background-color: #111111 !important;
}
body.moolo-light-mode {
    background-color: #f0ede8 !important;
}

.moolo-section {
    background-color: #111111 !important;
    position: relative;
    overflow: hidden; /* Contains oversized grid */
}

body.moolo-light-mode .moolo-section {
    background-color: #f0ede8 !important;
}

/* 3. The Grid is applied via a pseudo-element behind the content. 
      We do NOT use background-attachment: fixed to avoid GSAP pin bugs.
      JS will align the grids using --grid-offset-y. */
.moolo-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; 
    width: 100%; 
    height: calc(100% + 30px); /* Extra height for transform loop */
    z-index: 0;
    pointer-events: none;
    background-image: 
        radial-gradient(circle, rgba(255, 255, 255, 0.07) 1.5px, transparent 1.5px),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: center calc(0px - var(--grid-offset-y, 0px)), center calc(15px - var(--grid-offset-y, 0px)), center calc(15px - var(--grid-offset-y, 0px));
    animation: mooloGridScrollUp 4s linear infinite;
    will-change: transform;
}

body.moolo-light-mode .moolo-section::before {
    background-image:
        radial-gradient(circle, rgba(0,0,0,0.10) 1.5px, transparent 1.5px),
        linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
    animation: mooloGridScrollUpLight 4s linear infinite;
}

.moolo-container {
    position: relative;
    z-index: 1; /* Keep content above the grid */
}

/* 4. Exceptions: HERO and SCROLL-ZOOM sections */
.moolo-hero::before {
    display: none !important;
}

.moolo-scroll-zoom-section::before {
    display: none !important;
}

.moolo-scroll-zoom-section {
    padding: 0 !important;
    background-color: #000 !important;
}
body.moolo-light-mode .moolo-scroll-zoom-section {
    background-color: #fff !important;
}

/* Force Hero content to be visible immediately */
.moolo-hero .moolo-fade-up { opacity: 1 !important; transform: translateY(0) !important; }
body.moolo-light-mode .moolo-hero-bg-text {
    background: linear-gradient(to right, rgba(17, 17, 17, 0.04) 40%, rgba(255, 136, 0, 0.4) 45%, #ff8800 48%, #ffaa00 50%, #ff8800 52%, rgba(255, 136, 0, 0.4) 55%, rgba(17, 17, 17, 0.04) 60%);
    background-size: 220% 100%;
    background-position: 150% 0;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.08);
    opacity: 1 !important;
    filter: drop-shadow(0 0 20px rgba(255, 136, 0, 0.5));
}


/* ==========================================
   AJAX PROJECT LIGHTBOX
   ========================================== */
#moolo-ajax-lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 999999;
    align-items: center;
    justify-content: center;
}

.moolo-al-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(10, 10, 10, 0.95);
    opacity: 0;
    cursor: pointer;
}

.moolo-al-content-wrap {
    position: relative;
    width: 95%;
    max-width: 1400px;
    height: 90vh;
    background: #000;
    border: none;
    border-radius: 30px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    box-shadow: 0 40px 100px rgba(0,0,0,0.95);
    display: flex;
    flex-direction: column;
}

body.moolo-light-mode .moolo-al-overlay {
    background: rgba(255, 255, 255, 0.85);
}
body.moolo-light-mode .moolo-al-content-wrap {
    position: relative;
    width: 95%;
    max-width: 1400px;
    height: 90vh;
    background: #000;
    border: none;
    border-radius: 30px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    box-shadow: 0 40px 100px rgba(0,0,0,0.95);
    display: flex;
    flex-direction: column;
}

.moolo-al-loading {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.moolo-al-loading .moolo-spinner {
    width: 50px; height: 50px;
    border: 3px solid rgba(255,107,0,0.2);
    border-top-color: #ff6b00;
    border-radius: 50%;
    animation: mooloSpin 1s linear infinite;
}

@keyframes mooloSpin {
    100% { transform: rotate(360deg); }
}

.moolo-al-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}


body.moolo-light-mode 

.moolo-lightbox-title {
    margin: 0;
    font-size: 24px;
    letter-spacing: 1px;
}

.moolo-lightbox-close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
}
body.moolo-light-mode .moolo-lightbox-close-btn { color: #000; }
.moolo-lightbox-close-btn:hover {
    color: #ff6b00;
    transform: rotate(90deg);
}

.moolo-lightbox-body {
    display: flex;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

.moolo-lightbox-main {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    background: #000;
}

.moolo-lightbox-hero-img img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 40px;
}

.moolo-lightbox-content {
    font-size: 18px;
    line-height: 1.8;
}
.moolo-lightbox-content img { max-width: 100%; height: auto; border-radius: 8px; }

.moolo-lightbox-sidebar {
    width: 260px;
    background: #0a0a0a;
    border-left: none;
    padding: 50px 30px;
    overflow-y: auto;
}
body.moolo-light-mode .moolo-lightbox-sidebar {
    width: 260px;
    background: #0a0a0a;
    border-left: none;
    padding: 50px 30px;
    overflow-y: auto;
}



.moolo-meta-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 5px;
}

.moolo-meta-value {
    display: block;
    font-size: 18px;
    font-weight: 600;
}

.moolo-meta-link .moolo-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #ff6b00;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s;
}
.moolo-meta-link .moolo-btn:hover { background: #e66000; }

@media (max-width: 992px) {
    .moolo-lightbox-body {
        flex-direction: column;
        overflow-y: auto;
    }
    .moolo-lightbox-sidebar {
        width: 100%;
        border-top: 1px solid rgba(255,255,255,0.08);
        overflow-y: visible;
        padding: 40px 30px;
    }
    .moolo-lightbox-main {
        overflow-y: visible;
    }
}

/* ==========================================
   HIDE NATIVE SCROLLBARS GLOBALLY
   ========================================== */
::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}
html, body {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
/* Also apply to any scrollable elements like lightbox */
* {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
*::-webkit-scrollbar {
    display: none;
}
body.moolo-light-mode .moolo-final-expand-card h2 {
    color: #ffffff !important;
}










.moolo-thankyou-text {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 16px;
    color: #ff6b00;
    margin: 0;
    text-align: center;
    animation: moolo-thankyou-pulse 2s infinite alternate ease-in-out;
}

@keyframes moolo-thankyou-pulse {
    0% {
        opacity: 0.6;
        text-shadow: 0 0 0 rgba(255, 107, 0, 0);
        transform: scale(0.98);
    }
    100% {
        opacity: 1;
        text-shadow: 0 0 15px rgba(255, 107, 0, 0.5);
        transform: scale(1.02);
    }
}

.moolo-art-bg {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c33 100%);
    background-size: cover;
}
/* Final Card Styles */
.moolo-final-expand-card-bg {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: inset 0 0 40px rgba(255,107,0,0.5);
}

.moolo-final-expand-card-title {
    position: relative;
    z-index: 2;
    color: #fff !important;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-align: center;
    margin: 0;
    padding: 20px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.moolo-final-expand-card-title span {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.8;
    margin-top: 10px;
    letter-spacing: 0;
    text-transform: none;
}