@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&display=swap');

/* Base styling*/
:root {
  --primary: #b0b8c5;
  --primary-dark: #5c6370;
  --secondary: #e5e7eb;
  --background-color: #f9fafb;
  --text: #1f2937;
  --white: #ffffff;
  --font-family: 'Outfit', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background-color: var(--background-color);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #000;
  color: #fff;
  padding: 8px;
  text-decoration: none;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 16px;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 0.75rem;
}

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

h3 a:hover {
  text-decoration: underline;
}

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1rem;
}

*:focus {
  outline: 2px solid var(--primary-dark);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation styling*/
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--white);
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 101;
}

.hamburger {
  display: block;
  cursor: pointer;
  position: relative;
  z-index: 102;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--text);
  transition: all 0.3s ease;
}

.nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  list-style: none;
  padding: 0;
  margin: 0;
  transition: right 0.3s ease;
  background-color: var(--white);
}

.nav-links.active {
  right: 0;
  z-index: 100;
}

.nav-links li {
  margin: 1rem 0;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero-section {
  width: 100%;
  margin-bottom: 2rem;
  padding: 2rem 16px;
  text-align: center;
  background-color: var(--white);
  border-bottom: 1px solid var(--secondary);
}

.hero-content h1 {
  margin-bottom: 1rem;
}

/* Content sections */
.main-content {
  padding: 2rem 0;
}

/* Daily Check-in section */
.checkin-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  margin-bottom: 2rem;
}

.checkin-section h2 {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 1.5rem;
}

.checkin-form,
.checkin-intro {
  flex: 1;
  padding: 0;
}

.checkin-intro {
  align-self: center;
}

.checkin-form {
  width: 100%;
}

fieldset {
  border: none;
  margin: 0;
  padding: 0;
  margin-bottom: 1.5rem;
}

legend {
  font-weight: bold;
  margin-bottom: 0.75rem;
  width: 100%;
  border-bottom: 1px solid var(--secondary);
  padding-bottom: 0.5rem;
}

.option-label {
  display: block;
  margin-bottom: 1rem;
  padding: 0.7rem;
  border: 1px solid var(--secondary);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.option-label:hover {
  background-color: var(--background-color);
}

input[type="radio"] {
  margin-right: 0.5rem;
}

.submit-button {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background-color: var(--primary-dark);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.submit-button:hover {
  background-color: var(--text);
  text-decoration: underline;
}

/* Features section */
.features-section {
  background-color: var(--secondary);
  padding: 3rem 1rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 100%;
  margin: 0 auto;
}

.feature-card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.feature-card img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.feature-card h3 {
  padding: 1rem 0;
  text-align: center;
}

/* Results display */
body.fullscreen-mode header,
body.fullscreen-mode footer,
body.fullscreen-mode #main-content>*:not(#checkin-section) {
  display: none !important;
}

body.fullscreen-mode {
  overflow: hidden;
  height: 100vh;
}

.checkin-section.result-active {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  z-index: 999;
  background-color: var(--background-color);
  overflow-y: auto;
  padding: 0;
  margin: 0;
  border-radius: 0;
}

/* Result styling */
.result-content,
.affirmation-card {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Background image and video */
.meditation-background,
.yoga-background {
  width: 100%;
  position: relative;
}

.meditation-background video,
.yoga-background img {
  width: 100%;
  height: auto;
  display: block;
}

/* Affirmation styling */
.affirmation-card {
  background-color: var(--white);
  padding: 0;
  text-align: center;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  height: 70vh;
  margin-top: 10px;

}

.affirmation-text {
  font-size: 1.2rem;
  font-style: italic;
  margin: 1rem 0;
  padding: 2rem 1rem;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Audio player styling*/
.audio-player,
.affirmation-audio {
  width: 100%;
  padding: 0 1rem 1rem 1rem;
  margin-top: 0;
  position: relative;
  bottom: 0;
  left: 0;
  transform: none;
}

.audio-player audio,
.affirmation-audio audio {
  width: 100%;
  background: transparent;
  border: none;
  box-shadow: none;
  appearance: none;
}

/* Text styling for all */
.content-text {
  padding: 1rem;
  background-color: var(--white);
  text-align: center;
}

.content-text h2 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.content-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Navigation button styling */
.navigation-button {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background-color: var(--primary-dark);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 1rem 0;
}

.navigation-button:hover {
  background-color: var(--text);
  text-decoration: underline;
}

.intro {
max-width: 800px;
padding: 12px 14px;
margin: 0 auto;
}


/* Footer styling */
.site-footer {
  background-color: var(--white);
  padding: 2rem;
  text-align: center;
  border-top: 1px solid var(--secondary);
  margin-top: 3rem;
}

.footer-link {
  color: var(--text);
  text-decoration: none;
  margin: 0 1rem;
  font-size: 0.9rem;
}

.footer-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.copyright-text {
  margin-top: 1.5rem;
  color: var(--text);
  font-size: 0.8rem;
}

/* Responsive styles */
@media (min-width: 668px) {
  .checkin-section {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  /* Centering styles for result pages 
  .checkin-section.result-active {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    inset: auto;
    height: auto;
    overflow: visible;
  }
  
  .meditation-background, 
  .yoga-background,
  .affirmation-card {
    width: 100%;
    max-width: 600px;
  }
  
  .meditation-background video,
  .yoga-background img {
    width: 100%;
    max-width: 600px;
    height: auto;
  }*/
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }

  .navbar {
    padding: 1rem 2rem;
  }

  .hamburger {
    display: none;
  }

  .nav-links {
    position: static;
    flex-direction: row;
    height: auto;
    background-color: transparent;
  }

  .nav-links li {
    margin: 0 1.5rem;
  }

  .hero-section {
    padding: 4rem 2rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1000px;
  }
  
  /* Larger width for results on desktop */
  .checkin-section.result-active,
  .meditation-background,
  .yoga-background,
  .meditation-background video,
  .yoga-background img,
  .affirmation-card {
    max-width: 800px;
  }
}








