/* ============================================================
   SAASI Labs — style.css
   Edit the variables below to change colours and fonts globally
   ============================================================ */

/* ----------------------------------------------------------
   1. DESIGN TOKENS
---------------------------------------------------------- */
:root {
  /* Colours */
  --color-bg:          #1a1a1a;
  --color-bg-alt:      #141414;
  --color-text:        #f0ede8;
  --color-text-muted:  #888888;
  --color-accent:      #d4a96a;        /* warm gold — change freely */
  --color-border:      rgba(255,255,255,0.08);
  --color-nav-hover:   rgba(255,255,255,0.55);

  /* Typography */
  --font-display:      'Playfair Display', Georgia, serif;   /* headings */
  --font-body:         'Inter', 'Helvetica Neue', sans-serif; /* body / nav */

  /* Sizes */
  --nav-height:        72px;
  --max-width:         1280px;
  --section-pad-v:     120px;
  --section-pad-h:     64px;
}

/* ----------------------------------------------------------
   2. RESET & BASE
---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@font-face {
  font-family: "InterTightBold";
  src: url("InterTight-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "InterTightRegular";
  src: url("InterTight-Regular.ttf") format("truetype");
}


a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ----------------------------------------------------------
   3. NAVIGATION
---------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--section-pad-h);
  z-index: 100;
  background: linear-gradient(to bottom, rgba(26,26,26,0.95) 0%, transparent 100%);
}

.nav__logo {
  font-family: "InterTightBold" var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.nav__links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--color-text);
}

/* ----------------------------------------------------------
   4. HERO SECTION  (section 1)
---------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: var(--nav-height);
}

.hero__content {
  padding: var(--section-pad-v) var(--section-pad-h) 0;
}

.hero__headline {
  font-family: "InterTightRegular" var(--font-body);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.2;
  color: var(--color-text);
  max-width: 520px;
}

/* Nav row at the bottom of the hero */
.hero__nav-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--color-border);
}

.hero__nav-item {
  padding: 3rem var(--section-pad-h);
  font-family: "InterTightRegular" var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  color: var(--color-text);
  transition: color 0.25s ease;
  border-right: 1px solid var(--color-border);
}

.hero__nav-item:last-child { border-right: none; }

.hero__nav-item:hover { color: var(--color-accent); }

/* ----------------------------------------------------------
   5. SHOWCASE SECTION  (section 2)
---------------------------------------------------------- */
.showcase {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--section-pad-v) var(--section-pad-h);
  background-color: var(--color-bg-alt);
  gap: 4rem;
}

.showcase__copy {
  flex: 0 0 42%;
}

.showcase__tagline {
  font-family: "InterTightRegular" var(--font-body);
  font-weight: 100;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1.30;
  color: var(--color-text);
}

.showcase__mockups {
  flex: 1;
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
  align-items: center;
}

/* Placeholder phone frames */
.mockup {
  width: 260px;
  height: 560px;
  background-color: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mockup--placeholder {
  background: linear-gradient(160deg, #f0ede8 0%, #e5ddd4 100%);
}

.mockup__inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1rem;
  gap: 0.75rem;
}

.mockup__bar {
  height: 8px;
  border-radius: 4px;
  background: #d0c8be;
}

.mockup__bar--short  { width: 50%; }
.mockup__bar--medium { width: 75%; }
.mockup__bar--long   { width: 100%; }
.mockup__bar--accent { background: #c9a87a; width: 60%; }

.mockup__block {
  height: 120px;
  border-radius: 12px;
  background: #ddd6cc;
  margin-top: auto;
}

/* ----------------------------------------------------------
   6. BELIEF SECTION / FOOTER  (section 3)
---------------------------------------------------------- */
.belief {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--section-pad-v) var(--section-pad-h) 3rem;
  background-color: var(--color-bg);
}

.belief__statement {
  font-family: "InterTightRegular" var(--font-body);
  font-weight: 300;
  font-size: clamp(1.4rem, 2.8vw, 2.4rem);
  line-height: 1.4;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  color: var(--color-text);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4rem;
}

.footer__logo {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.footer__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer__link {
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-text-muted);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer__link:hover {
  color: var(--color-text);
  border-color: var(--color-text);
}

/* ----------------------------------------------------------
   7. INNER PAGES  (projects, about)
---------------------------------------------------------- */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--nav-height) var(--section-pad-h) var(--section-pad-v);
  text-align: center;
}

.page__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.page__subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.page__body {
  max-width: 640px;
  color: var(--color-text-muted);
  line-height: 1.8;
  font-size: 1rem;
}

.page__body p + p { margin-top: 1.25rem; }

/* ----------------------------------------------------------
   8. RESPONSIVE
---------------------------------------------------------- */
@media (max-width: 900px) {
  :root {
    --section-pad-h: 32px;
    --section-pad-v: 80px;
  }

  .showcase {
    flex-direction: column;
    align-items: flex-start;
  }

  .showcase__copy { flex: none; }

  .showcase__mockups {
    justify-content: center;
    width: 100%;
  }

  .mockup {
    width: 180px;
    height: 340px;
  }
}

@media (max-width: 640px) {
  :root {
    --section-pad-h: 20px;
  }

  .nav__links { gap: 1.25rem; }

  .hero__nav-row {
    grid-template-columns: 1fr;
  }

  .hero__nav-item {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: 1.75rem var(--section-pad-h);
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .hero__nav-item:last-child { border-bottom: none; }

  .showcase__mockups {
    flex-direction: column;
    align-items: center;
  }

  .mockup {
    width: 200px;
    height: 380px;
  }

  .footer {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer__links { flex-wrap: wrap; justify-content: center; }
}
