/* ============================ */
/* GLOBAL FONT SIZE CONTROLLER */
/* change sizes here only       */
/* ============================ */

:root {
  --fs-xs: 0.75rem;
  --fs-sm: 0.85rem;
  --fs-md: 1rem;
  --fs-lg: 1.15rem;
  --fs-xl: 1.4rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.8rem;

  --hero-pb: 2rem; 

}

/* ============================ */
/* GLOBAL RESET + BASE          */
/* ============================ */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: #1a1a1a;
  color: #e6e6e6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: var(--fs-md);
}

/* ============================ */
/* HEADER                       */
/* ============================ */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  border-bottom: 1px solid #3a3a3a;
  background: #121212;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: var(--fs-sm);
  color: #f0f0f0;
}

.nav {
  display: flex;
  gap: 1.2rem;
}

.nav-link {
  text-decoration: none;
  color: #b5b5b5;
  font-size: var(--fs-sm);
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: #ffffff;
}

/* ============================ */
/* HERO                         */
/* ============================ */

.hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem var(--hero-pb) 2rem;
}

.hero-content {
  max-width: 700px;
}

.tagline {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9a9a9a;
  margin-bottom: 0.75rem;
  font-size: var(--fs-sm);
}

.hero h1 {
  font-size: var(--fs-3xl);
  margin-bottom: 1rem;
  color: #f2f2f2;
}

.description {
  font-size: var(--fs-md);
  line-height: 1.7;
  color: #cfcfcf;
  margin-bottom: 1rem;
}

/* ============================ */
/* BUTTONS                      */
/* ============================ */

.button-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid #3a3a3a;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: var(--fs-sm);
}

.btn.primary {
  background: #2f2f2f;
  color: #ffffff;
}

.btn.primary:hover {
  background: #3b3b3b;
}

.btn.secondary {
  background: transparent;
  color: #dddddd;
  border-color: #505050;
}

.btn.secondary:hover {
  border-color: #cccccc;
}

/* ============================ */
/* SECTIONS                     */
/* ============================ */

.section {
  padding: 6rem 2rem;
  border-top: 1px solid #303030;
  background: #1a1a1a;
}

.section:nth-of-type(even) {
  background: #161616;
}

.section-content {
  max-width: 900px;
  margin: 0 auto;
}

.section h2 {
  font-size: var(--fs-2xl);
  margin-bottom: 1rem;
  color: #f0f0f0;
}

.section > .section-content > p {
  color: #c9c9c9;
  line-height: 1.6;
  font-size: var(--fs-md);
}


/* ============================ */
/* PROJECT CARDS                */
/* ============================ */

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: #151515;
  border: 1px solid #303030;
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
}

.card h3 {
  font-size: var(--fs-lg);
  margin-bottom: 0.4rem;
  color: #f2f2f2;
}

.card p {
  font-size: var(--fs-md);
  color: #bdbdbd;
}

/* ============================ */
/* YOUTUBE HEADER               */
/* ============================ */

.youtube-header {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
  border: 1px solid #303030;
  border-radius: 16px;
  background: linear-gradient(180deg, #181818, #141414);
}

.youtube-avatar-large {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #3a3a3a;
  flex-shrink: 0;
}

.youtube-header-info {
  flex: 1;
}

.youtube-channel-name {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: #f2f2f2;
  line-height: 1.2;
}

.youtube-handle {
  font-size: var(--fs-sm);
  color: #9a9a9a;
  margin-top: 0.15rem;
}

.youtube-meta {
  font-size: var(--fs-sm);
  color: #bdbdbd;
  margin-top: 0.6rem;
}

.youtube-long-desc {
  margin-top: 1.2rem;
  font-size: var(--fs-md);
  color: #c7c7c7;
  line-height: 1.65;
  max-width: 720px;
}

/* ============================ */
/* FOOTER                       */
/* ============================ */

.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: var(--fs-sm);
  color: #9a9a9a;
  border-top: 1px solid #303030;
  margin-top: auto;
  background: #121212;
}

.site-footer a {
  color: #e5e5e5;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ============================ */
/* RESPONSIVE                   */
/* ============================ */

@media (max-width: 700px) {
  .youtube-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .youtube-avatar-large {
    width: 90px;
    height: 90px;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .section h2 {
    font-size: 1.7rem;
  }
}
