:root {
  --bg-dark: #0f0f0f;
  --bg-mid: #2f2f2f;
  --bg-soft: #3a3a3a;
  --text: #ffffff;
  --muted: #bdbdbd;
  --accent: #ff5fa2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  background: #000;
  color: var(--text);
  line-height: 1.6;
}

h1 {
  font-weight: 400 !important;
}

h2 {
  font-weight: 400 !important;
  font-size: 2rem;
}


/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  background-image: url("images/background.png");
  background-size: cover;
  background-repeat: no-repeat;

  display: grid;
  grid-template-rows: auto 1fr auto;

  /* NEW */
  padding: 40px 20px 120px;
  background-position: center -100px;
}


.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.35) 35%,
    rgba(0,0,0,0.6) 65%,
    rgba(0,0,0,0.95) 100%
  );
  z-index: 1;
}

.hero-top,
.hero-center,
.hero-bottom {
  position: relative;
  z-index: 2;
}

.hero-top {
  padding: 24px 20px;
  display: flex;
  justify-content: center;
  text-align: center;
}

.logo {
  max-width: 380px;
}

.hero-center {
  /* empty on purpose, keeps the board visually centered */
}

.hero-bottom {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  margin-top:400px;
}


.hero-bottom h1 {
  font-size: 2rem;
  margin: 20px 0 12px;
}

.hero-sub {
  max-width: 720px;
  margin: 0 auto;
  color: #cfcfcf;
}



.hero-inner {
  max-width: 900px;
  margin: auto;
}


.hero-board img {
  max-width: 100%;
  margin-bottom: 30px;
}

.cta {
  display: inline-block;
  background: #ff5fa2;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 20px;
}


.cta.small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.hero h1 {
  margin-top: 40px;
  font-size: 2rem;
}

.hero-sub {
  color: var(--muted);
  max-width: 700px;
  margin: 20px auto 0;
}

/* WHY */
.why {
  padding: 80px 20px;
  background: #000;
}

.why h2 {
  text-align: center;
  margin-bottom: 50px;
}

.why-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}



/* WHY – card layout with image */
.why-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.why-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;

  background: linear-gradient(
    180deg,
    #151515 0%,
    #0f0f0f 100%
  );

  border: 1px solid #2a2a2a;
  border-radius: 16px;
  padding: 20px;
  align-items: center;
}

.why-card-image img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.why-card-content h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.why-card-content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}



/* PHILOSOPHY */
.philosophy {
  background: var(--bg-soft);
  padding: 80px 20px;
}

.philosophy h2 {
  max-width: 800px;
  margin: auto;
}

.philosophy p {
  max-width: 800px;
  margin: 0 auto;
  color: #e0e0e0;
}

/* FEATURE REQUEST */
.feature-request {
  background: var(--bg-soft);
  padding: 20px 20px 20px;
}

.feature-request form {
  max-width: 800px;
  margin: 30px auto 0;
  text-align:right;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}


.form-row input {
  width: 100%;
}

label {
  display: block;
  margin-bottom: 6px;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: none;
  margin-bottom: 20px;
}

textarea {
  min-height: 120px;
}

button {
  background: var(--accent);
  border: none;
  color: #fff;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

/* COMMUNITY */
.community {
  background: #000;
  padding: 80px 20px;
}

.community-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
}

.community p {
  max-width: 1100px;
  margin: 20px auto;
  color: var(--muted);
}

.boards {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.board-card {
  background: #fff;
  color: #000;
  padding: 10px;
  border-radius: 12px;
  text-align: center;
}

.board-card img {
  width: 100%;
  border-radius: 8px;
}

.board-card span {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
}

/* ABOUT */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 20px;
}

.about img {
  width: 100%;
  border-radius: 12px;
}

.about-text p {
  color: var(--muted);
}

.about .links a {
  color: #fff;
  text-decoration: none;
}


/* WHY – card layout with image */
.why-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.why-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;

  background: linear-gradient(
    180deg,
    #151515 0%,
    #0f0f0f 100%
  );

  border: 1px solid #2a2a2a;
  border-radius: 16px;
  padding: 20px;
  align-items: center;
}

.why-card-image img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.why-card-content h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.why-card-content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}



/* FEATURE REQUEST – align with philosophy */
.feature-request-inner {
  max-width: 800px;
  margin: 0 auto;
}

.feature-request h2 {
  text-align: left;
}

.feature-request > p,
.feature-request-inner > p {
  text-align: left;
  margin-bottom: 32px;
}


.why,
.philosophy,
.community {
  padding: 56px 20px;
}

.feature-request {
  padding: 48px 20px 56px;
}


.board-card a {
  color: #000;            /* or #111 / #000 depending on your card text */
  text-decoration: none; /* remove underline */
  display: block;         /* makes the whole card clickable */
}

.board-card a:hover,
.board-card a:focus,
.board-card a:active {
  color: #000;
  text-decoration: none;
}


.board-card img {
  width: 100%;
  height: 220px;          /* choose the visual height you want */
  object-fit: cover;     /* crops instead of stretching */
  border-radius: 12px;
  display: block;
    object-fit: cover;
  object-position: center center; /* horizontal | vertical */
}


.form-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.95rem;
}

.form-message.success {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
}

.form-message.error {
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
}



@media (max-width: 768px) {
  .hero {
    background-position: center top;
  }

  .logo {
    max-width: 240px;
  }

  .hero-bottom h1 {
    font-size: 1.5rem;
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .why-card-image img {
    width: 100%;
  }  
}

@media (max-width: 768px) {
  /* HERO background: zoom out so the pedalboard is visible */
  .hero {
    background-size: 180%;
    background-position: center 20px;
    padding-bottom: 80px;
  }

  /* Pull content up */
  .hero-bottom {
    margin-top: 220px;
    padding: 0 10px;
  }

  /* Smaller headline */
  .hero-bottom h1 {
    font-size: 1.25rem;
    margin-top: 16px;
  }

  /* Smaller paragraph so everything fits */
  .hero-sub {
    font-size: 0.85rem;
    line-height: 1.45;
  }

  /* CTA slightly tighter */
  .cta {
    padding: 12px 22px;
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  /* Stack Name + Email vertically */
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Left-align labels on mobile */
  .feature-request label {
    text-align: left;
  }

  /* Optional: make inputs feel less wide visually */
  .feature-request input,
  .feature-request textarea {
    font-size: 0.95rem;
  }

  /* Align Send button to the left (optional but cleaner on mobile) */
  .feature-request form {
    text-align: left;
  }
}


@media (max-width: 768px) {
  /* Stack About section vertically */
  .about {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Make the image full-width and visually strong */
  .about-image {
    width: 100%;
  }

  .about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
  }
}
