:root {
  --bg: #0f0f0f;
  --panel: #1e1e1e;
  --border: #2a2a2a;
  --text: #e5e5e5;
  --muted: #a1a1aa;
  --accent: #7c7cff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  height: 100vh;
}

.app {
  display: flex;
  height: 100%;
}

/* SIDEBAR */
.sidebar {
  width: 260px;
  background: var(--panel);
  border-right: 1px solid var(--border);
  padding: 16px;
}

.sidebar-header {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.sidebar button {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  padding: 10px;
  text-align: left;
  border-radius: 6px;
  cursor: pointer;
}

.sidebar button:hover {
  background: #2a2a2a;
}

.sidebar .accent {
  color: var(--accent);
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 12px 0;
}

/* MAIN */
.main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* HOME */
.home {
  max-width: 640px;
  width: 100%;
  text-align: center;
}

.home h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 30px;
}

/* PROMPT */
.prompt-wrapper {
  position: relative;
}

.prompt-wrapper input {
  width: 100%;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #1c1c1c;
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
}

/* SUGGESTIONS */
.suggestions {
  position: absolute;
  top: 60px;
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  text-align: left;
}

.suggestions button {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
}

.suggestions button:hover {
  background: #2a2a2a;
}

.hidden {
  display: none;
}
/* ============================= */
/* ChatGPT-style visual tuning   */
/* ============================= */

body {
  color: #e5e7eb;
  background-color: #0f172a;
}

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: #020617;
  border-bottom: 1px solid #1e293b;
  padding: 10px 20px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid #9e8eefd2;
}

.topbar-title {
  font-size: 0.95rem;
  color: #9ca3af;
  font-weight: 500;
}

/* Constrain content width like ChatGPT */
section:not(.hero-intro) {
  max-width: 720px;
}

/* ============================= */
/* Image formatting FIXES        */
/* ============================= */

/* Unified image group container */
.logo-column2,
.about-gallery,
.features-grid {
  align-items: center;
}

/* All content images */
.logo-column2 img,
.about-gallery img,
.project-card img,
.experience-entry img {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  background-color: #020617;
}

/* Project image grid (ChatGPT-style cards) */
.logo-column2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 12px 0 4px;
}

/* About photo cards: stop distortion */
.photo-card {
  width: 180px;
  height: 240px;
}

.photo-card img {
  object-fit: cover;
}

/* Experience logos: keep them logos */
.logo-column img {
  width: 120px;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  margin-bottom: 6px;
}

/* ============================= */
/* Card styling like ChatGPT     */
/* ============================= */

.project-card,
.experience-entry {
  background-color: #020617;
  color: #e5e7eb;
  border: 1px solid #1e293b;
}

.details h3,
.project-card h3 {
  color: #c7d2fe;
}

.project-card p,
.details ul li {
  color: #d1d5db;
}

/* Badges calmer */
.badges span {
  background-color: #1e293b;
  color: #c7d2fe;
}

/* Headings */
h2 {
  color: #c7d2fe;
}

/* Links */
a {
  color: #9e8eefd2;
}
