/* =========================================
   KEYAIAN NOLASCO TECHNOLOGIES - CORE CSS
   ========================================= */

:root {
    --bg-color: #030303;
    --text-primary: #f4f4f4;
    --text-muted: #555555;
    --accent: #ffffff;
    --border-color: #1a1a1a;
    --font-stack: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-mono: 'Courier New', Courier, monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-stack);
    width: 100vw;
    height: 100vh;
    overflow: hidden; /* Absolute Viewport Lock */
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover, a.active {
    color: var(--accent);
}

/* --- HEADER --- */
header {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.brand {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

nav {
    display: flex;
    gap: 30px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* --- MAIN CONTENT AREA --- */
main {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
}

/* --- FOOTER --- */
footer {
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    border-top: 1px solid var(--border-color);
    font-size: 0.7rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.footer-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.footer-left, .footer-right {
    display: flex;
    gap: 20px;
}

/* --- CAROUSEL SYSTEM --- */
.carousel-container {
    display: flex;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}

.carousel-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.carousel-slide {
    min-width: 100vw;
    height: 100%;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.slide-content {
    max-width: 800px;
    width: 100%;
}

.badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 4px 8px;
    margin-bottom: 20px;
    display: inline-block;
}

.slide-title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.slide-abstract {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
    text-transform: none;
}

/* --- INTERACTION PROTOCOLS --- */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 3rem;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
    padding: 0 20px;
}

.nav-btn:hover {
    color: var(--accent);
}

.prev { left: 10px; }
.next { right: 10px; }

.access-button {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 30px;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.access-button:hover {
    background: var(--accent);
    color: var(--bg-color);
}

/* --- STATIC PAGES (Vision, Inquiries, Legal) --- */
.vision-container, .inquiries-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 20vw;
    text-align: center;
}
.vision-text { font-size: 1.2rem; line-height: 1.6; text-transform: none; color: var(--text-muted); }
.vision-text strong { color: var(--accent); }

form { display: flex; flex-direction: column; width: 400px; gap: 20px; }
input, textarea { background: transparent; border: none; border-bottom: 1px solid var(--text-muted); color: var(--accent); padding: 10px 0; font-family: var(--font-mono); outline: none; }
input:focus, textarea:focus { border-bottom: 1px solid var(--accent); }
button[type="submit"] { background: var(--accent); color: var(--bg-color); border: none; padding: 15px; font-family: var(--font-stack); font-weight: bold; cursor: pointer; text-transform: uppercase; letter-spacing: 1px; margin-top: 20px; }

.legal-container { max-width: 800px; margin: 0 auto; padding: 60px 40px; height: 100%; overflow-y: auto; text-transform: none; color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.legal-container h1, .legal-container h2 { color: var(--accent); text-transform: uppercase; margin-top: 30px; margin-bottom: 15px; font-family: var(--font-stack); }
.legal-container a { text-decoration: underline; }

/* Add to your existing nav-btn styles */
.nav-btn.hidden {
    opacity: 0;
    pointer-events: none;
}
