/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  transition: background-color 0.3s, color 0.3s;
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 90vh;
  background: url('/images/sabbath-hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.3rem;
}

/* SLIDESHOW */
.slideshow-section {
  padding: 60px 20px;
  background: #f0f8ff;
  text-align: center;
}

.slideshow {
  position: relative;
  max-width: 900px;
  height: 400px;
  margin: auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide.active {
  display: block;
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ABOUT SECTION */
.about {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: auto;
  line-height: 1.6;
}

/* BENEFITS SECTION */
.benefits {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.benefits h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.benefits ul {
  list-style-type: none;
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 700px;
  margin: auto;
}

/* FOOTER */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* DARK MODE */
body.dark-mode {
  background-color: #121212;
  color: #f0f0f0;
}

body.dark-mode .slideshow-section {
  background-color: #1e1e1e;
}

body.dark-mode .about, 
body.dark-mode .benefits {
  background-color: #181818;
}

body.dark-mode footer {
  background-color: #111;
}

/* DARK MODE BUTTON */
.dark-mode-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.dark-mode-toggle button {
  background: rgba(255,255,255,0.8);
  border: none;
  padding: 10px 15px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.3s;
}

body.dark-mode .dark-mode-toggle button {
  background: rgba(50,50,50,0.8);
  color: #fff;
}

/* BACK BUTTON */
.back-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #3498db;
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.back-button:hover {
  background-color: #2980b9;
}
/* HERO SECTION */
.hero {
  position: relative;
  height: 90vh;
  background: url('/images/family-hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.hero {
  position: relative;
  height: 90vh;
  background: url('/images/health-hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
