/* ============================================================
   Paria Akhavass — static recreation of the Wix site
   ============================================================ */

:root {
  --pink:     #fcc7bf;   /* header */
  --yellow:   #f0ff00;   /* highlight */
  --ink:      #0f0e0e;   /* near-black text */
  --dark:     #191021;   /* about + footer background */
  --lavender: #a2a3e4;   /* about decorative bar */
  --coral:    #f65a43;   /* youtube decorative bar */
  --muted:    #6e6e6e;   /* muted nav / current */
  --white:    #ffffff;

  --sans: 'Poppins', Arial, Helvetica, sans-serif;
  --fa:   'Tahoma', 'Segoe UI', Arial, sans-serif;
  --serif:'Georgia', 'Times New Roman', serif;

  --content: 980px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; margin: 0; padding: 0; }

/* ---------- shared ---------- */
.section-title {
  font-family: var(--sans);
  font-weight: 200;
  font-size: 50px;
  line-height: 1.1em;
  letter-spacing: normal;
  margin: 0;
}
.section-title b { font-weight: 600; }

.deco-bar {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-30%);
  height: 58px;
  width: 42%;
  z-index: 0;
}
.deco-bar.lavender { background: var(--lavender); }
.deco-bar.coral    { background: var(--coral); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--pink);
  width: 100%;
}
.header-inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.45;
}
.brand-name { font-size: 16px; font-weight: 700; }
.brand-sub  { font-size: 13px; font-weight: 400; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-link {
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  color: var(--ink);
  transition: color .2s ease;
}
.nav-link:hover { color: var(--muted); }
.nav-link.is-current { color: #9a9a9a; }

/* social icons */
.social-bar { display: flex; align-items: center; gap: 14px; }
.social-bar a { display: inline-flex; }
.social-bar svg { width: 18px; height: 18px; fill: var(--ink); transition: opacity .2s ease; }
.social-bar a:hover svg { opacity: .65; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--white);
  min-height: 527px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-text {
  max-width: var(--content);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}
.hero-link { text-decoration: none; color: inherit; }

.hero-title {
  margin: 0;
  font-weight: 300;
  font-size: 58px;
  line-height: 1.25em;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 620px;
}
.hero-title b { font-weight: 600; }
.hero-title mark {
  background: var(--yellow);
  color: var(--ink);
  padding: 0 2px;
}

.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 41%;
  max-width: 560px;
  background-image: url('assets/hero.jpg');
  background-size: cover;
  background-position: center 30%;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: var(--dark);
  color: var(--white);
  padding: 64px 0 72px;
}
.about-head {
  position: relative;
  padding: 26px 24px 30px 56px;
  min-height: 96px;
  display: flex;
  align-items: center;
}
.about-title {
  position: relative;
  z-index: 1;
  color: #f4f4f4;
  display: flex;
  align-items: center;
  gap: 14px;
}
.about-title .fa { font-family: var(--fa); font-weight: 400; }
.about-avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  margin-left: 6px;
}

.about-body {
  max-width: 680px;
  margin: 14px auto 0;
  padding: 0 24px;
  text-align: center;
}
.about-body p { margin: 0 0 18px; }
.about-body .fa {
  font-family: var(--fa);
  direction: rtl;
  font-size: 15px;
  line-height: 2;
  color: var(--white);
}
.about-body .en {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.82);
}
.about-body a {
  color: inherit;
  text-decoration: underline;
}

/* ============================================================
   YOUTUBE
   ============================================================ */
.youtube {
  background: var(--white);
  padding: 70px 0 64px;
}
.yt-head {
  position: relative;
  padding: 18px 24px 22px 24px;
  min-height: 130px;
  display: flex;
  align-items: center;
}
.yt-head .deco-bar { transform: translateY(-12%); height: 70px; }
.yt-title {
  position: relative;
  z-index: 1;
  color: var(--ink);
  display: inline-block;
}
.yt-logo {
  display: inline-block;
  height: 36px;
  width: auto;
  vertical-align: middle;
  margin-left: 14px;
}

.yt-grid {
  max-width: 680px;
  margin: 26px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 8px;
}
.yt-item {
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
}
.yt-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  background-size: cover;
  background-position: center;
  background-color: #000;
}
.yt-vtitle {
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.3;
  padding: 8px 2px 0;
}
.yt-item:hover .yt-thumb { opacity: .9; }

.yt-more {
  max-width: 680px;
  margin: 18px auto 0;
  padding: 0 24px;
  display: flex;
  justify-content: flex-end;
}
.yt-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 26px;
  border: 1px solid #d8d8d8;
  color: var(--ink);
  border-radius: 2px;
}
.yt-more-btn svg { width: 16px; height: 16px; }
.yt-more-btn:hover { background: #f5f5f5; }

/* ============================================================
   ESP / EGP COURSE PAGES
   ============================================================ */
.patreon-hero {
  background: var(--white);
  text-align: center;
  padding: 60px 24px 44px;
}
.patreon-hero h1 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 78px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.patreon-hero a {
  color: #3d9be9;
  text-decoration: none;
}
.patreon-hero a:hover { text-decoration: underline; }

.course-grid {
  background: var(--white);
  max-width: 940px;
  margin: 0 auto;
  padding: 0 22px 70px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.course-grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: var(--white);
  padding: 22px 0;
}
.footer-inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.copyright { font-size: 13px; font-weight: 400; }
.footer-social svg { fill: var(--white); width: 16px; height: 16px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-title { font-size: 46px; }
  .section-title { font-size: 40px; }
  .hero-image { width: 44%; }
}

@media (max-width: 680px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
  }
  .main-nav { flex-wrap: wrap; gap: 16px; }
  .main-nav > ul { gap: 16px; }

  .hero {
    flex-direction: column;
    min-height: 0;
    padding-bottom: 0;
  }
  .hero-text { order: 1; padding: 40px 20px 30px; }
  .hero-title { font-size: 40px; max-width: none; }
  .hero-image {
    position: relative;
    order: 2;
    width: 100%;
    max-width: none;
    height: 380px;
  }

  .about-title { font-size: 34px; }
  .about-avatar { width: 64px; height: 64px; }
  .deco-bar { height: 48px; width: 70%; }

  .yt-title { font-size: 34px; }
  .yt-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { flex-direction: column; gap: 12px; }

  .patreon-hero h1 { font-size: 44px; }
  .course-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .patreon-hero h1 { font-size: 60px; }
}
