/* ============================================
   Trallivabrik — Main Stylesheet
   Design System: "Glassmorphism Dark"
   Matches concept7.html pixel-for-pixel
   ============================================ */

/* --- CSS Variables --- */
:root {
    --bg: #0F0F1A;
    --glass: rgba(255,255,255,0.06);
    --glass-border: rgba(255,255,255,0.1);
    --neon-pink: #FF6EC7;
    --neon-blue: #00D4FF;
    --neon-green: #39FF88;
    --neon-gold: #FFB347;
    --text: #EEEEF5;
    --muted: #A0A0BE;
    --purple: #A855F7;
}

/* --- Reset --- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* --- Skip Link --- */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1.5rem;
    background: var(--neon-pink);
    color: white;
    border-radius: 0 0 8px 8px;
    z-index: 9999;
    font-size: 0.85rem;
    font-weight: 600;
    transition: top 0.3s;
}
.skip-link:focus { top: 0; }

/* ============================================
   NAVIGATION — Floating Pill
   ============================================ */
.site-nav {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    padding: 0.55rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    backdrop-filter: blur(30px) saturate(1.5);
    -webkit-backdrop-filter: blur(30px) saturate(1.5);
    background: rgba(15,15,26,0.6);
    border: 1px solid var(--glass-border);
    border-radius: 60px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
    max-width: 95vw;
}

.nav-brand {
    font-weight: 800;
    font-size: 1.1rem;
    white-space: nowrap;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-right: 1rem;
    border-right: 1px solid rgba(255,255,255,0.12);
    margin-right: 0.4rem;
}

.nav-logo-icon {
    width: 26px;
    height: 26px;
    border-radius: 5px;
    flex-shrink: 0;
}

.nav-logo-text {
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 0.15rem;
}

.nav-link {
    padding: 0.45rem 0.9rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(224,224,240,0.75);
    text-decoration: none;
    transition: all 0.3s;
}
.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.nav-cta {
    padding: 0.5rem 1.3rem;
    background: linear-gradient(135deg, var(--neon-pink), var(--purple));
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
    transition: all 0.3s;
    white-space: nowrap;
}
.nav-cta:hover {
    box-shadow: 0 0 20px rgba(255,110,199,0.4);
    transform: scale(1.05);
}

/* Hamburger */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 4px;
}
.nav-hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }

/* Mobile menu overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15,15,26,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99;
    align-items: center;
    justify-content: center;
}
.mobile-menu.open { display: flex; }
.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}
.mobile-link {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
}
.mobile-link:hover { color: var(--neon-pink); }
.mobile-cta { margin-top: 1rem; padding: 0.8rem 2rem; font-size: 0.9rem; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
    pointer-events: none;
}
.glow-1 { width:500px; height:500px; background:var(--neon-pink); top:-150px; left:-100px; }
.glow-2 { width:400px; height:400px; background:var(--neon-blue); bottom:-100px; right:-100px; }
.glow-3 { width:300px; height:300px; background:var(--neon-green); top:50%; left:60%; }

.hero-inner {
    z-index: 2;
    max-width: 800px;
    position: relative;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.7rem;
    color: var(--muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: var(--glass);
    margin-bottom: 2rem;
    animation: fadeUp 0.8s ease-out both;
}

.hero h1 {
    font-weight: 800;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.8s ease-out 0.15s both;
}
.hero h1 .glow-text {
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-blue), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-p {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 550px;
    margin: 0 auto;
    animation: fadeUp 0.8s ease-out 0.3s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    animation: fadeUp 0.8s ease-out 0.45s both;
}

.hero-btn-primary {
    padding: 0.9rem 2.2rem;
    background: linear-gradient(135deg, var(--neon-pink), var(--purple));
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.hero-btn-primary:hover {
    box-shadow: 0 0 30px rgba(255,110,199,0.4);
    transform: translateY(-2px);
}

.hero-btn-ghost {
    padding: 0.9rem 2.2rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.hero-btn-ghost:hover {
    border-color: var(--neon-blue);
    background: rgba(0,212,255,0.08);
}

/* ============================================
   MARQUEE STRIP
   ============================================ */
