/* MY MUSE - Style Sheet */
/* Color palette from logo */
:root {
  --navy: #1a3a6b;
  --navy-dark: #122a4f;
  --pink: #e84c8a;
  --sky: #87ceeb;
  --orange: #e8723a;
  --olive: #8b9a2b;
  --amber: #f0a030;
  --maroon: #8b1a2a;
  --cream: #faf8f5;
  --warm-gray: #f0ece6;
  --text: #2a2a2a;
  --text-light: #555;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--orange);
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 2.2rem;
  color: var(--navy);
}

h2 {
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.3rem;
  color: var(--navy-dark);
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

/* Container */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(26, 58, 107, 0.97);
  backdrop-filter: blur(8px);
  z-index: 1000;
  padding: 0;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: none;
  list-style: none;
  gap: 1.5rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--amber);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile menu */
.nav-mobile {
  display: none;
  background: var(--navy-dark);
  padding: 1rem 1.25rem;
}

.nav-mobile.active {
  display: block;
}

.nav-mobile a {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
}

.nav-mobile a:hover {
  color: var(--amber);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 7rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 70%, rgba(232, 114, 58, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(135, 206, 235, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 50% 50%, rgba(232, 76, 138, 0.05) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(2%, -2%) rotate(1deg); }
  66% { transform: translate(-1%, 1%) rotate(-1deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: 150px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.hero h1 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero .subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0.5rem auto 2rem;
  font-style: italic;
}

.hero-cta {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(232, 114, 58, 0.4);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 114, 58, 0.5);
  color: #fff;
}

/* Section styling */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--warm-gray);
}

.section-dark {
  background: var(--navy);
  color: #fff;
}

.section-dark h2 {
  color: #fff;
}

.section-dark h3 {
  color: var(--sky);
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header p {
  color: var(--text-light);
  max-width: 650px;
  margin: 0.5rem auto 0;
}

/* Accent bar */
.accent-bar {
  width: 60px;
  height: 4px;
  border-radius: 2px;
  margin: 0 auto 1rem;
}

.accent-pink { background: var(--pink); }
.accent-orange { background: var(--orange); }
.accent-olive { background: var(--olive); }
.accent-sky { background: var(--sky); }
.accent-amber { background: var(--amber); }

/* Intro / About */
.intro-text {
  font-size: 1.05rem;
  line-height: 1.85;
  max-width: 750px;
  margin: 0 auto;
}

.intro-text strong {
  color: var(--navy);
}

/* Target audience */
.audience-list {
  list-style: none;
  max-width: 750px;
  margin: 0 auto;
}

.audience-list li {
  padding: 0.75rem 0 0.75rem 2.2rem;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.audience-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: bold;
  font-size: 1.1rem;
}

/* Sessions */
.sessions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.session-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--navy);
  transition: transform 0.3s, box-shadow 0.3s;
}

.session-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.session-card:nth-child(2) { border-left-color: var(--pink); }
.session-card:nth-child(3) { border-left-color: var(--orange); }
.session-card:nth-child(4) { border-left-color: var(--olive); }
.session-card:nth-child(5) { border-left-color: var(--sky); }
.session-card:nth-child(6) { border-left-color: var(--amber); }
.session-card:nth-child(7) { border-left-color: var(--maroon); }
.session-card:nth-child(8) { border-left-color: var(--pink); }
.session-card:nth-child(9) { border-left-color: var(--olive); }
.session-card:nth-child(10) { border-left-color: var(--orange); }

.session-num {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  text-align: center;
  line-height: 32px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.session-card:nth-child(2) .session-num { background: var(--pink); }
.session-card:nth-child(3) .session-num { background: var(--orange); }
.session-card:nth-child(4) .session-num { background: var(--olive); }
.session-card:nth-child(5) .session-num { background: var(--sky); color: var(--navy); }
.session-card:nth-child(6) .session-num { background: var(--amber); }
.session-card:nth-child(7) .session-num { background: var(--maroon); }
.session-card:nth-child(8) .session-num { background: var(--pink); }
.session-card:nth-child(9) .session-num { background: var(--olive); }
.session-card:nth-child(10) .session-num { background: var(--orange); }

.session-card h3 {
  margin-bottom: 0.5rem;
}

.session-card p {
  font-size: 0.93rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* Goal section */
.goal-content {
  max-width: 750px;
  margin: 0 auto;
  font-size: 1.02rem;
}

.goal-content blockquote {
  background: rgba(232, 76, 138, 0.08);
  border-left: 4px solid var(--pink);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--navy-dark);
}

/* Practical info */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.info-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.info-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.info-card h3 {
  text-align: center;
}

.info-card p {
  font-size: 0.93rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* Books / References */
.book-list {
  list-style: none;
  max-width: 750px;
  margin: 0 auto;
}

.book-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.book-list .author {
  font-weight: 600;
  color: var(--navy);
}

.book-list .title {
  font-style: italic;
  color: var(--text-light);
}

/* About Ruth */
.about-ruth {
  max-width: 750px;
  margin: 0 auto;
}

.about-ruth p {
  font-size: 1.02rem;
}

.motto {
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  margin-top: 1.5rem;
}

/* Footer */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
}

.footer strong {
  color: #fff;
}

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 0.25rem;
}

.lang-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s;
}

.lang-btn.active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Language visibility is handled by inline <style> in index.html
   to prevent cache mismatch between HTML and CSS on deploy */

/* Responsive */
@media (min-width: 600px) {
  .sessions-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }

  .hero {
    padding: 8rem 0 5rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-logo {
    width: 180px;
  }

  .section {
    padding: 5rem 0;
  }

  .info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 9999;
}

.skip-link:focus {
  top: 0;
}

/* Focus styles */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
