/* ============================================================
   @faizcodes — Personal Website v2
   Layout inspired by clean portfolio reference
   Claude Light Theme palette
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@700;800&family=DM+Sans:wght@300;400;500&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:            #F4F3EE;
  --surface:       #FFFFFF;
  --muted:         #EAE9E3;
  --accent:        #C15F3C;
  --accent-h:      #A14A2F;
  --accent-s:      #F5DDD4;
  --tx:            #3D3929;
  --tx2:           #6B6860;
  --txm:           #B1ADA1;
  --bd:            #D8D6CF;
  /* --font-slab:     'Roboto Slab', Georgia, serif;
  --font-body:     'DM Sans', ui-sans-serif, system-ui, sans-serif; */
  --font-slab:     'DM Serif Display', Georgia, serif;
  --font-body:     'DM Sans', system-ui, sans-serif;
  --radius-md:     8px;
  --radius-lg:     12px;
  --radius-full:   9999px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(147, 197, 220, 0.35) 1px, transparent 0.15px),
    linear-gradient(90deg, rgba(147, 197, 220, 0.35) 1px, transparent 0.15px);
  background-size: 16px 16px;
  color: var(--tx);
  line-height: 1.75;
  font-size: 15px;
  font-weight: 300;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { text-decoration: none; color: inherit; }

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 243, 238, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 0.5px solid var(--bd);
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 48px;
}

.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  /* background: var(--accent); */
  background-image: url('./assets/logo.svg');
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  /* border-radius: 50%;    Keeps it perfectly circular */
  display: inline-block; /* Allows it to sit next to text if needed */
  vertical-align: middle;
}

.logo-dot:hover {
  transform: scale(1.1);
  transition: transform 0.2s ease-in-out;
  cursor: pointer;
}

.logo-name {
  font-family: var(--font-slab);
  font-size: 15px;
  font-weight: 700;
  color: var(--tx);
}

.logo-title {
  font-size: 13px;
  font-weight: 400;
  color: var(--tx2);
  margin-left: 4px;
}

.nav {
  display: flex;
  align-items: center;
}

.nav a {
  font-size: 13px;
  font-weight: 400;
  color: var(--tx2);
  padding: 4px 20px;
  letter-spacing: 0.01em;
  transition: color 0.15s ease;
}

.nav a + a { border-left: 0.5px solid var(--bd); }
.nav a:hover { color: var(--accent); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 48px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  gap: 80px;
}

.avatar-wrap {
  flex-shrink: 0;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  border: 0.5px solid var(--bd);
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-placeholder {
  font-family: var(--font-slab);
  font-size: 72px;
  font-weight: 700;
  color: var(--txm);
  letter-spacing: -2px;
  user-select: none;
}

.avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* filter: grayscale(100%); */
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 480px;
}

.hero-hello {
  font-family: var(--font-slab);
  font-size: 5.5rem;
  font-weight: 800;
  color: var(--tx);
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-name {
  font-family: var(--font-slab);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-h);
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-about-label {
  font-family: var(--font-slab);
  font-size: 20px;
  font-weight: 700;
  color: var(--tx);
  margin-bottom: 4px;
}

.hero-about-text {
  font-family: var(--font-slab);
  font-size: 15px;
  font-weight: 520;
  color: var(--tx);
  line-height: 1.7;
}

/* ── Round Buttons ─────────────────────────────────────────── */
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.round-btn {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-slab);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, filter 0.15s ease;
  text-align: center;
  line-height: 1.2;
}

.round-btn:hover {
  transform: translateY(-3px) scale(1.05);
  filter: brightness(0.92);
}

.round-btn:active { transform: scale(0.97); }

.btn-linkedin-round  { background: #C15F3C; color: #FFFFFF; }
.btn-youtube-round   { background: #E8A838; color: #3D3929; }
.btn-instagram-round { background: #7EC8C8; color: #3D3929; }
.btn-github-round { background: #463dc6; color: #FFFFFF; }

/* ── Experience ────────────────────────────────────────────── */
.experience-section {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding: 0 48px 80px;
}

.skills-section {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding: 0 48px 80px;
}

.section-heading {
  font-family: var(--font-slab);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tx2);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-heading::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: var(--bd);
}

.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.exp-card {
  padding: 0 28px 0 0;
  border-right: 0.5px solid var(--bd);
}

.exp-card:not(:first-child) { padding-left: 28px; }
.exp-card:last-child { border-right: none; padding-right: 0; }

.exp-period-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-s);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.skills-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--tx);
  background: #e4c58a;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.exp-role    { font-family: var(--font-slab); font-size: 18px; font-weight: 700; color: var(--tx2); margin-bottom: 3px; line-height: 1.3; }
.exp-company { font-family: var(--font-slab); font-size: 16px; font-weight: 700; color: var(--accent-h); margin-bottom: 10px; }
.exp-desc    { font-family: var(--font-slab); font-size: 15px; font-weight: 700; color: var(--tx); line-height: 1.65; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--surface);
  border-top: 0.5px solid var(--bd);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 0 32px;
  align-items: start;
}

.footer-col-label { font-family: var(--font-slab); font-size: 12px; font-weight: 700; color: var(--tx); margin-bottom: 6px; }
.footer-col-value { font-size: 13px; font-weight: 300; color: var(--tx2); }

.footer-follow-icons {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.footer-icon-link { color: var(--tx2); transition: color 0.15s ease; display: flex; align-items: center; }
.footer-icon-link:hover { color: var(--accent); }

.footer-copy {
  font-size: 11px;
  font-weight: 300;
  color: var(--txm);
  text-align: right;
  line-height: 1.8;
  align-self: center;
}

/* ── Animations ────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.avatar-wrap  { animation: fadeUp 0.55s ease both 0.05s; }
.hero-hello   { animation: fadeUp 0.55s ease both 0.12s; }
.hero-name   { animation: fadeUp 0.55s ease both 0.12s; }
.hero-about-label,
.hero-about-text { animation: fadeUp 0.55s ease both 0.2s; }
.hero-actions { animation: fadeUp 0.55s ease both 0.28s; }
.exp-card     { animation: fadeUp 0.55s ease both 0.36s; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 800px) {
  .hero { flex-direction: column; gap: 40px; padding: 48px 24px; text-align: center; }
  .avatar-wrap { width: 200px; height: 200px; }
  .hero-hello { font-size: 3.5rem; }
  .hero-name { font-size: 2rem; }
  .hero-actions { justify-content: center; }
  .experience-section { padding: 0 24px 60px; }
  .skills-section { padding: 0 24px 60px; }
  .exp-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .exp-card { border-right: none; border-bottom: 0.5px solid var(--bd); padding: 20px 0; }
  .exp-card:last-child { border-bottom: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; padding: 28px 24px; }
  .footer-copy { text-align: left; }
  .site-header { padding: 0 24px; }
  .logo-title { display: none; }
}