.marquee {
    padding: 1.2rem 0;
    overflow: hidden;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.marquee-track {
    display: flex;
    animation: marqueeScroll 22s linear infinite;
    width: max-content;
}
.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item {
    font-weight: 600;
    font-size: 0.82rem;
    padding: 0 1.5rem;
    white-space: nowrap;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s;
}
.marquee-item:hover { color: var(--text); }
.marquee-item em {
    font-style: normal;
    opacity: 0.3;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================
   SERVICE CARDS — Glass Grid
   ============================================ */
.services {
    padding: 4rem 2rem 6rem;
    max-width: 1100px;
    margin: 0 auto;
}

.services-title {
    text-align: center;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.services-sub {
    text-align: center;
    color: var(--muted);
    margin-bottom: 4rem;
}

.glass-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.glass-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2.2rem;
    min-height: 260px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    /* staggered animation */
    opacity: 0;
    animation: glassIn 0.6s ease-out forwards;
}
.glass-card:nth-child(1) { animation-delay: 0.2s; }
.glass-card:nth-child(2) { animation-delay: 0.4s; }
.glass-card:nth-child(3) { animation-delay: 0.6s; }
.glass-card:nth-child(4) { animation-delay: 0.8s; }

/* Background image overlay — dark tint so text stays readable */
.glass-card[style*="background-image"] {
    background-color: transparent;
}
.glass-card[style*="background-image"]::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,15,26,0.5) 0%, rgba(15,15,26,0.85) 100%);
    border-radius: 24px;
    z-index: 1;
}
.glass-card[style*="background-image"] > * {
    position: relative;
    z-index: 2;
}
/* Accent line must sit above the overlay */
.glass-card[style*="background-image"]::before {
    z-index: 3;
}
.glass-card[style*="background-image"] .gc-title {
    color: #fff;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.glass-card[style*="background-image"] .gc-desc {
    color: rgba(224,224,240,0.85);
}

/* Top accent line */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 24px 24px 0 0;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}
.gc-pink::before,
.glass-card:nth-child(1)::before { background: linear-gradient(90deg, var(--neon-pink), transparent); }
.gc-blue::before,
.glass-card:nth-child(2)::before { background: linear-gradient(90deg, var(--neon-blue), transparent); }
.gc-green::before,
.glass-card:nth-child(3)::before { background: linear-gradient(90deg, var(--neon-green), transparent); }
.gc-gold::before,
.glass-card:nth-child(4)::before { background: linear-gradient(90deg, var(--neon-gold), transparent); }

.glass-card:hover::before,
.glass-card.open::before { opacity: 1; }
.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.2);
}
.glass-card.open { border-color: rgba(255,255,255,0.2); }

.gc-emoji { font-size: 3rem; margin-bottom: 1.5rem; display: block; }
.gc-emoji:empty { display: none; }
.gc-title { font-weight: 700; font-size: 1.45rem; margin-bottom: 0.6rem; color: var(--text); }
.gc-desc { color: var(--muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1rem; }
.gc-hint { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }

.gc-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}
.glass-card.open .gc-detail { max-height: 500px; }
.gc-detail-inner {
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 1rem;
}

.gc-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.gc-tag {
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--glass-border);
    color: var(--text);
    transition: all 0.2s;
}
.gc-tag:hover { background: rgba(255,255,255,0.1); }
.gc-tag.pink { border-color: rgba(255,110,199,0.3); }
.gc-tag.pink:hover { background: rgba(255,110,199,0.1); }
.gc-tag.blue { border-color: rgba(0,212,255,0.3); }
.gc-tag.blue:hover { background: rgba(0,212,255,0.1); }
.gc-tag.green { border-color: rgba(57,255,136,0.3); }
.gc-tag.green:hover { background: rgba(57,255,136,0.1); }
.gc-tag.gold { border-color: rgba(255,179,71,0.3); }
.gc-tag.gold:hover { background: rgba(255,179,71,0.1); }

.gc-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--neon-pink);
    text-decoration: none;
    transition: color 0.3s;
}
.gc-link:hover { color: var(--neon-blue); }

/* Glass card as <a> link — no expand behavior */
a.glass-card {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
a.glass-card:hover { color: inherit; }

@keyframes glassIn {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    padding: 3.5rem 2rem;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}
.stats-inner {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat-num {
    font-weight: 800;
    font-size: 2.2rem;
    color: rgba(255,255,255,0.7);
}
.stat-label {
    font-size: 0.7rem;
    color: var(--muted);
    margin-top: 0.3rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    font-style: italic;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    padding: 6rem 2rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}
.cta h2 {
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}
.cta p {
    color: var(--muted);
    margin-bottom: 2.5rem;
}
.neon-btn {
    display: inline-block;
    padding: 1.1rem 3rem;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-blue));
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 60px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.neon-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(255,110,199,0.3);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    padding: 3rem 2rem 2rem;
    font-size: 0.8rem;
    color: var(--muted);
    border-top: 1px solid var(--glass-border);
}
.footer-cols {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 2rem;
    align-items: center;
}
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-start;
}
.footer-col:nth-child(2) {
    align-items: center;
}
.footer-col-logo {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: color 0.3s;
}
.footer-contact-link:hover { color: var(--neon-pink); }
.footer-svg-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.footer-contact-link:hover .footer-svg-icon { opacity: 1; }
.footer-icon-large {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    opacity: 0.6;
    transition: opacity 0.3s;
}
.footer-icon-large:hover { opacity: 1; }
.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    font-size: 0.75rem;
}
.footer-bottom a {
    color: var(--neon-pink);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-bottom a:hover { color: var(--neon-blue); }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s;
    opacity: 0;
    pointer-events: none;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}
