/* 
  SIGNPRO STUDIO V8 - ULTIMATE ROBUST PRODUCTION MASTER
  High-Contrast / Architectural Precision / Professional B2B
*/

:root {
    --sp-primary: #FF6B00;
    --sp-primary-hover: #E66000;
    --sp-primary-glow: rgba(255,107,0,0.2);
    --sp-bg: #FFFFFF;
    --sp-text: #000000;
    --sp-text-muted: #555566;
    --sp-font-main: 'Inter', sans-serif;
    --sp-font-accent: 'Outfit', sans-serif;
    --sp-sidebar-width: 340px;
    --sp-border: rgba(0,0,0,0.08);
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Global Setup --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    background: var(--sp-bg); 
    color: var(--sp-text); 
    font-family: var(--sp-font-main); 
    overflow-x: hidden;
    line-height: 1.6;
}

/* Custom Laser Cursor (Only for Desktop) */
@media (min-width: 1025px) {
    .laser-cursor { width: 30px; height: 30px; border: 1px solid var(--sp-primary); border-radius: 50%; position: fixed; pointer-events: none; z-index: 10001; transition: transform 0.1s ease-out; }
    .laser-dot { width: 4px; height: 4px; background: var(--sp-primary); border-radius: 50%; position: fixed; pointer-events: none; z-index: 10002; box-shadow: 0 0 10px var(--sp-primary); }
}

/* Force Typography Weights */
h1, h2, h3, h4, .brand-text-v8, .section-label { font-family: var(--sp-font-accent) !important; font-weight: 900; }
h1 { font-size: clamp(2.5rem, 10vw, 5.5rem); }
h2 { font-size: clamp(2rem, 8vw, 4rem); }
p, a, span, label, input, select, textarea, button { font-family: var(--sp-font-main) !important; }

/* --- Preloader --- */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #fff; z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    transition: transform 1s cubic-bezier(0.85, 0, 0.15, 1);
}
#preloader.loaded { transform: translateY(-100%); }
.loader-logo-v8 { width: 320px; margin-bottom: 50px; }
.fill { height: 100%; background: var(--sp-primary); width: 0%; transition: width 0.1s linear; }

/* --- Sidebar --- */
.sidebar-v8 {
    position: fixed; left: 0; top: 0; width: var(--sp-sidebar-width); height: 100vh;
    background: #fff; border-right: 1px solid var(--sp-border);
    z-index: 5000; padding: 60px 40px; display: flex; flex-direction: column;
    transition: var(--transition);
}
.sidebar-logo { width: 280px; margin-bottom: 50px; }
.nav-v8 { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; }
.nav-link {
    text-decoration: none; color: var(--sp-text-muted); font-size: 0.75rem; font-weight: 900;
    letter-spacing: 4px; text-transform: uppercase; transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--sp-primary); transform: translateX(10px); }

.sidebar-contact { margin-top: auto; border-top: 1px solid var(--sp-border); padding-top: 30px; }
.c-item { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; font-size: 0.9rem; font-weight: 800; }
.c-item i { width: 25px; text-align: center; }
.social-v8 { display: flex; gap: 20px; margin-top: 20px; }
.social-v8 i { font-size: 1.5rem; color: var(--sp-primary) !important; transition: var(--transition); }
.social-v8 i:hover { transform: translateY(-5px); }

/* --- Viewport & Hero --- */
.viewport-v8 { margin-left: var(--sp-sidebar-width); }

