/* Self-Hosted Fonts */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/inter-v20-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/inter-v20-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/inter-v20-latin-700.woff2') format('woff2'); }
@font-face { font-family: 'Orbitron'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/orbitron-v35-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Orbitron'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/orbitron-v35-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Orbitron'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/orbitron-v35-latin-700.woff2') format('woff2'); }

:root { --menu-width: 200px; --accent-color: #00C9FF; --bg-main: #1a202c; --bg-article: #1f2937; --border-color: #4a5568; --text-color: #e2e8f0; --text-muted: #a8b5c7; --code-bg: #2d3748; }
html { height: 100%; width: 100%; overflow-x: hidden; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg-main); background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3e%3crect width='10' height='10' fill='%231a202c'/%3e%3cpath d='M0 0L10 10M10 0L0 10' stroke='%232d3748' stroke-width='0.2'/%3e%3c/svg%3e"); min-height: 100vh; margin: 0; padding: 0; box-sizing: border-box; color: var(--text-color); display: flex; flex-direction: row; }

/* Left Menu Template Styles */
.left-menu { width: var(--menu-width); min-width: var(--menu-width); height: 100vh; position: fixed; top: 0; left: 0; background: rgba(10, 10, 10, 0.9); box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3); padding: 0 20px; box-sizing: border-box; z-index: 1001; font-weight: 600; display: flex; flex-direction: column; justify-content: center; overflow-y: auto; }
.left-menu ul { list-style: none; padding: 0; margin: 0; }
.left-menu li { margin-bottom: 20px; }
.left-menu a { font-family: 'Orbitron', sans-serif; font-size: 24px; font-weight: 400; color: #00C9FF; text-decoration: none; text-shadow: 0 0 2px #00C9FF, 0 0 3px rgba(0, 201, 255, 0.6); display: block; padding: 8px 0; transition: color 0.3s ease, text-shadow 0.3s ease, background-color 0.3s ease; }
.left-menu a:hover, .left-menu a:focus  { color: #fff; text-shadow: 0 0 6px #fff, 0 0 8px rgba(255, 255, 255, 0.5); outline: none; }
.left-menu a.active-page-link { color: #fff; text-shadow: 0 0 8px #fff, 0 0 12px rgba(255, 255, 255, 0.7); background-color: rgba(0, 190, 255, 0.1); border-radius: 5px; padding-left: 10px; padding-right: 10px; }

.main-content-wrapper { flex-grow: 1; padding: 40px; display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 100vh; box-sizing: border-box; width: calc(100% - var(--menu-width)); margin-left: var(--menu-width); }
main { width: 100%; max-width: 1100px; padding: 0 20px; box-sizing: border-box; }
.breadcrumbs { margin-bottom: 2rem; color: var(--text-muted); }
.breadcrumbs ol { display: flex; list-style: none; padding: 0; margin: 0; font-size: 0.9rem; }
.breadcrumbs li:not(:last-child)::after { content: '>'; margin: 0 0.75rem; }
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent-color); }

/* THIS IS THE FIX: Apply grid layout to the wrapper */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: center; }

.contact-container { background-color: #2d3748; border-radius: 1.5rem; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.2); padding: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.contact-container h1 { font-family: 'Orbitron', sans-serif; font-size: 2.25rem; font-weight: 700; color: #ffffff; margin-bottom: 1rem; text-align: center; }
.contact-container p.intro-text { font-size: 1rem; color: #cbd5e0; line-height: 1.6; margin: 0 0 1.5rem 0; text-align: center; }
.form-group { display: flex; flex-direction: column; gap: 0.75rem; text-align: left; }
label { font-size: 1rem; font-weight: 600; color: #cbd5e0; }
input[type="text"], input[type="email"], textarea { width: 100%; padding: 0.75rem; border-radius: 0.5rem; border: 1px solid #4a5568; background-color: #4a5568; color: #ffffff; font-size: 1rem; box-sizing: border-box; transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out; }
textarea { resize: vertical; min-height: 120px; }
input[type="text"]:focus, input[type="email"]:focus, textarea:focus { outline: none; border-color: #00C9FF; box-shadow: 0 0 0 3px rgba(0, 201, 255, 0.5); }
.submit-button { background-color: #00C9FF; color: #050505; font-size: 1.25rem; font-weight: 700; padding: 0.75rem 1.5rem; border-radius: 0.75rem; cursor: pointer; border: none; transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out; width: 100%; margin-top: 1rem; font-family: 'Orbitron', sans-serif; }
.submit-button:hover, .submit-button:focus { background-color: #00A3D9; transform: translateY(-2px); outline: none; }
.privacy-note { font-size: 0.8rem; color: var(--text-muted); text-align: center; margin: 1rem 0 0 0; display: flex; align-items: center; justify-content: center; gap: 8px; }
.error-message { color: #ef4444; font-size: 0.9rem; margin-top: 0.5rem; text-align: center; }
.honeypot-field { opacity: 0; position: absolute; top: 0; left: -5000px; }

.about-section { border-radius: 1.5rem; position: relative; overflow: hidden; align-self: stretch; display: flex; align-items: flex-end; }
.about-section .lcp-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.about-section::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(to top, rgba(26, 32, 44, 0.9) 0%, rgba(26, 32, 44, 0.2) 100%); z-index: 1; }
.about-content { position: relative; z-index: 2; color: #fff; text-shadow: 1px 1px 3px rgba(0,0,0,0.7); padding: 2rem; }
.about-content h2 { font-family: 'Orbitron', sans-serif; font-size: 2rem; margin: 0 0 0.5rem 0; }
.about-content p { font-size: 1.1rem; line-height: 1.6; margin: 0; }

.message-box { position: fixed; bottom: 20px; right: 20px; background-color: rgba(0, 201, 255, 0.9); color: #050505; padding: 15px 25px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); z-index: 1000; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; font-weight: 600; }
.message-box.show { opacity: 1; visibility: visible; }
.mobile-header, .menu-overlay { display: none; }
.hidden { display: none !important; }

@media (max-width: 992px) {
    :root { --menu-width: 250px; } 
    body { flex-direction: column; padding: 0; } 
    body.menu-open { overflow: hidden; }
    .main-content-wrapper { padding: 80px 20px 40px; width: 100%; box-sizing: border-box; margin-left: 0; }
    .mobile-header { display: flex; align-items: center; justify-content: space-between; padding: 0 20px; height: 60px; background-color: #1a202c; border-bottom: 1px solid #4a5568; position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; box-sizing: border-box; }
    .hamburger-btn { background: none; border: none; padding: 10px; cursor: pointer; z-index: 1002; } 
    .hamburger-btn .line { display: block; width: 24px; height: 3px; background-color: #e2e8f0; margin: 5px 0; transition: transform 0.3s ease, opacity 0.3s ease; }
    .mobile-title { font-family: 'Orbitron', sans-serif; font-size: 1.2rem; }
    .left-menu { transform: translateX(-100%); transition: transform 0.3s ease-in-out; height: 100vh; width: var(--menu-width); min-width: var(--menu-width); } 
    .left-menu.menu-open { transform: translateX(0); }
    .menu-overlay { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1000; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; } 
    .menu-overlay.menu-open { opacity: 1; pointer-events: auto; }
    main, .contact-grid { grid-template-columns: 1fr; padding: 0; }
    .about-section { min-height: 300px; } 
    .contact-container h1 { font-size: 1.8rem; }
}