.back-to-top:hover {
    background: rgba(255,110,199,0.2);
    border-color: var(--neon-pink);
    transform: translateY(-3px);
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
    padding: 0 0 1.2rem;
    max-width: 1100px;
    margin: 0 auto;
}
.breadcrumbs-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.75rem;
}
.breadcrumb-link {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s;
}
.breadcrumb-link:hover { color: var(--neon-pink); }
.breadcrumb-sep { color: var(--muted); opacity: 0.5; }
.breadcrumb-current { color: var(--text); font-weight: 500; }

/* ============================================
   PAGE CONTENT SECTIONS
   ============================================ */
.page-section {
    padding: 7rem 2rem 4rem;
}
.page-container {
    max-width: 1100px;
    margin: 0 auto;
}
.page-content-narrow {
    max-width: 800px;
}
.page-title {
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    margin-top: 1rem;
    text-align: center;
}
.page-intro {
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 3rem;
    line-height: 1.7;
}
.page-featured-image {
    margin-bottom: 2.5rem;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}
.page-featured-image img {
    width: 100%;
    display: block;
}

/* Content body — rich text styling */
.content-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
}
/* Force consistent fonts — strip TinyMCE inline font overrides */
.content-body * {
    font-family: inherit !important;
    line-height: inherit !important;
}
.content-body p,
.content-body h2,
.content-body h3,
.content-body h4,
.content-body li {
    font-size: inherit !important;
}
.content-body h2 {
    font-weight: 700;
    font-size: 1.6rem;
    margin: 2.5rem 0 1rem;
}
.content-body h3 {
    font-weight: 700;
    font-size: 1.3rem;
    margin: 2rem 0 0.8rem;
}
.content-body h4 {
    font-weight: 600;
    font-size: 1.1rem;
    margin: 1.5rem 0 0.6rem;
}
.content-body p {
    margin-bottom: 1.2rem;
}
.content-body a {
    color: var(--neon-pink);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.3s;
}
.content-body a:hover { color: var(--neon-blue); }
.content-body ul, .content-body ol {
    margin: 1rem 0 1.2rem 1.5rem;
}
.content-body li {
    margin-bottom: 0.5rem;
}
.content-body blockquote {
    border-left: 3px solid var(--neon-pink);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--glass);
    border-radius: 0 12px 12px 0;
    color: var(--muted);
    font-style: italic;
}
.content-body img {
    border-radius: 12px;
    margin: 1.5rem 0;
}
.content-body hr {
    border: none;
    border-top: 1px solid var(--glass-border);
    margin: 2rem 0;
}
.content-body code {
    background: var(--glass);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'Fira Code', monospace;
}
.content-body pre {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

/* ============================================
   WORKSHOP CARD GRID — Premium Interactive
   ============================================ */
.ws-section {
    margin: 3rem 0 2rem;
}
.ws-section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--neon-pink);
    margin-bottom: 0.6rem;
}
.ws-section-label::before {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-pink), transparent);
}
.ws-section-title {
    font-weight: 800;
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
}
.ws-section-sub {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

.workshop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

/* --- Card --- */
.ws-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    overflow: hidden;
    transition: all 0.45s cubic-bezier(0.4,0,0.2,1);
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.ws-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(255,255,255,0.22);
    box-shadow:
        0 16px 50px rgba(0,0,0,0.35),
        0 0 30px rgba(255,110,199,0.06);
}

/* Shine sweep on hover */
.ws-shine {
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255,255,255,0.04) 45%,
        rgba(255,255,255,0.08) 50%,
        rgba(255,255,255,0.04) 55%,
        transparent 60%
    );
    transition: left 0.6s ease;
    pointer-events: none;
    z-index: 5;
    border-radius: 22px;
}
.ws-card:hover .ws-shine {
    left: 100%;
}

