/*
 * BLACK VEDA Terminal Theme
 * A modern, sleek terminal-inspired theme with red accents and smooth curves
 */

/* Base Styles */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;700&display=swap');

body {
    font-family: 'JetBrains Mono', 'Consolas', 'Courier New', monospace;
    background-color: #0a0a0a;
    background-image: radial-gradient(#1a1a1a 1px, transparent 1px);
    background-size: 30px 30px;
    color: #f4f4f4;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Consolas', 'Courier New', monospace;
    color: #ff3300;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2 {
    color: #ff3300;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #ff3300;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #ff6347;
    text-decoration: none;
}

/* Header Styles */
.terminal-header {
    background: linear-gradient(180deg, #121212, #0a0a0a);
    padding: 1rem 0;
    border-bottom: 2px solid #ff3300;
    box-shadow: 0 0 20px rgba(255, 51, 0, 0.3);
    margin-bottom: 2rem;
    position: relative;
}

.terminal-header:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 51, 0, 0.7), transparent);
    filter: blur(1px);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff3300 !important;
    letter-spacing: 2px;
}

.nav-link {
    color: #f4f4f4 !important;
    margin: 0 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #ff3300 !important;
}

/* Navbar Toggle Button */
.navbar-toggler {
    border: 1px solid #ff3300;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 51, 0, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Terminal Window */
.terminal-section {
    margin-bottom: 3rem;
    perspective: 1000px;
}

.terminal-window {
    background-color: rgba(18, 18, 18, 0.92);
    border-radius: 12px;
    border: 1px solid rgba(255, 51, 0, 0.2);
    box-shadow: 0 0 30px rgba(255, 51, 0, 0.1), 0 0 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.terminal-window:hover {
    box-shadow: 0 0 40px rgba(255, 51, 0, 0.15), 0 0 80px rgba(0, 0, 0, 0.6);
    transform: translateY(-2px);
}

.terminal-header-bar {
    background: linear-gradient(90deg, #1e1e1e, #252525);
    padding: 0.7rem 1.2rem;
    border-bottom: 1px solid rgba(255, 51, 0, 0.3);
    font-family: 'JetBrains Mono', 'Consolas', 'Courier New', monospace;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.terminal-header-bar:before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ff3300;
    margin-right: 6px;
    box-shadow: 0 0 8px rgba(255, 51, 0, 0.6);
}

.terminal-title {
    color: #f4f4f4;
    font-weight: bold;
}

.terminal-body {
    padding: 2.5rem;
    min-height: 300px;
    background-image: linear-gradient(to bottom, rgba(30, 30, 30, 0.2), transparent);
    border-radius: 0 0 12px 12px;
    position: relative;
    overflow: hidden;
}

.terminal-body:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.terminal-text-container {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.terminal-prompt {
    color: #ff3300;
    margin-right: 0.75rem;
    font-weight: bold;
}

.terminal-text {
    color: #f4f4f4;
}

.error-text {
    color: #ff3300;
    font-weight: bold;
}

.terminal-input-container {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.terminal-input {
    background-color: rgba(10, 10, 10, 0.3);
    border: none;
    border-radius: 6px;
    color: #00ff00;
    font-family: 'JetBrains Mono', 'Consolas', 'Courier New', monospace;
    font-size: 1rem;
    flex-grow: 1;
    padding: 0.7rem 1rem;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
}

.terminal-input:focus {
    background-color: rgba(10, 10, 10, 0.6);
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.7), 0 0 8px rgba(255, 51, 0, 0.3);
    border-bottom: 1px solid #ff3300;
}

.error-message {
    color: #ff3300;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    width: 100%;
    margin-left: 1.5rem;
}

/* Terminal Options (Buttons) */
.terminal-options {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.terminal-button {
    background-color: rgba(255, 51, 0, 0.1);
    border: 1px solid #ff3300;
    color: #ff3300;
    padding: 0.7rem 1.5rem;
    font-family: 'JetBrains Mono', 'Consolas', 'Courier New', monospace;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.terminal-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #ff3300;
    transition: all 0.3s;
    z-index: -1;
}

.terminal-button:hover:before {
    width: 100%;
}

.terminal-button:hover {
    background-color: #ff3300;
    color: #0a0a0a;
    text-decoration: none;
}

/* Typeform Steps */
.typeform-container {
    min-height: 400px;
}

.typeform-step {
    display: none;
}

.typeform-step.active {
    display: block;
    animation: fadeIn 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Terminal Window Section */
.terminal-window-section {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    padding: 1.25rem;
    background: rgba(18, 18, 18, 0.5);
    border-left: 2px solid #ff3300;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 0 15px rgba(255, 51, 0, 0.1);
    transition: all 0.3s ease;
}

.terminal-window-section:hover {
    background: rgba(18, 18, 18, 0.7);
    box-shadow: 0 0 20px rgba(255, 51, 0, 0.15);
    transform: translateX(2px);
}

.terminal-section-title {
    font-size: 1.2rem;
    color: #ff3300;
    margin-bottom: 1.2rem;
    font-weight: bold;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.terminal-section-title .terminal-prompt {
    margin-right: 0.75rem;
    font-size: 1.3rem;
}

.terminal-window-section .terminal-text-container {
    padding-left: 1rem;
    margin-bottom: 1rem;
    border-left: 1px dotted rgba(255, 51, 0, 0.3);
}

.terminal-window-section .terminal-text {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.9;
}

.terminal-window-section .highlighted {
    color: #ff3300;
    font-weight: bold;
    animation: pulse-text 2s infinite;
}

@keyframes pulse-text {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

/* About Page Styles */
.about-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.about-tagline {
    color: #a0a0a0;
    font-style: italic;
    margin-bottom: 2.5rem;
}

.section {
    margin-bottom: 2.5rem;
}

.section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.section-content p {
    margin-bottom: 0.75rem;
}

.highlighted {
    color: #ff3300;
    font-weight: bold;
}

.highlights {
    list-style-type: none;
    padding-left: 1rem;
}

.highlights li {
    margin-bottom: 0.5rem;
    color: #d0d0d0;
}

.highlights li::before {
    content: ">";
    color: #ff3300;
    margin-right: 0.5rem;
}

/* Footer */
.terminal-footer {
    background: linear-gradient(0deg, #121212, #0a0a0a);
    padding: 2rem 0;
    border-top: 2px solid #ff3300;
    text-align: center;
    margin-top: 3rem;
    position: relative;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
}

.terminal-footer:before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 51, 0, 0.7), transparent);
    filter: blur(1px);
}

.terminal-footer p {
    color: #a0a0a0;
    margin-bottom: 0.5rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(-15px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes pulse {
    0% { box-shadow: 0 0 10px rgba(255, 51, 0, 0.3); }
    50% { box-shadow: 0 0 20px rgba(255, 51, 0, 0.5); }
    100% { box-shadow: 0 0 10px rgba(255, 51, 0, 0.3); }
}

.typing::after {
    content: "|";
    animation: blink 1s step-end infinite;
}

.blinking-cursor::after {
    content: "_";
    animation: blink 1s step-end infinite;
}

.terminal-text-container {
    animation: slideIn 0.4s ease-out;
}

.terminal-window {
    animation: pulse 3s infinite;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .terminal-body {
        padding: 1.5rem;
    }
    
    .terminal-options {
        flex-direction: column;
    }
    
    .terminal-button {
        width: 100%;
    }
    
    h1 {
        font-size: 2rem;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #121212;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
    border: 2px solid #121212;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff3300;
    box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.1);
}
