/* WORK PAGE STYLES */

/* Shared Elements */
.orange-text { color: #ff5a00; text-shadow: 0 0 30px rgba(255,90,0,0.4); }
.section-heading { font-family: 'Teko', sans-serif; font-size: clamp(40px, 6vw, 60px); font-weight: 400; text-transform: uppercase; color: #fff; line-height: 1; }
.eyebrow { font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 2px; color: #ff5a00; margin-bottom: 15px; text-transform: uppercase; }

/* Hero */
.work-hero { padding: 60px 0 60px 0; position: relative; overflow: hidden; min-height: 75vh; display: flex; align-items: center; }
.work-ambient-glow { position: absolute; top: -30%; right: -20%; width: 70vw; height: 70vw; background: radial-gradient(circle, rgba(128,0,32,0.15) 0%, rgba(255,90,0,0.05) 40%, rgba(0,0,0,0) 70%); border-radius: 50%; z-index: -1; animation: glow-shift 10s infinite alternate ease-in-out; }
@keyframes glow-shift { 0% { transform: translateX(0) scale(1); } 100% { transform: translateX(-5vw) scale(1.1); } }
.work-hero-content { max-width: 800px; }
.work-hero-sub { font-family: 'Outfit', sans-serif; font-size: clamp(16px, 2vw, 18px); color: rgba(255,255,255,0.7); margin: 30px 0 40px 0; line-height: 1.6; }
.work-cat-nav { display: flex; gap: 15px; flex-wrap: wrap; }
.cat-pill { padding: 8px 16px; border: 1px solid rgba(255,255,255,0.1); border-radius: 30px; font-family: 'Outfit', sans-serif; font-size: 13px; color: rgba(255,255,255,0.6); cursor: pointer; transition: 0.3s; }
.cat-pill:hover, .cat-pill.active { background: #fff; color: #000; border-color: #fff; }

/* Featured Work */
.featured-work { padding: 60px 0; }
.featured-layout { display: flex; gap: 50px; align-items: center; background: rgba(20,20,20,0.6); border: 1px solid rgba(255,255,255,0.05); border-radius: 24px; padding: 50px; backdrop-filter: blur(10px); }
.fw-left { flex: 1; }
.fw-meta { margin-bottom: 20px; display: flex; gap: 15px; font-family: 'Outfit', sans-serif; font-size: 12px; }
.fw-badge { color: #ff5a00; font-weight: 500; }
.fw-category { color: rgba(255,255,255,0.5); }
.fw-title { font-family: 'Teko', sans-serif; font-size: 50px; font-weight: 400; color: #fff; margin-bottom: 15px; text-transform: uppercase; line-height: 1; }
.fw-desc { font-family: 'Outfit', sans-serif; font-size: 15px; color: rgba(255,255,255,0.6); margin-bottom: 25px; line-height: 1.6; }
.fw-tech { display: flex; gap: 10px; color: rgba(255,255,255,0.4); font-family: 'Outfit', sans-serif; font-size: 13px; margin-bottom: 40px; flex-wrap: wrap; }
.fw-right { flex: 1.5; }
.fw-browser { background: #111; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.browser-dots { padding: 15px; display: flex; gap: 6px; background: #0a0a0a; border-bottom: 1px solid rgba(255,255,255,0.05); }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; background: #333; }
.fw-browser img { width: 100%; display: block; object-fit: cover; max-height: 500px; object-position: top; }

/* Bento Websites */
.work-bento-section { padding: 100px 0; }
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 20px; margin-top: 40px; }
.bento-card { position: relative; border-radius: 16px; overflow: hidden; background: #111; border: 1px solid rgba(255,255,255,0.05); group; transition: transform 0.3s; }
.bento-card:hover { transform: translateY(-5px); border-color: rgba(255,90,0,0.3); }
.bento-large { grid-column: span 2; grid-row: span 2; }
.bento-tall { grid-column: span 1; grid-row: span 2; }
.bento-small { grid-column: span 1; grid-row: span 1; }
.bento-wide { grid-column: span 2; grid-row: span 1; }
.bento-img { width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0.7; transition: 0.5s; }
.bento-card:hover .bento-img { opacity: 0.4; transform: scale(1.05); }
.bento-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); display: flex; flex-direction: column; justify-content: flex-end; }
.bento-meta { font-family: 'Outfit', sans-serif; font-size: 11px; color: #ff5a00; margin-bottom: 8px; text-transform: uppercase; }
.bento-title { font-family: 'Teko', sans-serif; font-size: 28px; font-weight: 400; color: #fff; margin-bottom: 10px; }
.bento-link { font-family: 'Outfit', sans-serif; font-size: 12px; color: #fff; text-decoration: none; display: inline-flex; align-items: center; opacity: 0; transform: translateY(10px); transition: 0.3s; }
.bento-card:hover .bento-link { opacity: 1; transform: translateY(0); }

/* Capability Demos */
.work-capability { padding: 100px 0; background: #030303; border-top: 1px solid rgba(255,255,255,0.02); }
.cap-block { display: flex; align-items: center; gap: 60px; }
.cap-block.reverse { flex-direction: row-reverse; }
.cap-text { flex: 1; }
.cap-desc { font-family: 'Outfit', sans-serif; font-size: 16px; color: rgba(255,255,255,0.6); margin: 25px 0; line-height: 1.6; }
.cap-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.cap-list li { background: rgba(255,255,255,0.03); padding: 8px 16px; border-radius: 8px; font-family: 'Outfit', sans-serif; font-size: 13px; color: #aaa; border: 1px solid rgba(255,255,255,0.05); }
.cap-visual { flex: 1; }
.perf-dashboard { background: #0a0a0a; border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 40px; box-shadow: inset 0 0 50px rgba(0,0,0,0.8); }
.pd-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 40px; border-bottom: 1px dashed rgba(255,255,255,0.1); padding-bottom: 20px; }
.pd-score { font-family: 'Teko', sans-serif; font-size: 60px; color: #ff5a00; line-height: 1; }
.pd-score span { font-size: 20px; color: #444; }
.pd-label { font-family: 'Outfit', sans-serif; font-size: 12px; color: #666; letter-spacing: 1px; }
.pd-metric { display: flex; align-items: center; margin-bottom: 20px; gap: 20px; }
.pd-metric span { width: 40px; font-family: 'Outfit', sans-serif; font-size: 14px; color: #aaa; font-weight: 500; }
.pd-bar { flex: 1; height: 6px; background: #222; border-radius: 3px; overflow: hidden; position: relative; }
.pd-bar .fill { height: 100%; background: #ff5a00; position: absolute; left: 0; top: 0; animation: fill-bar 2s ease-out forwards; }
@keyframes fill-bar { 0% { transform: scaleX(0); transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }
.auto-flow { display: flex; flex-direction: column; align-items: center; gap: 15px; }
.af-node { width: 200px; padding: 20px; text-align: center; background: #111; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; font-family: 'Outfit', sans-serif; font-size: 14px; color: #aaa; letter-spacing: 1px; }
.af-node.highlight { background: rgba(255,90,0,0.1); border-color: #ff5a00; color: #fff; box-shadow: 0 0 20px rgba(255,90,0,0.2); }
.af-arrow { font-size: 24px; color: #ff5a00; animation: bounce-down 1.5s infinite; }
@keyframes bounce-down { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* AI Lab */
.work-ai-lab { padding: 100px 0; background: #080303; }
.ail-header { text-align: center; max-width: 600px; margin: 0 auto 60px auto; }
.ail-desc { font-family: 'Outfit', sans-serif; font-size: 16px; color: rgba(255,255,255,0.6); margin-top: 20px; line-height: 1.6; }
.ail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.ail-card { background: #111; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); }
.ail-img { width: 100%; padding-top: 100%; background-size: cover; background-position: center; transition: 0.5s; }
.ail-card:hover .ail-img { transform: scale(1.05); }
.ail-meta { padding: 20px; text-align: center; font-family: 'Outfit', sans-serif; font-size: 12px; color: #ff5a00; letter-spacing: 1px; background: rgba(0,0,0,0.8); position: relative; z-index: 2; }

/* Personal Project */
.work-personal { padding: 100px 0; border-top: 1px solid rgba(255,255,255,0.05); }
.personal-block { background: linear-gradient(135deg, rgba(128,0,32,0.1), rgba(255,90,0,0.05)); border: 1px solid rgba(255,90,0,0.2); border-radius: 24px; padding: 60px; display: flex; align-items: center; gap: 50px; }
.pb-left { flex: 1; }
.pb-desc { font-family: 'Outfit', sans-serif; font-size: 16px; color: rgba(255,255,255,0.7); margin-top: 20px; line-height: 1.6; }
.pb-right { flex: 1; }
.pb-features { display: flex; flex-wrap: wrap; gap: 10px; }
.pb-features span { padding: 10px 20px; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); border-radius: 30px; font-family: 'Outfit', sans-serif; font-size: 13px; color: #ddd; }

/* Final CTA */
.work-final-cta { padding: 120px 0; text-align: center; }
.wfc-content { max-width: 600px; margin: 0 auto; }
.wfc-desc { font-family: 'Outfit', sans-serif; font-size: 18px; color: rgba(255,255,255,0.6); margin: 30px 0 40px 0; line-height: 1.6; }
.wfc-btns { display: flex; justify-content: center; gap: 20px; align-items: center; }

/* Responsive */
@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 300px; }
    .bento-large, .bento-tall, .bento-small, .bento-wide { grid-column: span 1; grid-row: span 1; }
    .cap-block { flex-direction: column; text-align: center; }
    .cap-block.reverse { flex-direction: column; }
    .cap-list { justify-content: center; }
    .personal-block { flex-direction: column; text-align: center; }
    .pb-features { justify-content: center; }
}
@media (max-width: 768px) {
    .work-hero { padding: 20px 0 40px 0; min-height: auto; }

    .featured-layout { flex-direction: column; padding: 30px; }
    .fw-right { width: 100%; }
    .main-heading { font-size: 50px; }
    .wfc-btns { flex-direction: column; }
}
@media (max-width: 480px) {
    .bento-grid { grid-template-columns: 1fr; }
    .main-heading { font-size: 40px; }
    .section-heading { font-size: 36px; }
    .fw-title { font-size: 36px; }
}
