/* styles.css */

body {
  background-color: #000000;
  color: #B5B5B5; /* Set default text color to silver */
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

header, footer, nav, h1, h2, h3, h4, h5, h6, p, a, li, label, input, textarea, button {
  color: #B5B5B5;
}

.logo {
  width: clamp(60px, 10vw, 100px); /* responsive logo size */
  height: auto; /* Maintain aspect ratio */
  display: block;
}

.brand {
  display: flex;
  align-items: center; /* ensures h1 stays vertically centered to logo */
  gap: 0.5rem; /* reduced space between logo and h1 */
}

.brand h1 {
  margin: 0;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem); /* responsive scaling */
  color: #FFFFFF;
  font-weight: bold;
  line-height: 1; /* keeps text aligned to middle of image */
  display: flex;
  align-items: center; /* vertical centering */
}

a {
  text-decoration: none;
  color: #FFFFFF; /* Default link color is white */
}

a:hover {
  color: #0070C0; /* Hover color is the secondary blue */
}

header {
  background-color: #C81919;
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

/* Hamburger menu button */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

/* Mobile nav */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background-color: #C81919;
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    padding: 1rem;
  }

  nav ul.show {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}

.hero {
  background: linear-gradient(135deg, #C81919, #0070C0);
  text-align: center;
  padding: 4rem 2rem;
}

.btn {
  background-color: #0070C0;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn:hover {
  transform: scale(1.05);
  background-color: rgb(102, 198, 156);
}

.section {
  padding: 3rem 2rem;
}

.section.dark {
  background-color: #1a1a1a;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card, .insight, .team-card {
  background-color: #1a1a1a;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.team-card {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.team-card img {
  border-radius: 50%;
}

.team-info {
  flex-grow: 1;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input, textarea {
  padding: 0.5rem;
  border-radius: 4px;
  border: 1px solid #B5B5B5;
  background-color: #000000;
  color: #B5B5B5;
}

button[type="submit"] {
  background-color: #C81919;
  color: #fff;
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button[type="submit"]:hover {
  background-color: #0070C0;
}

footer {
  background-color: #000000;
  text-align: center;
  padding: 1rem;
}

html {
  scroll-behavior: smooth;
}

.insight {
  flex: 1 1 300px;
  max-width: 500px;
  min-height: 100%;
  text-align: left;
  background-color: #1a1a1a;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.podcast-row {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.podcast-image {
  max-width: 200px;
  height: auto;
  border-radius: 8px;
}

.podcast-content {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.player-icon {
  width: 24px;
  height: 24px;
}

.podcast-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.podcast-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
}

.podcast-links-flat {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* center links horizontally when wrapping */
  gap: 1rem;
  margin: 1rem 0;
}

.player-link {
  background-color: #1a1a1a;
  color: #B5B5B5;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: bold;
  text-align: left;
  flex: 1 1 200px; /* consistent size */
  min-width: 200px;
  max-width: 200px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.player-link:hover {
  background-color: #2a2a2a;
  color: #ffffff;
  transform: scale(1.05);
}

.contact-section {
  background-color: #1a1a1a;
  padding: 4rem 2rem;
  text-align: center;
  color: #d3d3d3;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.contact-section p {
  margin-bottom: 2rem;
  color: #b5b5b5;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  background-color: #000000;
  border: 1px solid #333333;
  color: #d3d3d3;
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button[type="submit"] {
  background-color: #C81919;
  color: #ffffff;
  border: none;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.contact-form button[type="submit"]:hover {
  background-color: #a21515;
}
/* === Mobile Hamburger Menu === */
/* Base: hidden toggle on desktop */
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 40px;
  height: 40px;
  margin-left: 0.25rem;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}
.menu-toggle span:nth-child(1) { top: 12px; }
.menu-toggle span:nth-child(2) { top: 19px; }
.menu-toggle span:nth-child(3) { top: 26px; }

/* Animate to an X when open */
header.nav-open .menu-toggle span:nth-child(1) { top: 19px; transform: rotate(45deg); }
header.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
header.nav-open .menu-toggle span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* --- Responsive Navigation --- */
@media (max-width: 768px) {
  .nav-container { align-items: center; flex-wrap: wrap; }

  /* Show hamburger */
  .menu-toggle { display: inline-block; }

  /* Nav takes full width and collapses */
  nav { width: 100%; }
  nav ul {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin-top: 0.5rem;
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
  }
  nav ul li a { padding: 0.85rem 1rem; width: 100%; display: block; }

  /* When header has nav-open, reveal the menu */
  header.nav-open nav ul { display: flex; }
}
