:root {
  --slate: #424f64;
  --slate-off: #7e91b0;
  --bone: #efefe8;
  --bone-off: #eaeae4;
  --red: #de3838;
  --bone-light: #f1f1ec;
}

/* =========================
   BASE
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

.gap {
  height: 120px;
}

body {
  top: 74px;
  background: var(--bone-light);
  color: var(--slate);
  margin: 0;
  
}
.block-content{
  background-color: var(--bone-light);
  background-image: url("https://www.transparenttextures.com/patterns/asfalt-light.png");
}

h2 {
  text-align: center;
  margin: 14px 0;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1px;
}

p {
  line-height: 1.5;
  font-size: 14px;
}

.block-content {
  min-height: 70vh;
}
/* ------------------------------------------------ */

/* -- NAVBAR -- */

header {

  position: fixed;
  width: 100%;
  top: -1;
  text-transform: uppercase;
  z-index: 999;
  background: var(--slate);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2px 10px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  position: relative;
}

/* =========================
   BRAND
========================= */

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  z-index: 2;
}

.brand img {
  height: 70px;
  width: auto;
  padding: 5px;
}

.brand-text {
  font-family: "Epilogue", sans-serif;
  font-weight: 550;
  font-size: 19px;
  color: var(--bone);
  white-space: nowrap;
  letter-spacing: 1.5px;
}

/* =========================
   NAV (DESKTOP)
========================= */

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: 0.2s ease;
}

.nav a:hover {
  color: #fff;
}

/* underline hover */
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #fff;
  transition: width 0.25s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* CTA */
.nav a.cta {
  padding: 8px 14px;
  background: var(--slate);
  color: var(--bone);
  border-radius: 6px;
  font-weight: 600;
}

/* =========================
   HAMBURGER (BASE)
========================= */

.menu-toggle {
  display: none;

  width: 40px;
  height: 40px;

  background: none;
  border: none;
  cursor: pointer;

  position: relative;
  z-index: 3;
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;

  transform: translateX(-50%);
  transition: 0.25s ease;
}

/* hamburger lines */
.menu-toggle span:nth-child(1) {
  top: 12px;
}

.menu-toggle span:nth-child(2) {
  top: 19px;
}

.menu-toggle span:nth-child(3) {
  top: 26px;
}

/* =========================
   HAMBURGER → X (CLEAN)
========================= */

.menu-toggle.active span:nth-child(1) {
  top: 19px;
  transform: translateX(-50%) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  top: 19px;
  transform: translateX(-50%) rotate(-45deg);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .nav-container {
    justify-content: center;
    height: 74px;
  }
  
  /* centered brand */
  .brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 3px;
  }

  .brand-text {
    font-size: 16px;
  }

  .brand img {
    height: 65px;
    width: auto;
  }

  .brand-image {
    margin-left: -10% ;
  }

  /* hamburger RIGHT */
  .menu-toggle {
    columns: var(--bone);
    display: block;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
  }

  /* dropdown nav */
  .nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;

    flex-direction: column;
    align-items: center;
    gap: 18px;

    background: var(--slate);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    padding: 18px 0;

    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: 0.25s ease;
  }

  .nav.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav a {
    font-size: 16px;
  }

  .nav a.cta {
    width: 80%;
    text-align: center;
  }
}

/* ------------------------------------------------ */

/* =========================
   HERO
========================= */

.hero {
  background: var(--slate);
  color: var(--bone);
  padding: 80px 24px;
  text-align: center;
}

.hero h2 {
  font-size: 28px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero p {
  font-size: 13px;
  letter-spacing: 2px;
  opacity: 0.9;
}

.hero .highlight {
  color: var(--red);
}

/* =========================
   FORMS
========================= */

form {
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.section {
  background: var(--bone);
  border: 1px solid rgba(66, 79, 100, 0.2);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
}

.section h3 {
  margin: 0 0 12px 0;
  font-size: 15px;
  letter-spacing: 1px;
}

label {
  font-size: 12px;
  font-weight: 600;
  color: var(--slate);
  margin-top: 8px;
  display: block;
}

.field {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  margin-top: 8px;
}

#profile_picture {
  display: none;
}

.profile-picture {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.camera-upload {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 90px;
  height: 90px;

  border-radius: 50%;
  border: 1px solid #e5e7eb;

  cursor: pointer;

  color: var(--slate);

  transition: all 0.2s ease;
  transform: scale(1);
}

.camera-upload:hover {
  transform: scale(1.08);
  background: #f3f4f6;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.camera-upload:active {
  transform: scale(0.95);
}
/* =========================
   INPUTS
========================= */

input {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(66, 79, 100, 0.25);
  border-radius: 10px;
  font-size: 16px;
  margin-top: 6px;
  background: rgba(255, 255, 255, 0.4);
  color: var(--slate);
}

input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(159, 16, 16, 0.15);
}

/* =========================
   ROWS
========================= */

.row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 800px) {
  .row {
    flex-direction: row;
  }
}

/* =========================
   ERROR
========================= */

.error {
  color: var(--red);
  font-size: 12px;
  margin-top: 4px;
  min-height: 14px;
}

/* =========================
   SIGNATURE
========================= */

