@import url('https://fonts.googleapis.com/css2?family=Droid+Serif:ital,wght@0,400;0,700;1,400&family=Roboto:wght@300;400;500;700&display=swap');

/* ── Base ─────────────────────────────────────────── */
body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #2a2a2a;
  background: #fff;
}

h1, h2, h3 {
  font-family: 'Droid Serif', serif;
  color: #2a2a2a;
  font-weight: 400;
}

h1 { font-size: 2.6rem; line-height: 1.3; }
h2 { font-size: 2rem; line-height: 1.35; }
h3 { font-size: 1.4rem; }

a {
  color: #2a2a2a;
  text-decoration: underline;
}
a:hover {
  color: #555;
}

/* Standard blue/purple link behavior */
a.standard-link {
  color: #0066cc;
}
a.standard-link:visited {
  color: #800080;
}
a.standard-link:hover {
  color: #003d7a;
}
a.standard-link:active {
  color: #cc0000;
}

/* ── Navbar ───────────────────────────────────────── */
.navbar {
  padding: 1.25rem 0;
}
.navbar-brand {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #2a2a2a !important;
}
.navbar-nav .nav-link {
  font-family: 'Roboto', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #2a2a2a !important;
  margin-left: 1.5rem;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #555 !important;
}

/* ── Hero (Homepage) ──────────────────────────────── */
.hero {
  padding: 5rem 0 4rem;
}
.hero-title {
  font-family: 'Roboto', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.hero-tagline {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #555;
  max-width: 540px;
}
.hero-img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

/* ── Buttons ──────────────────────────────────────── */
.btn-dark {
  background-color: #2a2a2a;
  border-color: #2a2a2a;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.75rem 2rem;
  border-radius: 0;
}
.btn-dark:hover {
  background-color: #444;
  border-color: #444;
}

/* ── Portfolio Cards ──────────────────────────────── */
.portfolio-card {
  padding: 3rem 0;
}
.portfolio-card + .portfolio-card {
  border-top: 1px solid #e0e0e0;
}
.portfolio-card img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}
.portfolio-card .card-type {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  margin-bottom: 0.25rem;
}
.portfolio-card h3 {
  margin-bottom: 0.5rem;
}
.portfolio-card .card-methods {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 1rem;
}
.portfolio-card .card-desc {
  margin-bottom: 0.5rem;
}
.portfolio-card .card-impact {
  font-style: italic;
  color: #555;
  margin-bottom: 1.25rem;
}
.portfolio-card .btn {
  font-size: 0.8rem;
}

/* ── Page Header ──────────────────────────────────── */
.page-header {
  padding: 4rem 0 2rem;
}
.page-header h1 {
  margin-bottom: 0;
}

/* ── About Page ───────────────────────────────────── */
.about-content {
  padding: 0 0 4rem;
  max-width: 720px;
}
.about-content p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

/* ── Contact Page ─────────────────────────────────── */
.contact-content {
  padding: 0 0 4rem;
}
.contact-content p {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

/* ── Case Study Pages ─────────────────────────────── */
.case-study {
  padding: 2rem 0 4rem;
}
.case-study-meta p {
  margin-bottom: 0.25rem;
  line-height: 1.4;
}
.case-study .disclaimer {
  font-size: 0.875rem;
  font-style: italic;
  color: #666;
  text-align: left;
  margin-bottom: 2rem;
  line-height: 1.4;
}
.case-study .canva-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  margin-bottom: 2rem;
}
.case-study .canva-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.case-study .fallback-link {
  margin-bottom: 2rem;
}
.case-study-image {
  margin: 2rem 0;
}
.case-study-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.image-caption {
  font-size: 0.875rem;
  font-style: italic;
  color: #666;
  text-align: center;
  margin-top: 0.75rem;
  margin-bottom: 0;
  line-height: 1.4;
}

/* ── Footer ───────────────────────────────────────── */
.site-footer {
  border-top: 1px solid #e0e0e0;
  padding: 2rem 0;
  margin-top: 2rem;
}
.site-footer .nav-link {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #2a2a2a;
  padding: 0 0.75rem;
}
.site-footer .nav-link:hover {
  color: #555;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .hero {
    padding: 3rem 0 2rem;
    text-align: center;
  }
  .hero-tagline {
    margin: 0 auto 1.5rem;
  }
  .hero-img {
    margin-bottom: 2rem;
  }

  .portfolio-card {
    padding: 2rem 0;
  }
  .portfolio-card img {
    margin-bottom: 1.5rem;
  }

  .navbar-nav .nav-link {
    margin-left: 0;
  }
}
