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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

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

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Hero Section ===== */
.hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

.hero-content {
  padding: 20px;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.4rem;
  font-weight: 300;
  opacity: 0.9;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

/* ===== About Section ===== */
.about {
  padding: 80px 0;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.about p {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: #555;
}

/* ===== Map Section ===== */
.map-section {
  padding: 80px 0;
  background-color: #f5f5f5;
}

.map-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.map-wrapper {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
  display: block;
}

/* ===== Contact Section ===== */
.contact {
  padding: 80px 0;
  text-align: center;
  background-color: #1b4332;
  color: #e8f0e8;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #fff;
}

.contact p {
  font-size: 1.1rem;
  color: #d4e4d4;
}

.contact a {
  color: #a7d9a7;
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
  color: #fff;
}

/* ===== Slack Section ===== */
.slack-section {
  padding: 80px 0;
  text-align: center;
  background-color: #36c5f0;
  color: #fff;
}

.slack-logo {
  margin: 0 auto 1.5rem;
}

.slack-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #fff;
}

.slack-section p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.slack-btn {
  display: inline-block;
  padding: 14px 32px;
  background-color: #fff;
  color: #36c5f0;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.slack-btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

/* ===== Carousel Section ===== */
.carousel-section {
  padding: 80px 0;
}

.carousel-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: #777;
  margin-bottom: 2rem;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  background: #000;
}

.carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 8 / 5;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 1.5rem;
  padding: 16px 14px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease;
  line-height: 1;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.carousel-btn-prev {
  left: 0;
  border-radius: 0 4px 4px 0;
}

.carousel-btn-next {
  right: 0;
  border-radius: 4px 0 0 4px;
}

.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}

.carousel-dot.active {
  background: #fff;
}

/* ===== Mailing List Section ===== */
.mailing-list {
  padding: 80px 0;
  text-align: center;
  background-color: #f5f5f5;
}

.mailing-list h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.form-wrapper {
  display: flex;
  justify-content: center;
}

.form-wrapper iframe {
  max-width: 100%;
  border: none;
  border-radius: 8px;
}

/* ===== Footer ===== */
footer {
  padding: 40px 0;
  text-align: center;
  background-color: #222;
  color: #999;
  font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .about,
  .map-section,
  .contact,
  .slack-section,
  .carousel-section,
  .mailing-list {
    padding: 50px 0;
  }

  .about h2,
  .map-section h2,
  .carousel-section h2 {
    font-size: 1.6rem;
  }

  .map-wrapper iframe {
    height: 550px !important;
  }

  .carousel-btn {
    padding: 12px 10px;
    font-size: 1.2rem;
  }

  .carousel-dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

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

  .map-wrapper iframe {
    height: 480px !important;
  }
}
