/* Sugarcane Rush – Warm Hybrid Style */

:root {
  --color-bg: #faf7f2;
  --color-surface: #ffffff;
  --color-text: #2c2418;
  --color-text-muted: #5c5348;
  --color-accent: #c4783a;
  --color-accent-hover: #a8622e;
  --color-border: #e8e0d5;
  --color-dark: #1f1a14;
  --font-main: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max-width: 1100px;
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent-hover);
}

/* ---------- Navigation ---------- */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: -0.02em;
}

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

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text);
}

/* ---------- Main content ---------- */
main {
  flex: 1;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  background: var(--color-dark);
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 14, 8, 0.82) 0%,
    rgba(20, 14, 8, 0.45) 45%,
    rgba(20, 14, 8, 0.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 3rem;
  color: #fff;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
  line-height: 1.15;
}

.hero-content .subheadline {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  opacity: 0.95;
}

.hero-content .supporting {
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 1.75rem;
  opacity: 0.88;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* ---------- Sections ---------- */
.section {
  padding: 3rem 0;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

.section-intro {
  color: var(--color-text-muted);
  max-width: 640px;
  margin-bottom: 1.75rem;
}

/* Featured / cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.4rem;
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: 0 6px 20px rgba(44, 36, 24, 0.08);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 0.8rem;
}

/* Quick About strip */
.quick-about {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 2.75rem 0;
}

.quick-about p {
  max-width: 680px;
  margin-bottom: 1rem;
}

/* Page headers (non-home) */
.page-header {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.page-header p {
  color: var(--color-text-muted);
  max-width: 600px;
}

/* Content blocks */
.content-block {
  margin-bottom: 2.5rem;
}

.content-block h2 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}

.content-block p,
.content-block ul {
  margin-bottom: 1rem;
  max-width: 720px;
}

.content-block ul {
  padding-left: 1.3rem;
}

.content-block li {
  margin-bottom: 0.35rem;
}

/* Collaborators */
.collaborator {
  margin-bottom: 1.25rem;
}

.collaborator strong {
  display: block;
  margin-bottom: 0.15rem;
}

/* Footer */
.site-footer {
  background: var(--color-dark);
  color: #e8e0d5;
  padding: 2.5rem 1.5rem 2rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.footer-tagline {
  font-size: 0.9rem;
  opacity: 0.8;
  max-width: 280px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-links a {
  color: #e8e0d5;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 1.75rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(232, 224, 213, 0.2);
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    flex-direction: column;
    padding: 1rem 1.5rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
    gap: 0.9rem;
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    min-height: 420px;
  }

  .hero-content {
    padding: 2.5rem 1.25rem 2.25rem;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    text-align: center;
  }
}
