:root {
  --accent: #111;
  --primary-text: #222;
  --secondary-text: #666;
  --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --lightgray: #e0e0e0;
  --background: #fff;
  --card-background: #f9f9f9;
  --toggle-background: #f0f0f0;
  --toggle-icon: #222;
}

body.dark-mode {
  --accent: #f0f0f0;
  --primary-text: #e0e0e0;
  --secondary-text: #ccc;
  --lightgray: #444;
  --background: #1a1a1a;
  --card-background: #2a2a2a;
  --toggle-background: #333;
  --toggle-icon: #f0f0f0;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--primary-text);
  background: var(--background);
  line-height: 1.6;
  padding: 1.5rem;
  transition: background 0.3s ease, color 0.3s ease; 
}

header,
main,
footer {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 1rem 0;
  color: var(--accent);
}

.logo img {
  max-width: 320px;
  height: auto;
  margin: 2rem auto;
}

.logo svg {
    max-width: 320px;
    height: auto;
    margin: 2rem auto;
    display: block;
}

.logo svg path {
    fill: var(--primary-text); 
    transition: fill 0.3s ease;
}

.intro {
  font-size: 1.1rem;
  margin-bottom: 4rem;
}


.section-title {
  font-size: 1.8rem;
  text-align: center;
  margin: 4rem auto 2.5rem auto;
  color: var(--primary-text);
}


.podcast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.podcast-hint {
  font-size: 0.9rem;
  color: var(--secondary-text);
  margin-top: -1.5rem;
  margin-bottom: 2.5rem;
}

.podcast-link {
  text-decoration: none;
  color: inherit;
  display: block;
  border-radius: 8px;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.podcast-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

.podcast {
  border: 1px solid var(--lightgray);
  border-radius: 8px;
  padding: 1.5rem;
  background: var(--card-background);
  text-align: center;
  height: 100%;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.podcast img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.podcast h3 {
  font-size: 1.3rem;
  margin: 0 0 0.5rem 0;
  color: var(--accent);
}

.story {
  margin-top: 6rem;
}

.story .section-title {
  margin-top: 0;
}

/* Story Section */
.collapsible-header {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.collapsible-header::after {
  content: '▼';
  font-size: 0.7em;
  color: var(--secondary-text);
  transition: transform 0.4s ease;
}

.collapsible-header:focus-visible {
  outline: 2px solid #005fcc;
  outline-offset: 2px;
}

.story-content {
  position: relative;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
  margin-top: -1.5rem;
}

.story-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--background));
  pointer-events: none;
  transition: opacity 0.3s ease, background 0.3s ease;
}

.story.is-open .story-content::after {
  opacity: 0;
}

.story.is-open .collapsible-header::after {
  transform: rotate(180deg);
}


/* About Us Section */
.profiles-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.profile-card {
  flex: 1 1 320px;
  max-width: 420px;
  padding: 2rem;
  background: var(--card-background);
  border: 1px solid var(--lightgray);
  border-radius: 8px;
  text-align: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.profile-card img {
  width: 100%;
  max-width: 150px;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem auto;
  border: 3px solid var(--background);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.profile-card h3 {
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.profile-card p {
  font-size: 0.95rem;
  color: var(--secondary-text);
}


/* --- Booking Section --- */
.booking {
  margin-top: 4rem;
  padding: 1.5rem 1.5rem 2.5rem 1.5rem;
  background-color: var(--card-background);
  border-radius: 8px;
  border: 1px solid var(--lightgray);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.booking p {
  max-width: 700px;
  margin: 0 auto 1.5rem auto;
}

.cta-button {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background-color: var(--accent);
  color: var(--background);
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.2s, transform 0.2s, color 0.3s ease;
}

.cta-button:hover {
  background-color: #333;
  transform: scale(1.05);
}


footer {
  margin-top: 5rem;
  font-size: 0.9rem;
  color: var(--secondary-text);
}

footer a {
  color: var(--secondary-text);
  text-decoration: none;
  border-bottom: 1px dotted var(--secondary-text);
  transition: color 0.3s ease, border-color 0.3s ease;
}

footer a:hover {
  border-bottom-style: solid;
}

.legal ul {
  list-style-position: inside;
  padding-left: 0;
  text-align: left;
}

.legal li {
  text-indent: -1.5em;
  padding-left: 1.5em;
  margin-bottom: 0.5em;
  text-align: left;
}

.dark-mode-toggle {
    background: var(--toggle-background);
    border: 1px solid var(--lightgray);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.dark-mode-toggle:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dark-mode-toggle svg {
    width: 20px;
    height: 20px;
    stroke: var(--toggle-icon);
    transition: stroke 0.3s ease;
}

.dark-mode-toggle .moon {
    display: none;
}

.dark-mode-toggle.active .sun {
    display: none;
}

.dark-mode-toggle.active .moon {
    display: block;
}


/* --- Media Queries --- */
@media (max-width: 768px) {
  .profiles-container {
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  body {
    padding: 1rem;
  }

  .logo img, .logo svg { 
    max-width: 240px;
  }

  .section-title {
    font-size: 1.3rem;
  }

  h1 {
    font-size: 2rem;
  }

  .dark-mode-toggle {
      top: 1rem;
      right: 1rem;
  }
}