/* style.css - Universal Zentik Theme (FIXED) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
    --bg-dark: #020617;
    --accent-cyan: #0ea5e9;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --nav-height: 80px;
    --card-bg: rgba(30, 41, 59, 0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }

body {
    background: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden; /* Prevent horizontal scroll only */
    /* CRITICAL FIX: We removed 'height: 100vh' so other pages can scroll again */
}

/* --- 1. GLOBAL NAVIGATION --- */
nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 50px; height: var(--nav-height); width: 100%;
    position: fixed; top: 0; z-index: 1000;
    background: rgba(2, 6, 23, 0.9); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
}

.nav-logo img { height: 40px; border-radius: 6px; }
.nav-links a {
    color: var(--text-muted); text-decoration: none; margin-left: 30px;
    font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
    transition: 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent-cyan); }
.cta-btn {
    border: 1px solid var(--accent-cyan); padding: 8px 20px; border-radius: 4px;
    color: var(--accent-cyan) !important;
}
.cta-btn:hover { background: var(--accent-cyan); color: #000 !important; }

/* --- 2. SUB-PAGE LAYOUTS (Gallery, AI, Contact) --- */
/* This class pushes content down so it's not hidden behind the navbar */
.page-container {
    padding: 140px 50px 80px; 
    max-width: 1200px; 
    margin: 0 auto; 
    min-height: 100vh;
}

.section-title {
    font-size: 2.5rem; text-align: center; margin-bottom: 60px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* Grids & Cards */
.grid-3 {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.card {
    background: var(--card-bg); border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px; overflow: hidden; transition: 0.3s;
    padding: 20px; /* Added padding inside cards */
}
.card:hover { transform: translateY(-5px); border-color: var(--accent-cyan); }

/* Contact Form Specifics */
.contact-item { display: flex; align-items: center; margin-bottom: 25px; }
.contact-item i { font-size: 1.5rem; color: var(--accent-cyan); margin-right: 20px; width: 30px; }

input, textarea, select {
    width: 100%; padding: 15px; margin-bottom: 20px;
    background: rgba(0,0,0,0.3); border: 1px solid #334155;
    color: white; border-radius: 6px; font-size: 1rem;
}
input:focus, textarea:focus { border-color: var(--accent-cyan); outline: none; }

/* --- 3. HOMEPAGE SPECIFIC (Split Screen) --- */
.split-container {
    display: flex; width: 100%; height: 100vh; position: relative;
    overflow: hidden; /* Only lock scroll on homepage */
    margin-top: 0;
}
.split {
    flex: 1; display: flex; align-items: center; justify-content: center;
    flex-direction: column; text-align: center; position: relative;
    transition: flex 0.6s ease;
}
.split.left { background: linear-gradient(135deg, #0f172a 0%, #020617 100%); border-right: 1px solid rgba(255,255,255,0.05); }
.split.right { background: linear-gradient(225deg, #1e1b4b 0%, #020617 100%); }
.split:hover { flex: 1.5; }

.split-content { max-width: 500px; padding: 40px; z-index: 10; }
.split-content h1 { font-size: 3.5rem; margin-bottom: 15px; color: white; }
.split-content p { color: #94a3b8; font-size: 1.1rem; margin-bottom: 30px; }

/* --- UPDATED LOGO (SQUARE) --- */
.center-logo-container {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    z-index: 100; pointer-events: none;
}
.center-logo {
    width: 140px; 
    height: auto;
    border-radius: 16px; /* Rounded Square */
    border: 1px solid rgba(14, 165, 233, 0.3);
    background: rgba(2, 6, 23, 0.95);
    padding: 12px;
    box-shadow: 0 0 40px rgba(14, 165, 233, 0.15);
    backdrop-filter: blur(10px);
}

/* --- 4. BUTTONS --- */
.btn-glass {
    display: inline-block; padding: 15px 40px; border-radius: 8px; 
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.2);
    color: white; text-decoration: none; font-weight: bold; letter-spacing: 2px;
    backdrop-filter: blur(5px); transition: 0.3s; text-transform: uppercase;
}
.btn-glass:hover { background: var(--accent-cyan); color: black; box-shadow: 0 0 30px var(--accent-cyan); }

/* --- 5. AI TERMINAL --- */
.terminal-card {
    background: #000; border: 1px solid #333; border-radius: 8px;
    padding: 0; overflow: hidden; margin-bottom: 50px;
}
.terminal-header {
    background: #111; padding: 15px 20px; display: flex; justify-content: space-between;
    border-bottom: 1px solid #333;
}
.voice-ui-body { padding: 40px; text-align: center; min-height: 300px; display: flex; flex-direction: column; justify-content: center; }
.terminal-footer { padding: 20px; background: #111; text-align: center; border-top: 1px solid #333; }
.tech-btn {
    background: transparent; border: 1px solid var(--accent-cyan); color: var(--accent-cyan);
    padding: 12px 30px; font-family: 'Courier New', monospace; cursor: pointer;
    text-transform: uppercase; letter-spacing: 2px; transition: 0.3s;
}
.tech-btn:hover { background: var(--accent-cyan); color: black; }