.hero-v8 { height: 100vh; background: #000; position: relative; overflow: hidden; display: flex; align-items: center; padding: 0 10%; }
.hero-slider .slide { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; 
    opacity: 0; transition: opacity 2s ease-in-out, transform 10s linear; 
}
.slide.active { opacity: 0.65; transform: scale(1.1); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, transparent 100%); z-index: 2; }
.hero-body { position: relative; z-index: 10; max-width: 850px; color: #fff; }
.section-label { font-size: 0.75rem; letter-spacing: 6px; color: var(--sp-primary); margin-bottom: 30px; display: block; }
h1 { line-height: 0.95; letter-spacing: -3px; margin-bottom: 40px; }
h1 span { color: var(--sp-primary); }

.btn-p { background: var(--sp-primary); color: #fff; padding: 22px 45px; text-decoration: none; font-weight: 900; letter-spacing: 2px; font-size: 0.85rem; display: inline-block; transition: var(--transition); }
.btn-s { border: 1px solid rgba(255,255,255,0.4); color: #fff; padding: 22px 45px; text-decoration: none; font-weight: 900; letter-spacing: 2px; font-size: 0.85rem; display: inline-block; margin-left: 20px; transition: var(--transition); }
.btn-p:hover { background: #fff; color: #000; }

/* --- Content Sections --- */
section { padding: 160px 10%; border-bottom: 1px solid var(--sp-border); }
h2 { line-height: 1; letter-spacing: -3px; margin-bottom: 70px; }
h2 span { color: var(--sp-primary); }

.grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.project-img-wrapper { 
    height: 400px; 
    overflow: hidden; 
    filter: grayscale(100%); 
    transition: var(--transition); 
    border-bottom: 2px solid transparent;
}
.p-frame:hover .project-img-wrapper { 
    filter: grayscale(0%); 
    border-bottom: 2px solid var(--sp-primary);
}
.p-frame { 
    background: #fff; 
    border: 1px solid var(--sp-border); 
    transition: var(--transition); 
    overflow: hidden;
}
.p-frame:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(255,107,0,0.1); 
    border-color: var(--sp-primary);
}
.p-frame img, .p-frame [style*="background-image"] {
    filter: grayscale(100%);
    transition: var(--transition);
}
.p-frame:hover img, .p-frame:hover [style*="background-image"] {
    filter: grayscale(0%);
}

/* --- Briefing Box --- */
.briefing-box { padding: 80px; border: 1px solid var(--sp-border); background: #fff; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.f-col { display: flex; flex-direction: column; gap: 25px; }
input, select, textarea { 
    width: 100%; padding: 20px; border: 1px solid var(--sp-border); background: #fff; 
    font-size: 1rem; color: var(--sp-text); transition: var(--transition); border-radius: 0;
}
input:focus, select:focus, textarea:focus { border-color: var(--sp-primary); outline: none; background: #fafafa; }
label { font-size: 0.75rem; letter-spacing: 3px; font-weight: 900; color: var(--sp-primary); margin-bottom: 12px; display: block; text-transform: uppercase; }
.btn-submit { width: 100%; padding: 25px; background: #000; color: #fff; border: none; font-weight: 900; letter-spacing: 5px; cursor: pointer; transition: var(--transition); }
.btn-submit:hover { background: var(--sp-primary); }

/* --- Footer --- */
.footer-v8 { margin-left: var(--sp-sidebar-width); padding: 80px 10%; background: #000; color: #fff; }
.footer-v8 a { color: #888; text-decoration: none; font-size: 0.75rem; font-weight: 900; letter-spacing: 2px; }
.footer-v8 a:hover { color: var(--sp-primary); }

/* Mobile UI & Responsiveness */
.mobile-header-v8 {
    position: fixed; top: 0; left: 0; width: 100%; height: 70px;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--sp-border);
    display: none; align-items: center; justify-content: space-between;
    padding: 0 25px; z-index: 6000;
}

@media (max-width: 1024px) {
    .mobile-header-v8 { 
        display: flex; 
        background: rgba(255,255,255,0.98); 
        box-shadow: 0 4px 30px rgba(0,0,0,0.05);
    }
    .sidebar-v8 { 
        transform: translateX(-100%); 
        width: 320px; 
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(15px);
        box-shadow: 25px 0 80px rgba(0,0,0,0.1); 
    }
    .sidebar-v8.active { transform: translateX(0); }
    .viewport-v8 { margin-left: 0; padding-top: 70px; }
    .footer-v8 { margin-left: 0; padding: 60px 30px; text-align: center; }
    .grid-container { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; padding: 20px; }
    .briefing-box { padding: 40px 20px; border-radius: 0; }
    .f-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .hero-v8 { padding: 80px 25px; height: auto; min-height: 75vh; display: flex; align-items: center; justify-content: center; }
    .hero-body { text-align: center; margin-top: 0; }
    .btn-p, .btn-s { width: 100%; margin-left: 0 !important; margin-bottom: 15px; text-align: center; padding: 20px; font-size: 0.9rem; border-radius: 8px; }
    h1 { font-size: 2.5rem; line-height: 1.1; letter-spacing: -2px; margin-bottom: 25px; }
    h2 { font-size: 1.8rem; letter-spacing: -1px; margin-bottom: 30px; }
    section { padding: 60px 20px; }
    .project-card { border-radius: 12px; overflow: hidden; }
}

@media (max-width: 480px) {
    .project-img-wrapper { height: 300px; }
    .loader-logo-v8 { width: 80%; }
}
