@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&display=swap');

/* =====================
   CSS Variables
   ===================== */
:root {
  --text-primary: #FFFFFF;
  --text-secondary: #71717a;
  --text-tertiary: #CCCCCC;
  --background: #000000;
  --card-bg: #111111;
  --btn-bg: #1e1e1e;
  --accent: #FF4500;
  --border: #3c3c3c;
  --shadow: 0 2px 8px rgba(24,24,27,0.04);
  --shadow-strong: 0 4px 32px rgba(0,0,0,0.28), 0 1.5px 6px rgba(0,0,0,0.12);
  --status-green: #1ED760;
  --status-red: #C50001;
}

/* =====================
   Base & Layout
   ===================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  font-family: 'Space Grotesk', Arial, sans-serif;
  background: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  /* overflow-x: hidden; */
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
}

.container {
  display: flex;
  min-height: 100vh;
  background: var(--background);
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 40px;
  column-gap: 40px;
}

/* =====================
   Sidebar Card
   ===================== */
.sidebar-card {
  position: sticky;
  top: 60px;
  width: 450px;
  flex-shrink: 0;
  border-radius: 22px;
  box-shadow: var(--shadow-strong);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 200;
  border: 1.5px solid var(--border);
  background: var(--card-bg);
}
.hero-photo {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
  border: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.status-badge {
  display: flex;
  max-width: 320px;
  align-items: center;
  background: #18181b;
  color: var(--text-primary);
  border-radius: 12px;
  padding: 0.35rem 1.1rem;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
  border: 1.5px solid var(--border);
}
.status-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--status-green);
  border-radius: 50%;
  margin-right: 0.6em;
  box-shadow: 0 0 6px #1ed76099;
}
.sidebar-card h1 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
}
.sidebar-card .hero-socials {
  max-width: 320px;
}
.sidebar-card .hero-socials a {
  gap: 0.5rem;
}
.sidebar-card .hero-socials img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  transition: filter 0.2s, transform 0.2s;
}
.sidebar-card .hero-socials a:hover img {
  filter: brightness(0) saturate(100%) invert(62%) sepia(77%) saturate(747%) hue-rotate(210deg) brightness(102%) contrast(101%);
  transform: scale(1.15);
}
.sidebar-buttons {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 10px;
  padding: 0.7rem 1.1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
}
.btn-primary {
  background: var(--accent);
  color: var(--text-primary);
}
.btn-primary:hover {
  background: #e03e00;
}
.btn-secondary {
  background: var(--btn-bg);
  color: var(--text-primary);
}
.btn-secondary:hover {
  background: #333;
  color: var(--text-primary);
}
.icon-download::before {
  content: '\21E9';
  font-size: 1.2em;
  margin-right: 0.5em;
}
.icon-send::before {
  content: '\2709';
  font-size: 1.2em;
  margin-right: 0.5em;
}

/* =====================
   Main Content
   ===================== */
.main-content {
  flex: 1;
  gap: 20px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--background);
  color: var(--text-primary);
}

header.hero {
  text-align: center;
  /* padding: 3rem 1rem 2rem 1rem; */
  background: var(--background);
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--text-primary);
}
.hero-greeting {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.emoji {
  font-size: 1.5rem;
}
.hero-name {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
  text-align: left !important;
}
.hero-title {
  color: var(--accent);
  font-weight: 500;
  font-size: 1.1em;
}
.hero-summary {
  font-size: 1rem;
  font-weight: 500;
  color: #CCCCCC;
  margin-bottom: 2.2rem;
  max-width: 700px;
  text-align: left !important;
}
.hero-stats {
  display: flex;
  gap: 3.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}
.stat-label {
  font-size: 1rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

main {
  max-width: 700px;
  /* gap: 40px; */
  /* margin: 2rem auto; */
}
.section {
  color: var(--text-primary);
  border-radius: 16px;
  box-shadow: var(--shadow);
  /* gap: 50px; */
}
.section h3 {
  font-size: 1.3rem;
  color: var(--text-primary);
  font-weight: 500;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
}
.skills-list li {
  background: var(--card-bg);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.4rem 1rem;
  font-size: 1rem;
  font-weight: 500;
}
footer {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding: 2rem 1rem 1rem 1rem;
}

/* =====================
   Card Styles
   ===================== */
.experience-cards, .education-cards, .project-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  padding: 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
  /* gap: 0.7rem; */
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* margin-bottom: 0.5rem; */
}
.card-title {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.card-meta {
  background: var(--btn-bg);
  color: var(--text-primary);
  /* border: 1px solid var(--border); */
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.35rem 1.1rem;
  /* margin-left: 1rem; */
  white-space: nowrap;
}
.card-company {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}
.card-company::after {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  background: var(--border, #232323);
  opacity: 0.5;
  margin-top: 0.5rem;
  position: absolute;
  left: 0;
  bottom: 0;
}
.card-description {
  color: var(--text-tertiary);
  font-weight: 400;
  font-size: 1rem;
  /* margin-top: 0.2rem; */
}
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-card a {
  color: var(--text-primary);
  text-decoration: underline;
  transition: color 0.2s;
}
.contact-card a:hover {
  color: var(--accent);
}


/* =====================
   Responsive Styles
   ===================== */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
    align-items: center;
    max-width: 100vw;
    padding: 40px 40px;
    gap: 40px;
  }
  .sidebar-card {
    position: static;
    width: 80vw;
    min-width: 320px;
    margin: 1rem 1rem 1rem 1rem;
    padding: 32px 16px;
    border-radius: 22px;
  }
  .hero-photo {
    width: 100%;
    max-width: 100vw;
    height: auto;
  }
}

