:root {
  --primary-color: #047c00;
  --text-color: #1a1a1a;
  --background-color: #f9f9f9;
  --footer-bg: #eaeaea;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

a:hover {
  cursor: pointer;
}

input {
  margin-top: 15px;
  border: 1px solid #eee;
  border-radius: 10px;
  height: 20px;
}

textarea {
  margin-top: 15px;
  border: 1px solid #eee;
  border-radius: 10px;
}

header {
  background: white;
  border-bottom: 1px solid #ccc;
  padding: 0.3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

header h1 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin: 0;
}

nav a {
  margin-left: 1rem;
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

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

.hero {
  padding: 2rem;
  max-width: 900px;
  margin: auto;
}

.hero img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
}

.hero h2 {
  margin-bottom: 1rem;
  color: var(--text-color);
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.hero .highlight {
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
}

.hero .highlight:hover {
  text-decoration: underline;
  cursor: pointer;
}

.hero-img {
  display: flex;
}

.hero-img ul {
  margin-left: -30px;
}

.hero-img img {
  width: 50px;
  object-fit: contain;
}

.menu-toggle {
  margin-top: -60px;
  margin-bottom: 10px;
  display: none;
  font-size: 2rem;
  cursor: pointer;
  margin-left: auto;
}

.hero-text {
  color: #848484;
  font-size: 12px;
  line-height: 1;
  list-style-type: none;
}

.green {
  font-weight: bold;
  color: var(--primary-color);
}

#scrollToTopBtn {
  position: fixed;
  bottom: 70px;
  right: 40px;
  z-index: 100;
  background-color: #3bc942;
  color: white;
  border: none;
  padding: 10px 10px;
  border-radius: 100%;
  font-size: 18px;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#scrollToTopBtn:hover {
  background-color: #2ba732;
  cursor: pointer;
}

.house-container {
  display: flex;
}

.house {
  background-color: var(--footer-bg);
  justify-content: center;
  width: 100%;
  margin: 30px;
  border-radius: 2rem;
  display: flex;
  flex-direction: column;
}

.house a {
  padding: 20px;
  margin: auto;
  font-weight: bold;
  font-size: 25px;
}

.house a:hover {
  cursor: pointer;
}

.house img {
  border-radius: 3rem;
  max-width: 90%;
  margin-left: 5%;
}

.carousel {
  position: relative;
  width: 100%;
  margin: auto;
  max-width: 1000px;
  overflow: hidden;
}

.carousel-images {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.carousel-images img {
  margin-top: 21px;
  padding-bottom: 10px;
  pointer-events: none;
  width: 100%;
  flex-shrink: 0;
}

.indicators {
  text-align: center;
  margin-top: -30px;
  margin-bottom: 50px;
}

.indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 2.5px;
  margin-right: 2.5px;
  background-color: lightgray;
  border-radius: 100px;
  border-color: #fff;
  position: relative;
  cursor: pointer;
}

.indicator.active {
  background-color: grey;
  width: 10px;
  height: 10px;
}

form input,
form textarea,
form button {
  width: 100%;
  max-width: 600px;
  margin-bottom: 1rem;
  padding: 0.5rem;
  font-size: 1rem;
}

form button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 0.3rem;
}

.form button:hover {
  background-color: #036a00;
  cursor: pointer;
}

footer {
  background: var(--footer-bg);
  text-align: center;
  padding: 1rem 2rem;
  font-size: 0.9rem;
  color: #555;
}

footer a {
  color: #036a00;
  text-decoration: none;
}

.flexbox {
  display: flex;
}

.flexbox p {
  float: right;
  font-size: 14px;
  width: 50%;
}

.flexbox img {
  width: 45%;
  max-width: 400px;
  margin: auto;
}

.flip {
  flex-direction: row-reverse;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 250px;
  background: #f8f8f8;
  padding: 1rem;
  border-right: 1px solid #ddd;
}

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

.sidebar ul li {
  margin: 0.5rem 0;
}

.sidebar ul li a {
  text-decoration: none;
  color: #333;
}

.main {
  flex-grow: 1;
  padding: 2rem;
}

#calendarContainer {
  margin-top: 1rem;
}

.calendar-day {
  display: inline-block;
  width: 120px;
  height: 100px;
  margin: 5px;
  padding: 5px;
  border: 1px solid #ccc;
  vertical-align: top;
  background: #fff;
  cursor: pointer;
}

.calendar-day:hover {
  background: #eef;
}

.calendar-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  gap: 1rem;
  font-size: 1.2rem;
}

#calendarContainer {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

.calendar-day,
.calendar-weekday {
  border: 1px solid #ccc;
  padding: 10px;
  background: white;
  text-align: center;
  border-radius: 5px;
}

.calendar-weekday {
  font-weight: bold;
  background-color: #eee;
}

.calendar-day:hover {
  background-color: #f0f8ff;
  cursor: pointer;
}

.calendar-day.empty {
  background: transparent;
  border: none;
  pointer-events: none;
}

.calendar-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.calendar-title button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background-color 0.2s;
}

.calendar-title button:hover {
  background-color: #0056b3;
}

.box-in-index {
  background: #eee;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
}
.box-in-press {
  background: #eee;
  border-radius: 10px;
  padding: 2rem;
}

.call-to-action {
  background: #dcedc8;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
}

.call-to-action a {
  display: inline-block;
  margin-top: 1rem;
  background: #2e7d32;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
}

button img {
  width: 30px;
}

@media (max-width: 607px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav a {
    margin-left: 0;
    margin-right: 1rem;
    display: inline-block;
  }
}

@media (max-width: 670px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: white;
    border-top: 1px solid #ccc;
    margin-top: 1rem;
  }

  nav.show {
    display: flex;
  }

  nav a {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    margin: 0;
  }
}
