/* ===============================
   LOCAL FONT: SPACE GROTESK
   (STATIC WEIGHTS — GOOGLE PARITY)
================================ */


@font-face {
  font-family: "Doto";
  src: url("/assets/fonts/Doto-Black-Regular.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/SpaceGrotesk-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/SpaceGrotesk-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/SpaceGrotesk-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/SpaceGrotesk-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/SpaceGrotesk-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}



/* =========================================================
   SOFT IVORY SAAS THEME — FULL CSS
========================================================= */

:root {
  --bg: #f7f7f4;         /* soft ivory */
  --surface: #ffffff;     /* clean surface */
  --surface-dark: #f3f3f0;
  --text: #1a1a1a;        /* strong readable black */
  --text-light: #616161;  /* softer gray */
  --border: #dedede;      /* SaaS thin border */
  --accent: #00ffc3;      /* your neon accent */
  --accent-soft: #66ff7a;
  --radius: 14px;
}

/* GLOBAL -------------------------------------------------- */

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.68;
}

.project-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 26px 80px;
}

.project-container {
  padding-top: 0px;
}


/* NAVBAR -------------------------------------------------- */

.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 10px 26px;
  background: rgba(255, 255, 255, 0.60);
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
  backdrop-filter: blur(12px);
}



.nav-left {
  font-weight: 600;
  letter-spacing: -0.3px;
}

.nav-right {
  color: #09966a;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px dotted var(--accent);
}

.nav-links {
  display: flex;
  gap: 26px;          /* spacing between links */
  align-items: center;
}


/* HEADER -------------------------------------------------- */

.project-header h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.subtitle {
  max-width: 680px;
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 40px;
}

/* SECTIONS ------------------------------------------------ */

.section {
  margin-top: 70px;
}

.section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 26px;
  position: relative;
}

.section h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: var(--accent);
  position: absolute;
  bottom: -10px;
  left: 0;
  border-radius: 2px;
  opacity: 0.7;
}

.section p {
  font-size: 1.08rem;
  margin-bottom: 18px;
}

/* GRID & CARDS ------------------------------------------- */

.grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.25s ease;
  width: auto;
}

.card:hover {
  border-color: var(--accent);
  background: var(--surface-dark);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

/* IMAGES -------------------------------------------------- */

.img-full {
  width: 100%;
  border-radius: var(--radius);
  border: none;
  margin-top: 18px;
}

/* CODE BLOCK ---------------------------------------------- */

.code {
  background: #fdfdfb; /* warm white */
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  padding: 22px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.55;
  white-space: pre;
  box-shadow: 0 3px 12px rgba(0,0,0,0.05);
}

.comment {
  color: #888;
}

/* LISTS --------------------------------------------------- */

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  margin-bottom: 12px;
}

.feature-list strong {
  color: #09966a;
}

/* FOOTER -------------------------------------------------- */

.bottom-footer {
  margin-top: 40px;
  background: var(--surface);
  padding: 12px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.9rem;
}


.nav-logo {
  height: 32px;   /* Base size (mobile) */
  width: auto;
  object-fit: contain;
  display: block;
  opacity: 0.95;
  transition: opacity 0.2s ease, height 0.2s ease;
}


.nav-logo:hover {
  opacity: 1;
}

@media (min-width: 900px) {
  .nav-logo {
    height: 46px;   /* Perfect size for your 700×125 banner */
  }
}

.improvements-list {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.improvements-list li {
  margin-bottom: 12px;
  padding-left: 22px;
  position: relative;
  font-size: 1.05rem;
}

.improvements-list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 14px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.9;
}

/* Arrow list (matches mobile.html style but tuned for ivory UI) */
.arrow-list {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.arrow-list li {
  margin-bottom: 12px;
  padding-left: 24px;    /* indent */
  position: relative;
  color: var(--text);     /* your normal text color */
  font-size: 1.05rem;
  line-height: 1.55;
}

.arrow-list li::before {
  content: "➤";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--accent);       /* neon #00ffc3 */
  font-size: 1rem;
  opacity: 0.95;
}

.section-divider {
  width: 100%;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 8px 0 8px;
  opacity: 0.9;
}

.subtitle {
  margin-bottom: 10px !important; /* was 30–40px visually */
}

