/* ============================================================
   Ekin Tagal Guler — personal site
   Design system adopted from svug-ofc-istanbul (OFC Society):
   Canela serif headings + Satoshi body, teal/tan/brown palette.
   ============================================================ */

@import url('../fonts/canela.css');

:root {
  --font-canela: 'Canela', serif;
  --font-satoshi: 'Satoshi', sans-serif;

  --body-color: rgba(202, 148, 122, 1);     /* warm tan page background */
  --primary-color: rgba(23, 56, 52, 1);      /* teal / forest green */
  --primary-dark-color: rgb(22, 44, 40);     /* darker teal sections */
  --primary-dark-color-2: #132522;           /* darkest teal — footer */
  --primary-darkest-color: rgba(112, 72, 59, 1); /* warm brown accent */
  --primary-light-color: rgba(23, 56, 52, 0.80);
  --whitish-pink: #ebd0c4;                    /* light warm text on dark */
  --white-color: #fff;
  --white-opacity-color: rgba(255, 255, 255, 0.60);
  --white-light-color: rgba(255, 255, 255, 0.20);
  --light-grey: #f5f5f5;
  --color-hover: rgba(112, 72, 59, 1);
  --transition1: 0.4s all;
}

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

html { max-width: 100%; overflow-x: hidden; }

body {
  background: var(--body-color);
  color: var(--primary-light-color);
  font-family: var(--font-satoshi);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  max-width: 100vw;
  overflow-x: hidden;
}

::-webkit-scrollbar { background: #9ca0a3; width: 10px; }
::-webkit-scrollbar-thumb { background: var(--primary-color); }

h1, h2, h3, h4, h5 { font-family: var(--font-canela); font-weight: 400; color: var(--primary-color); line-height: 1.1; }
a { color: var(--primary-color); text-decoration: none; transition: var(--transition1); }
a:hover { color: var(--color-hover); }
img { max-width: 100%; display: block; }
em { font-style: italic; color: var(--primary-darkest-color); }

/* ── Layout helpers ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 60px; }
section { padding: 120px 0; }
.section-label {
  font-family: var(--font-satoshi);
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--primary-darkest-color); margin-bottom: 20px; display: block;
}
.section-title { font-size: clamp(2.2rem, 3.6vw, 3.6rem); }
.divider { width: 48px; height: 1px; background: var(--primary-darkest-color); margin: 28px 0; }

/* ── Buttons (svug pill style) ── */
.btn {
  display: inline-block; cursor: pointer;
  font-family: var(--font-satoshi);
  font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 15px 38px; border-radius: 100px; transition: var(--transition1);
}
.btn-primary { background: transparent; border: 1px solid var(--primary-color); color: var(--primary-color); }
.btn-primary:hover { background: var(--primary-color); color: var(--white-color); }
.btn-light { background: transparent; border: 1px solid var(--whitish-pink); color: var(--whitish-pink); }
.btn-light:hover { background: var(--whitish-pink); color: var(--primary-dark-color); }
.btn-solid { background: var(--primary-darkest-color); border: 1px solid var(--primary-darkest-color); color: var(--white-color); }
.btn-solid:hover { background: transparent; color: var(--primary-darkest-color); }

/* ── Header / Nav (svug sticky header) ── */
.header-content {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px 60px; transition: var(--transition1);
}
/* Default: light text over the dark hero video. */
.nav-logo {
  font-family: var(--font-canela); font-weight: 300; font-size: 1.3rem;
  letter-spacing: 0.04em; color: var(--whitish-pink);
}
.nav-logo em { font-style: italic; color: var(--body-color); }
.nav-links { display: flex; gap: 38px; list-style: none; }
.nav-links a {
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--whitish-pink); opacity: 0.85;
}
.nav-links a:hover { opacity: 1; color: var(--white-color); }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  font-size: 1.4rem; color: var(--whitish-pink); line-height: 1;
}
/* Scrolled: tan bar -> switch to teal text. Applies on scroll (JS .sticky)
   and on hard refresh while scrolled (CSS .page-scrolled on <html>). */