/* Accent top line */
.ws-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 22px 22px 0 0;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 4;
}
.ws-card:hover::before { opacity: 1; }
.ws-card:nth-child(5n+1)::before { background: linear-gradient(90deg, var(--neon-pink), transparent); }
.ws-card:nth-child(5n+2)::before { background: linear-gradient(90deg, var(--neon-blue), transparent); }
.ws-card:nth-child(5n+3)::before { background: linear-gradient(90deg, var(--neon-green), transparent); }
.ws-card:nth-child(5n+4)::before { background: linear-gradient(90deg, var(--neon-gold), transparent); }
.ws-card:nth-child(5n+5)::before { background: linear-gradient(90deg, var(--purple), transparent); }

/* --- Image area --- */
.ws-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}
.ws-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.ws-card:hover .ws-image img {
    transform: scale(1.08);
}
.ws-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.ws-card:hover .ws-image-placeholder {
    transform: scale(1.08);
}

/* Gradient fade into card body */
.ws-image::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 70px;
    background: linear-gradient(transparent, rgba(15,15,26,0.95));
    pointer-events: none;
}

/* Floating emoji badge on images */
.ws-image-overlay {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    z-index: 3;
}
.ws-image-emoji {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(15,15,26,0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
    font-size: 1.2rem;
    transition: transform 0.3s;
}
.ws-card:hover .ws-image-emoji {
    transform: scale(1.1) rotate(-5deg);
}

/* --- Body --- */
.ws-body {
    padding: 1.1rem 1.4rem 1.4rem;
    position: relative;
}
.ws-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    color: var(--text);
    line-height: 1.3;
}
.ws-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
}
.ws-age {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--neon-pink);
    padding: 0.18rem 0.6rem;
    border: 1px solid rgba(255,110,199,0.3);
    border-radius: 50px;
    background: rgba(255,110,199,0.06);
}
.ws-duration {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    padding: 0.18rem 0.6rem;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
}

/* Description — clamped by default, full on expand */
.ws-desc {
    font-size: 0.84rem;
    line-height: 1.65;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.4s ease;
}
.ws-open .ws-desc {
    -webkit-line-clamp: unset;
    display: block;
}

/* Expand hint */
.ws-expand-hint {
    display: inline-block;
    margin-top: 0.6rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--neon-pink);
    opacity: 0.7;
    transition: all 0.3s;
}
.ws-card:hover .ws-expand-hint {
    opacity: 1;
}
.ws-open .ws-expand-hint {
    display: none;
}

/* Open state glow */
.ws-open {
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* --- Info boxes --- */
.ws-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}
.ws-info-box {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem 1.2rem;
    text-align: center;
    transition: all 0.3s;
}
.ws-info-box:hover {
    border-color: rgba(255,255,255,0.18);
    transform: translateY(-2px);
}
.ws-info-val {
    font-weight: 800;
    font-size: 1.5rem;
    color: rgba(255,255,255,0.7);
}
.ws-info-label {
    font-size: 0.7rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.3rem;
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .workshop-grid { grid-template-columns: 1fr; }
    .ws-info-grid { grid-template-columns: 1fr; }
    .ws-image { height: 180px; }
}



/* ============================================
   HUB INDEX GRID (Teenused overview)
   ============================================ */
.hub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.hub-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    overflow: hidden;
    display: block;
    background-size: cover;
    background-position: center;
}
/* Background image overlay for hub cards */
.hub-card[style*="background-image"]::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,15,26,0.55) 0%, rgba(15,15,26,0.85) 100%);
    border-radius: 24px;
    z-index: 1;
}
.hub-card[style*="background-image"] > * {
    position: relative;
    z-index: 2;
}
.hub-card[style*="background-image"]::before {
    z-index: 3;
}
.hub-card[style*="background-image"] .hub-card-title {
    color: #fff;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.hub-card[style*="background-image"] .hub-card-desc {
    color: rgba(224,224,240,0.85);
}
.hub-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity 0.3s;
}
.hub-card-pink::before { background: linear-gradient(90deg, var(--neon-pink), transparent); }
.hub-card-blue::before { background: linear-gradient(90deg, var(--neon-blue), transparent); }
.hub-card-green::before { background: linear-gradient(90deg, var(--neon-green), transparent); }
.hub-card-gold::before { background: linear-gradient(90deg, var(--neon-gold), transparent); }

