/* Project4.css */

/* =====================================================
   Reset and Base Styles (Tech Theme)
===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-color: #0d0d0d;
  --primary-color: #ff4d00;
  /* Orange */
  --secondary-color: #1a1a1a;
  /* Near-black */
  --accent-color: #ff8c00;
  /* Dark Orange */
  --text-main: #ffffff;
  --text-muted: #cfcfcf;
  --card-bg: #141414;
  --line-color: #262626;
  --font-family: 'Inter', sans-serif;
  --font-tech: 'Space Mono', monospace;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
}

body {
  background: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-family);
  overflow-x: hidden;
  cursor: none;
  /* Fallback */
}

/* =====================================================
     Scroll Progress
  ===================================================== */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--primary-color);
  width: 0%;
  z-index: 10000;
  transition: width 0.25s ease;
}

/* =====================================================
     Hero Section
  ===================================================== */
#hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  overflow: hidden;
}

.background-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

#main-title {
  color: var(--primary-color);
  /* font-family: var(--font-tech); Removed to match P8 design */
  font-size: 4rem;
  letter-spacing: -2px;
  text-align: center;
  margin-bottom: 20px;
}

#sub-title {
  color: var(--accent-color);
  font-family: var(--font-family);
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 1px;
  display: block;
}

/* =====================================================
     Project Layout
  ===================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.project-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}

/* =====================================================
     Left Column (Bot Interface)
  ===================================================== */
.column.left {
  flex: 1;
  min-width: 300px;
}

.bot-messages-box {
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid var(--primary-color);
  padding: 20px;
  border-radius: 0;
  box-shadow: 0 0 20px rgba(255, 77, 0, 0.15);
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
}

.bot-messages-box h3 {
  color: var(--primary-color);
  font-family: var(--font-tech);
  font-size: 1.2em;
  margin-bottom: 15px;
  text-align: center;
  letter-spacing: 2px;
}

#bot-output {
  background-color: #000;
  padding: 15px;
  border-radius: 0;
  height: 350px;
  overflow-y: auto;
  border: 1px solid rgba(255, 77, 0, 0.3);
  color: #00ff00;
  /* Classic Terminal Green */
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

/* Scrollbar for logs */
#bot-output::-webkit-scrollbar {
  width: 6px;
}

#bot-output::-webkit-scrollbar-track {
  background: #111;
}

#bot-output::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 0;
}

/* Log Messages */
.log-msg {
  color: #888;
}

.system-msg {
  color: #fff;
  border-left: 2px solid var(--primary-color);
  padding-left: 8px;
}

.success-msg {
  color: #00ffaa;
}

.info-msg {
  color: #00ccff;
}

.action-msg {
  color: #ffaa00;
  font-weight: bold;
}

.error-msg {
  color: #ff4444;
}

.message {
  padding: 5px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}


/* =====================================================
     Right Column (Info)
  ===================================================== */
.column.right {
  flex: 1.5;
  min-width: 300px;
}

.key-features h3,
.technical-specs h3,
.github-link h3 {
  color: var(--primary-color);
  font-family: var(--font-tech);
  font-size: 1.2em;
  margin-bottom: 20px;
  margin-top: 30px;
  border-left: 3px solid var(--primary-color);
  padding-left: 15px;
}

.key-features p,
.key-features li,
.technical-specs li {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.key-features strong {
  color: var(--text-main);
  font-family: var(--font-tech);
}

/* Buttons */
.btn-tech {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  font-family: var(--font-tech);
  padding: 12px 24px;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-transform: uppercase;
}

.btn-tech:hover {
  background: rgba(255, 77, 0, 0.1);
  box-shadow: 0 0 15px rgba(255, 77, 0, 0.4);
  transform: translateY(-2px);
  color: #fff;
}

.btn-tech.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}


/* =====================================================
     Responsive
  ===================================================== */
@media (max-width: 900px) {
  .project-overview {
    flex-direction: column;
  }

  #main-title {
    font-size: 2.5rem;
  }
}