.header-content.sticky,
.page-scrolled .header-content {
  background: var(--body-color);
  box-shadow: 0 6px 30px rgba(22, 44, 40, 0.12);
  padding: 16px 60px;
}
.header-content.sticky .nav-logo,
.page-scrolled .header-content .nav-logo { color: var(--primary-color); }
.header-content.sticky .nav-logo em,
.page-scrolled .header-content .nav-logo em { color: var(--primary-darkest-color); }
.header-content.sticky .nav-links a,
.page-scrolled .header-content .nav-links a { color: var(--primary-color); }
.header-content.sticky .nav-links a:hover,
.page-scrolled .header-content .nav-links a:hover { color: var(--color-hover); }
.header-content.sticky .nav-toggle,
.page-scrolled .header-content .nav-toggle { color: var(--primary-color); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--primary-dark-color);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 32px;
  opacity: 0; pointer-events: none; transition: var(--transition1);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-canela); font-size: 1.8rem; color: var(--whitish-pink);
}

/* ── Hero (full-bleed video, svug-style overlay headline) ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-end; overflow: hidden;
  background: var(--primary-dark-color);
}
.hero-media {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  opacity: 0; transition: opacity 0.8s ease;
}
.hero-media.ready { opacity: 1; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to right, rgba(22,44,40,0.82) 0%, rgba(22,44,40,0.50) 46%, rgba(22,44,40,0.28) 100%),
    linear-gradient(to top, rgba(22,44,40,0.70) 0%, rgba(22,44,40,0.10) 42%);
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%; max-width: 1320px; margin: 0 auto;
  padding: 0 60px 100px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: end;
}
.hero-headline {
  font-family: var(--font-canela); font-weight: 300;
  font-size: clamp(3rem, 6.4vw, 6.4rem); line-height: 0.98; letter-spacing: -0.01em;
  color: var(--whitish-pink);
}
.hero-headline em { font-style: italic; color: var(--body-color); }
.hero-aside { padding-bottom: 12px; }
.hero-lede {
  font-family: var(--font-satoshi); font-size: 0.92rem; line-height: 1.95;
  color: rgba(245, 240, 232, 0.82); max-width: 440px;
}
.hero-cta-btn { margin-top: 34px; }

/* ── About ── */
.about { background: var(--body-color); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-body { font-size: 0.95rem; line-height: 2; color: var(--primary-dark-color); margin-top: 4px; }
.about-body p + p { margin-top: 18px; }
.about-portrait img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%;
  border-radius: 16px; display: block;
}
/* stats: horizontal row across the end of the section */
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px;
  margin-top: 84px; padding-top: 56px; border-top: 1px solid rgba(23, 56, 52, 0.18);
}
.stat-number { font-family: var(--font-canela); font-size: 3.4rem; color: var(--primary-darkest-color); line-height: 1; }
.stat-label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary-light-color); margin-top: 10px; max-width: 240px; }

/* ── How I work (dark teal, svug service cards) ── */
.how { background: var(--primary-dark-color); }
.how .section-title { color: var(--whitish-pink); }
.how .section-label { color: var(--whitish-pink); opacity: 0.7; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 64px; }
.how-card {
  background: rgba(255, 255, 255, 0.04); padding: 48px 38px;
  position: relative; overflow: hidden; transition: var(--transition1);
}
.how-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px;
  background: var(--primary-darkest-color); transition: width 0.4s ease;
}
.how-card:hover::before { width: 100%; }
.how-card:hover { background: rgba(255, 255, 255, 0.07); }
.how-number { font-family: var(--font-canela); font-size: 3rem; color: rgba(235, 208, 196, 0.3); line-height: 1; margin-bottom: 20px; }
.how-card h3 { font-family: var(--font-canela); font-size: 1.5rem; color: var(--whitish-pink); margin-bottom: 14px; }
.how-card p { font-size: 0.84rem; line-height: 1.9; color: var(--white-opacity-color); }