.hub-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.2);
}
.hub-card:hover::before { opacity: 1; }
.hub-emoji { font-size: 2.5rem; margin-bottom: 1.2rem; display: block; }
.hub-card-title { font-weight: 700; font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--text); }
.hub-card-desc { color: var(--muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 1rem; }
.hub-card-arrow { color: var(--neon-pink); font-weight: 700; }

/* ============================================
   BLOG CARDS
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}
.blog-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    display: block;
}
.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.2);
}
.blog-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-body { padding: 1.5rem; }
.blog-card-date {
    font-size: 0.7rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.blog-card-title {
    font-weight: 700;
    font-size: 1.15rem;
    margin: 0.5rem 0;
    line-height: 1.4;
}
.blog-card-excerpt {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}
.blog-card-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--neon-pink);
}

/* Blog post page */
.blog-header { margin-bottom: 2rem; }
.blog-date {
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.blog-author {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 0.5rem;
}
.blog-author-label { font-weight: 600; }
.blog-back { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--glass-border); }
.blog-back-link {
    color: var(--neon-pink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}
.blog-back-link:hover { color: var(--neon-blue); }

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}
.pagination-link {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
}
.pagination-link:hover {
    color: var(--text);
    border-color: var(--neon-pink);
    background: rgba(255,110,199,0.1);
}
.pagination-current {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--neon-pink), var(--purple));
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section { margin-top: 3rem; }
.faq-title {
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}
.faq-group { margin-bottom: 2.5rem; }
.faq-group-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--neon-pink);
}
.faq-list { display: flex; flex-direction: column; gap: 0.5rem; }
.faq-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item:hover { border-color: rgba(255,255,255,0.2); }
.faq-question {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: none;
    border: none;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    text-align: left;
}
.faq-question:hover { color: var(--neon-pink); }
.faq-icon {
    font-size: 1.3rem;
    font-weight: 300;
    transition: transform 0.3s;
    flex-shrink: 0;
    color: var(--muted);
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer-inner {
    padding: 0 1.5rem 1.2rem;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
    display: block;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.contact-icon { font-size: 1.5rem; }
.contact-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 0.2rem;
}
.contact-item a {
    color: var(--neon-pink);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}
.contact-item a:hover { color: var(--neon-blue); }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    max-width: 75%;
    margin: 0 auto;
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
}
.required { color: var(--neon-pink); }

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem 1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--neon-pink);
    box-shadow: 0 0 15px rgba(255,110,199,0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg); color: var(--text); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit { align-self: flex-start; margin-top: 0.5rem; }

.form-message {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
}
.form-success {
    background: rgba(57,255,136,0.1);
    border: 1px solid rgba(57,255,136,0.3);
    color: var(--neon-green);
}
.form-error {
    background: rgba(255,110,199,0.1);
    border: 1px solid rgba(255,110,199,0.3);
    color: var(--neon-pink);
}

/* ============================================
   404 ERROR PAGE
   ============================================ */
.error-page { padding-top: 6rem; }
.error-emoji { font-size: 4rem; margin-bottom: 1.5rem; }

/* Empty state */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--muted);
    font-size: 1rem;
}
.empty-state a { color: var(--neon-pink); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
    /* Tighten nav on smaller desktops/tablets */
    .nav-link { padding: 0.35rem 0.6rem; font-size: 0.75rem; }
    .nav-logo-text { display: none; }
    .nav-brand { padding-right: 0; border-right: none; margin-right: 0; }
}

@media (max-width: 800px) {
    /* Nav */
    .site-nav { width: 92%; padding: 0.4rem 0.4rem 0.4rem 1rem; gap: 0.5rem; }
    .nav-brand { border-right: none; padding-right: 0; margin-right: 0; font-size: 0.95rem; }
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }

    /* Grids */
    .glass-grid,
    .hub-grid { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }

    /* Stats */
    .stats-inner { grid-template-columns: repeat(2, 1fr); }

    /* Blog grid */
    .blog-grid { grid-template-columns: 1fr; }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr; }
    .contact-form { max-width: 100%; }
    .form-row { grid-template-columns: 1fr; }

    /* Footer */
    .footer-cols { grid-template-columns: 1fr; text-align: center; }
    .footer-col { align-items: center; }
    .footer-contact-link { justify-content: center; }

    /* Breadcrumbs */
    .breadcrumbs { padding: 0 1rem 0.5rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: clamp(2rem, 10vw, 3rem); }
    .hero-p { font-size: 0.95rem; }
    .stats-inner { gap: 1rem; }
    .stat-num { font-size: 1.6rem; }
}

/* ============================================
   PRINT STYLESHEET
   ============================================ */
@media print {
    nav, .back-to-top, .marquee, .cta, footer,
    .hero-actions, .hero-badge, .glow { display: none !important; }
    body { background: white; color: black; }
    .hero { min-height: auto; padding: 2rem 0; }
    .hero h1 .glow-text { -webkit-text-fill-color: black; }
    .page-section { padding: 1rem 0; }
    a { color: black; text-decoration: underline; }
}