.center-mobile {
  display: flex;
  justify-content: center;
  width: 100%;
}

.signature-wrapper {
  width: 100%;
  max-width: 900px;
}

canvas {
  width: 100%;
  height: 240px;
  border: 1px solid rgba(66, 79, 100, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.4);
  touch-action: none;
  display: block;
}

/* =========================
   BUTTONS
========================= */

button {
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}

button[type="submit"] {
  background: var(--slate);
  color: var(--bone);
  font-size: 16px;
  padding: 14px;
  border-radius: 14px;
  margin-top: 10px;
}

button[type="button"] {
  background: rgba(66, 79, 100, 0.12);
  color: var(--slate);
  margin-top: 8px;
}

/* =========================
   CHECKBOX
========================= */

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin-top: 10px;
  font-size: 13px;
}

.checkbox-label input {
  width: auto;
  margin: 0;
}

/* =========================
   IMAGE PREVIEW
========================= */

.preview-img {
  margin-top: 10px;
  max-width: 160px;
  border-radius: 10px;
  display: none;
  border: 1px solid rgba(66, 79, 100, 0.25);
}

/* =========================
   DASHBOARD
========================= */

#dashboard {
  display: flex;
  justify-content: center;
  padding-top: 40px;
}

.dashboard-card {
  max-width: 600px;
  width: 100%;
  background: var(--bone);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(66, 79, 100, 0.2);
}

/* =========================
   PROFILE
========================= */

.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
}

.profile-pic {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(66, 79, 100, 0.2);
}

/* =========================
   STACK / CARDS
========================= */

.stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card {
  background: rgba(255, 255, 255, 0.4);
  padding: 14px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(66, 79, 100, 0.15);
}

/* =========================
   FOOTER
========================= */

footer {
  background: var(--slate);
  color: var(--bone);
  padding-top: 60px;
  padding-inline: 10%;
}

/* layout */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;

  padding: 0 30px 50px;
}

/* headings */
.footer-container h4 {
  color: var(--bone-off);
  margin-bottom: 18px;
  font-size: 16px;
  letter-spacing: 0.04em;
}

/* brand */
.footer-brand img {
  justify-content: center;
  width: 80px;
  margin-bottom: 5px;
  padding: 5px;
  margin-left: 25%;
}

.footer-brand p {
  line-height: 1.7;
  color: var(--bone-off);
}

/* links */
.footer-links,
.footer-social {
  display: flex;
  flex-direction: column;
}

.footer-links a,
.footer-social a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  margin-bottom: 12px;

  transition: 0.2s ease;
}

.footer-links a:hover,
.footer-social a:hover {
  color: white;
  transform: translateX(3px);
}


/* contact */
.footer-contact p {
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
}

/* bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);

  text-align: center;

  padding: 20px;
  font-size: 14px;

  color: rgba(255,255,255,0.5);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

}

@media (max-width: 600px) {

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand img {
    margin: 0 auto 18px;
  }

  .footer-links a:hover,
  .footer-social a:hover {
    transform: none;
  }

}

/* =========================
   MOBILE
========================= */

@media (max-width: 800px) {
  nav {
    display: none;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}



.reveal-left {
  overflow: hidden;
}

/* initial hidden state */
.slide-text {
  opacity: 0;
  transform: translateX(-80px);
  transition: all 0.9s ease-out;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* active state (triggered on scroll) */
.slide-text.show {
  opacity: 1;
  transform: translateX(0);
}

.home-body {
  margin-left: -10%;
  margin-top: -10%;
}

/* =========================
   PAGES GENERAL
========================= */


.page-section {
  padding-bottom: 50px;
}

.page-center {
  display: flex;
  justify-content: center;
  width: 100%;
}

.page-hero {
  max-width: 900px;
  margin: 0 auto;

  padding: 220px 30px 100px;

  text-align: center;
}

.page-hero h1 {
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.05;

  margin-bottom: 24px;
}

.page-hero p {
  font-size: 20px;
  line-height: 1.8;

  color: #4b5563;
}

.page-content h2 {
  font-size: clamp(32px, 5vw, 52px);

  margin-bottom: 30px;
}

.page-content h3 {
  font-weight: 600;
  font-size: 18px;
}

.page-content p {
  font-size: 19px;
  line-height: 1.9;

  color: var(--slate);

  margin-bottom: 24px;
}

@media (max-width: 900px) {

  .page-content {
    text-align: center;
    padding: 100px 24px 0;
  }

  .page-hero {
    padding: 160px 24px 70px;
  }

  .page-member {
    padding-inline: 5%;
  }
}



.footer-contact a {
  color: #e0c3c3; /* slate-300 */
  text-decoration: none;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

/* Hover state */
.footer-contact a:hover {
  color: #fecaca; /* slate-50 */
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Active state */
.footer-contact a:active {
  color: #d27272; /* slate-200 */
}

/* Visited links */
.footer-contact a:visited {
  color: #c68892; /* slate-400 (slightly dimmer) */
}

/* Optional: focus for accessibility */
.footer-contact a:focus-visible {
  outline: 2px solid #fecaca;
  outline-offset: 2px;
  border-radius: 2px;
}