/* ── Offers (svug membership cards) ── */
.offers { background: var(--body-color); }
.offers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; align-items: stretch; }
.offer-card {
  background: var(--light-grey); border-radius: 16px; padding: 46px 38px;
  display: flex; flex-direction: column; transition: var(--transition1);
}
.offer-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(22, 44, 40, 0.16); }
.offer-card.featured { background: var(--primary-dark-color); }
.offer-tag { font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--primary-darkest-color); margin-bottom: 18px; display: block; }
.offer-card.featured .offer-tag { color: var(--whitish-pink); }
.offer-card h3 { font-size: 1.7rem; margin-bottom: 18px; color: var(--primary-color); }
.offer-card.featured h3 { color: var(--whitish-pink); }
.offer-desc { font-size: 0.82rem; line-height: 1.9; color: var(--primary-light-color); margin-bottom: 26px; }
.offer-card.featured .offer-desc { color: var(--white-opacity-color); }
.offer-includes { list-style: none; margin-bottom: 28px; }
.offer-includes li {
  font-size: 0.8rem; padding: 9px 0; border-bottom: 1px solid rgba(23, 56, 52, 0.12);
  color: var(--primary-dark-color); display: flex; gap: 10px;
}
.offer-includes li::before { content: '\00B7'; color: var(--primary-darkest-color); font-weight: 700; }
.offer-card.featured .offer-includes li { border-bottom-color: rgba(255, 255, 255, 0.12); color: var(--white-opacity-color); }
.offer-meta {
  margin-top: auto; font-family: var(--font-canela); font-style: italic;
  font-size: 1.15rem; color: var(--primary-darkest-color);
}
.offer-card.featured .offer-meta { color: var(--whitish-pink); }

/* ── Fit (who it's for / not for) ── */
.fit { background: var(--primary-dark-color); }
.fit .section-title { color: var(--whitish-pink); }
.fit .section-label { color: var(--whitish-pink); opacity: 0.7; }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 56px; }
.fit-col h3 {
  font-family: var(--font-satoshi); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--primary-darkest-color); margin-bottom: 22px; padding-bottom: 16px;
  border-bottom: 1px solid rgba(112, 72, 59, 0.5);
}
.fit-col.no h3 { color: var(--whitish-pink); opacity: 0.6; }
.fit-list { list-style: none; }
.fit-list li {
  font-size: 0.86rem; line-height: 1.7; padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06); color: rgba(235, 208, 196, 0.85);
  display: flex; gap: 12px;
}
.fit-list.yes li::before { content: '\2713'; color: var(--primary-darkest-color); }
.fit-list.no li::before { content: '\2717'; color: rgba(235, 208, 196, 0.4); }

/* ── Contact ── */
.contact { background: var(--body-color); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.contact-body { font-size: 0.92rem; line-height: 1.9; color: var(--primary-dark-color); margin-top: 4px; }
.contact-body + .contact-body { margin-top: 16px; }
.contact-card { background: var(--light-grey); border-radius: 16px; padding: 48px; }
.contact-card h3 { font-size: 1.6rem; margin-bottom: 8px; }
.contact-card p { font-size: 0.8rem; color: var(--primary-light-color); margin-bottom: 28px; }
.contact-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid rgba(23, 56, 52, 0.15);
  font-size: 0.82rem; letter-spacing: 0.05em; color: var(--primary-color);
}
.contact-link:hover { color: var(--color-hover); }
.contact-link span { color: var(--primary-darkest-color); font-size: 1.05rem; }

/* ── Footer ── */
footer {
  background: var(--primary-dark-color-2); padding: 40px 60px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-logo { font-family: var(--font-canela); font-weight: 300; font-size: 1.2rem; letter-spacing: 0.04em; color: var(--whitish-pink); }
.footer-logo em { font-style: italic; color: var(--body-color); }
footer p { font-size: 0.66rem; letter-spacing: 0.12em; color: rgba(235, 208, 196, 0.4); }
.footer-links { list-style: none; display: flex; gap: 26px; }
.footer-links a { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(235, 208, 196, 0.55); }
.footer-links a:hover { color: var(--whitish-pink); }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  section { padding: 80px 0; }
  .header-content, .header-content.sticky { padding: 18px 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .hero-content { grid-template-columns: 1fr; gap: 28px; padding: 0 24px 72px; }
  .hero-headline { font-size: clamp(2.8rem, 13vw, 4.2rem); }
  .hero-lede { max-width: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-portrait { order: -1; }
  .about-portrait img { aspect-ratio: 4 / 3; }
  .about-stats { grid-template-columns: 1fr; gap: 30px; margin-top: 56px; padding-top: 40px; }
  .how-grid, .offers-grid, .fit-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 16px; text-align: center; }
}
