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

body {
  font-family: 'Hammersmith One', sans-serif;
  color: #4c4c4c;
  background: #f0f0f0;
  line-height: 1.6;
}

h1, h2, h3 { color: #3c78b5; }

a { color: #3c78b5; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Hero with slideshow */
.hero {
  position: relative;
  height: 70vh;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 1rem;
}

.hero h1 {
  font-size: 3rem;
  color: #fff;
  letter-spacing: 2px;
}

.hero p {
  font-size: 1.1rem;
  margin-top: 0.75rem;
  color: #ddd;
  max-width: 600px;
}

/* Section */
section {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

section h2, .inner h2 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

svg.icon {
  width: 28px;
  height: 28px;
  fill: #3c78b5;
  flex-shrink: 0;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 100%;
}

.contents-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 500px) {
  .contents-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

.card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border-color: #3c78b5;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9rem;
}

/* Social */
.social-links {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: background 0.3s;
}

.social-links a:hover {
  background: rgba(255,255,255,0.3);
  text-decoration: none;
}

.social-links svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  flex-shrink: 0;
}

/* bg-white sections */
.bg-white {
  background: #fff;
}

.bg-white > .inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
  color: #999;
}

/* Responsive */
@media (max-width: 600px) {
  .hero h1 { font-size: 2rem; }
  .hero { height: 50vh; min-height: 300px; }
}
