:root {
  --bg: #0d0d0f;
  --bg-light: #151518;
  --text: #e5e5e5;
  --text-muted: #a0a0a0;
  --accent: #3d7bff;
  --maxw: 900px;
  --radius: 8px;
}

/* ---------- Global ---------- */
html, body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial;
  line-height: 1.6;
  overflow-x: hidden; /* prevent horizontal scroll */
}

/* Make main content take all available vertical space */
main {
  flex: 1 0 auto;          /* grow & shrink as needed */
}


a {
  text-decoration: none;
  color: var(--accent);
}

.container {
  max-width: var(--maxw);
  margin: 2rem auto;
  padding: 0 1rem;
}

/* ---------- Site Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--bg-light);
  border-bottom: 1px solid #222;
  z-index: 1000;
}

.site-header h1 {
  margin: 0;
  font-size: 1.2rem;
}

.site-header nav {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }

  .site-header nav a {
    margin: 0;
    font-size: 0.9rem;
  }


/* ---------- About Layout ---------- */
.about-layout {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.profile-photo {
  width: 300px;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.about-text {
  max-width: 600px;
}

/* Carousel container */
.logo-carousel {
  overflow: hidden;
  width: 100%;
  position: relative;
  margin-top: 1.5rem;
}

/* Fading edges */
.logo-carousel::before,
.logo-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}

.logo-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-light), transparent);
}

.logo-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-light), transparent);
}

/* Track with all logos */
.logo-track {
  display: flex;
  gap: 2rem;
  width: calc(2 * 100%); /* double width because logos are repeated */
  animation: slideCarousel 60s linear infinite;
}

/* Individual logos */
.logo-track .logo {
  flex-shrink: 0;
  height: 100px;
  width: auto;
}

/* Keyframes for smooth scroll */
@keyframes slideCarousel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

footer {
  flex-shrink: 0;
  padding: 0.1rem 0.5rem;     /* almost no vertical padding */
  text-align: center;
  font-size: 0.8rem;          /* smaller text */
  line-height: 1;             /* compact line height */
  color: var(--text);
  background: var(--bg-light);
  border-top: 1px solid #222;
}


.container {
  max-width: 900px;  /* matches your site's main content width */
  margin: 0 auto;    /* centers the container */
  padding: 0 1rem;   /* small horizontal padding */
  box-sizing: border-box; */
}

.video-player {
  width: 100%;           /* responsive width */
  max-width: 550px;      /* medium size */
  border-radius: 8px;    /* rounded corners */
  margin: 1.5rem auto;   /* center horizontally with some spacing */
  display: block;
}


@media (max-width: 768px) {
  /* About layout stacks vertically */
  .about-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  /* Profile photo scales nicely */
  .profile-photo {
    width: 40%;       /* fits the screen */
    max-width: 250px; /* limits oversized images */
    height: auto;
    margin-bottom: 1rem;
  }

  /* Text container fills width with padding */
  .about-text {
    width: 70%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    padding: 0 0.5rem;
  }

  /* Sticky header wraps and centers */
  .site-header {
    flex-wrap: wrap;
    text-align: center;
    padding: 0.8rem 1rem;
  }

  .site-header nav {
    justify-content: center;
    margin-top: 0.5rem;
    gap: 0.5rem;
  }

  /* Logo carousel adapts to mobile */
  .logo-carousel {
    width: 100%;
    overflow: hidden;
    margin-top: 1rem;
    position: relative;
  }

  .logo-track {
    display: flex;
    gap: 1rem;        /* smaller gap for small screens */
    width: calc(2 * 100%);
    animation: slideCarousel 40s linear infinite; /* slightly faster on mobile */
  }

  .logo-track .logo {
    height: 60px;     /* smaller logos */
    width: auto;
    flex-shrink: 0;
  }

  /* Footer remains compact */
  footer {
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
  }

  /* Video player scales for mobile */
  .video-player {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 1rem auto;
  }
}