.section-divider {
  margin-top: 22px;
  margin-bottom: 18px;
}

.section-divider + p {
  margin-top: 0;
}

.section:first-of-type {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.section-divider {
  margin-top: 18px;
  margin-bottom: 20px;
}

.section > p:first-of-type {
  margin-top: 0 !important;
}

.date-tag {
  font-size: 0.9rem;
  color: #777;
  margin-top: 6px;
  margin-bottom: 8px;
  font-family: 'Space Grotesk', sans-serif;
}

.project-container img.screenshot {
  width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 26px 0;
  display: block;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
}

.simple-ss-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.ss-small {
  width: 100%;
  max-width: 100%;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0,0,0,0.10);
}

/* Grid */
.simple-ss-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.ss-small {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.10);
}

.ss-small:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* Fullscreen Preview Modal */
.img-preview {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.img-preview img {
  max-width: 95%;
  max-height: 95%;
  border-radius: 12px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.view-link {
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 10px;
  color: 0096ff;
}

.view-link:hover {
  opacity: 0.8;
}


/* GLOBAL LINK STYLE */
a {
  color: #00966f;              /* change this if you want a different color */
  text-decoration: none;
  position: relative;
  font-weight: 500;
}

/* Underline animation */
a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: currentColor;          /* underline uses the same color as the link */
  transition: width 0.25s ease;
  border-radius: 2px;
}

a:hover::after {
  width: 100%;
  opacity: 0.9;
}

a:hover {
  opacity: 0.85;
}


.no-nav .top-nav {
  display: none !important;
}


/* Center subtitle only on project index page */
.home-page .project-header .subtitle {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}




/* ===============================
   PORTFOLIO EXTENSIONS
================================ */

/* Hero split */
.hero {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.2fr 0.8fr;
  margin-top: 40px;
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

.hero-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

/* Stat strip */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.stat {
  text-align: center;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-dark);
}

.stat strong {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 6px;
}

/* Timeline */
.timeline {
  border-left: 2px solid var(--border);
  padding-left: 26px;
}

.timeline-item {
  margin-bottom: 36px;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 9px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
}

/* Project feature block */
.project-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

@media (max-width: 900px) {
  .project-feature {
    grid-template-columns: 1fr;
  }
}

/* Callout */
.callout {
  background: var(--surface);
  border-left: 4px solid var(--accent);
  padding: 26px;
  border-radius: var(--radius);
}

/* Hero-specific alignment control */
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-top: 6px;
  font-family: 'Space Grotesk', sans-serif;
}


.hero-desc {
  max-width: 680px;
  text-align: left;
  margin-top: 10px;
  color: var(--text-light);
}

/* ===============================
   FORM ELEMENTS (CONTACT PAGE)
================================ */

input,
textarea {
  width: 100%;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  padding: 12px 14px;

  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);

  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: #999;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(0, 255, 195, 0.15);
}

/* Fix textarea resize behavior */
textarea {
  resize: vertical;
  min-height: 140px;
}

/* ===============================
   PRIMARY BUTTON
================================ */

.button-primary {
  appearance: none;
  border: none;
  cursor: pointer;

  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 600;

  padding: 12px 22px;
  border-radius: 10px;

  background: ;
  color: #00966f;

  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  opacity: 0.95;
}

.button-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

input,
textarea {
  box-sizing: border-box;
}

/* ===============================
   CONTACT ICON LIST
================================ */

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.contact-item a {
  text-decoration: none;
}

/* ===============================
   REMOVE ARROWS FROM CONTACT LIST
================================ */

.contact-item::before {
  content: none !important;
}

/* ===============================
   ALIGN CONTACT ICONS LEFT
================================ */

.arrow-list .contact-item {
  padding-left: 12px;      /* remove arrow space */
}

.arrow-list .contact-item::before {
  content: none !important;
}

/* ===============================
   FONT FIX
================================ */

body {
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
}

.doto {
  font-family: "Doto", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 6vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}


@media (max-width: 640px) {
  .nav-links {
    gap: 14px;
  }

  .nav-right {
    font-size: 0.9rem;
  }
}





.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--text-light);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.divider span {
  white-space: nowrap;
}

.divider-sec {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--text-light);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.divider-sec::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.divider-sec span {
  white-space: nowrap;
}