/* Base styles */
body {
  font-family: 'Noto Serif', serif;
  margin: 0;
  background: #f8f3ef;
  color: #3b2f2f;
}

/* Navbar styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid #ddd;
  font-size: 1rem;
}

.navbar-left, .navbar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.navbar a {
  text-decoration: none;
  color: #1f1f1f;
}

.navbar a.active {
  color: #d4a400;
  font-weight: bold;
}

/* Hero section styles */
.hero {
  display: flex;
  height: 100vh;
}

.hero-left {
  flex: 1;
  padding: 6rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-left h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.hero-left p {
  margin-left: 10rem;
  text-align: justify;
  font-size: 1.9rem;
  line-height: 1.6;
  width: 50%;
}

.hero-left em {
  border-bottom: 2px solid #f1d67c;
}

.hero-right {
  flex: 1;
  position: relative;
  overflow: hidden;
}

/* About section styles */
.hero-about {
  background: url('images/thay.png') center/cover no-repeat;
  height: 80vh;
  color: white;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
}

.hero-about h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-about blockquote {
  font-size: 1.5rem;
  font-style: italic;
}

.section-about {
  max-width: 1200px;
  margin: auto;
  padding: 3rem 2rem;
}

.section-about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.grid-about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

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

.story-about {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
}

.story-about img {
  flex: 1 1 400px;
  border-radius: 4px;
}

.story-text {
  flex: 2 1 400px;
}

a.more-about {
  display: inline-block;
  margin-top: 1rem;
  color: #d4a400;
  font-weight: bold;
  text-decoration: none;
}

/* Footer styles */
footer {
  background-color: #f5eec3;
  text-align: center;
  padding: 1rem;
  font-size: 0.9em;
}

/* About page styles */
.about-layout {
  display: flex;
  max-width: 1200px;
  margin: auto;
  padding: 3rem 2rem;
  font-family: 'Georgia', serif;
}

.about-sidebar {
  flex: 0 0 220px;
  margin-right: 3rem;
}

.about-sidebar ul {
  list-style: none;
  padding-left: 0;
  font-size: 1rem;
}

.about-sidebar li {
  margin-bottom: 0.8rem;
}

.about-sidebar a {
  text-decoration: none;
  color: #777;
  transition: color 0.2s;
}

.about-sidebar a.active {
  font-weight: bold;
  color: #cc8800;
}

.about-main {
  flex: 1;
  max-width: 800px;
}

.about-main h1 {
  font-size: 2rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.about-main p {
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #333;
  text-align: justify;
}

.about-main a {
  color: #cc8800;
  text-decoration: none;
  border-bottom: 1px solid #cc8800;
}

.about-main a:hover {
  text-decoration: underline;
}

.about-main section {
  display: none;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.about-main section.visible {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.about-main section:nth-child(even).visible {
  transform: translateX(-50px);
}

.image-float-right {
  float: right;
  margin-left: 2rem;
  max-width: 300px;
  border-radius: 6px;
}

/* Development page styles */
.mindfulness-layout {
  display: flex;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
  gap: 2rem;
}

.mindfulness-sidebar {
  flex: 1;
  min-width: 200px;
}

.mindfulness-sidebar ul {
  list-style: none;
  padding-left: 0;
}

.mindfulness-sidebar li {
  margin-bottom: 1rem;
  font-size: 1rem;
  cursor: pointer;
}

.mindfulness-sidebar li.active {
  color: #cc3333;
  font-weight: bold;
}

.mindfulness-sidebar .submenu {
  display: none;
  padding-left: 1rem;
  font-size: 0.95rem;
  color: #777;
}

.mindfulness-sidebar .submenu li {
  margin: 0.3rem 0;
}

.mindfulness-sidebar .submenu.show {
  display: block;
}

.mindfulness-content {
  flex: 3;
}

.mindfulness-content h2 {
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.mindfulness-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.mindfulness-content p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

.mindfulness-image {
  float: right;
  margin: 1rem 0 1rem 2rem;
  max-width: 300px;
  border-radius: 4px;
  border: 2px solid #eee;
}

/* Slider styles */
.slide {
  display: none;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
}

.fade {
  animation: fade 1s ease-in-out;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  user-select: none;
  background-color: rgba(0,0,0,0.3);
  border-radius: 0 3px 3px 0;
  z-index: 10;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* Splash screen styles */
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #3b0202;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 1s ease-out;
}

#splash-screen .logo-container img {
  width: 200px;
  animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

#splash-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* Responsive styles */
@media screen and (max-width: 1200px) {
  .hero-left p {
    margin-left: 5rem;
    width: 70%;
  }
}

@media screen and (max-width: 992px) {
  .navbar {
    flex-direction: column;
    padding: 1rem;
  }

  .navbar-left, .navbar-right {
    width: 100%;
    justify-content: center;
    margin: 0.5rem 0;
  }

  .hero {
    flex-direction: column;
    height: auto;
  }

  .hero-left {
    padding: 3rem 2rem;
  }

  .hero-left p {
    margin-left: 0;
    width: 100%;
    font-size: 1.5rem;
  }

  .hero-about {
    height: 60vh;
    padding: 2rem;
  }

  .hero-about h1 {
    font-size: 2.5rem;
  }

  .hero-about blockquote {
    font-size: 1.2rem;
  }

  .about-layout {
    flex-direction: column;
  }

  .about-sidebar {
    margin-bottom: 2rem;
  }

  .image-float-right {
    float: none;
    display: block;
    margin: 1rem auto;
    width: 100%;
    max-width: 100%;
  }

  .mindfulness-layout {
    flex-direction: column;
  }

  .mindfulness-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ccc;
  }

  .mindfulness-sidebar ul {
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
    gap: 1rem;
    padding: 0.5rem;
  }

  .mindfulness-sidebar ul li {
    padding: 0.5rem 1rem;
    flex: none;
    font-size: 0.9rem;
  }

  .mindfulness-sidebar .submenu {
    display: none;
    flex-direction: column;
    padding-left: 1rem;
  }

  .mindfulness-sidebar .submenu.show {
    display: flex;
  }

  .mindfulness-content {
    padding: 1rem;
  }

  .mindfulness-image {
    float: none;
    margin: 2rem auto;
    display: block;
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .navbar-left, .navbar-right {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .navbar a {
    font-size: 0.9rem;
  }

  .hero-left h1 {
    font-size: 2rem;
  }

  .hero-left p {
    font-size: 1.2rem;
  }

  .section-about {
    padding: 2rem 1rem;
  }

  .section-about h2 {
    font-size: 1.8rem;
  }

  .story-about {
    flex-direction: column;
  }

  .story-about img {
    width: 100%;
  }

  .about-main h1 {
    font-size: 1.8rem;
  }

  .about-main p {
    font-size: 1rem;
  }

  .mindfulness-content h2 {
    font-size: 1.8rem;
  }

  .mindfulness-content h3 {
    font-size: 1.3rem;
  }
}

@media screen and (max-width: 480px) {
  .navbar {
    padding: 0.5rem;
  }

  .navbar-left, .navbar-right {
    gap: 0.5rem;
  }

  .navbar a {
    font-size: 0.8rem;
  }

  .hero-left {
    padding: 2rem 1rem;
  }

  .hero-left h1 {
    font-size: 1.8rem;
  }

  .hero-left p {
    font-size: 1rem;
  }

  .hero-about {
    height: 50vh;
    padding: 1.5rem;
  }

  .hero-about h1 {
    font-size: 2rem;
  }

  .hero-about blockquote {
    font-size: 1rem;
  }

  .section-about h2 {
    font-size: 1.5rem;
  }

  .about-main h1 {
    font-size: 1.5rem;
  }

  .mindfulness-content h2 {
    font-size: 1.5rem;
  }

  .mindfulness-content h3 {
    font-size: 1.2rem;
  }

  .mindfulness-sidebar ul li {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
} 