
/* Reset & base */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif; background:#06102a; color: #e6eefc; }
a { color: #9ec3ff; text-decoration: none; }
.container { width: min(1200px, 92%); margin: 0 auto; }

/* Hero */
.hero {
  position: relative;
  min-height: 20vh;
  display: flex;
  align-items: flex-start;
  background-color:#06102a;
  background-image:
    linear-gradient(90deg, rgba(6,16,42,0.98) 0%, rgba(6,16,42,0.82) 35%, rgba(6,16,42,0.35) 60%, rgba(6,16,42,0.00) 80%),
    url('../img/hero.jpg');
  background-size: 100% 100%, contain;
  background-repeat: no-repeat, no-repeat;
  background-position: center center, 64% center;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding-top: 25vh; /* push text further down */
  padding-bottom: 1px;
  color: #f8fbff;
  text-shadow: 0 2px 18px rgba(0,0,0,.6);
}
.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  font-size: 13px;
  letter-spacing: .4px;
  margin-bottom: 12px;
  color:#e6eefc;
}
h1 { font-size: clamp(28px, 5vw, 46px); margin: 8px 0 12px; line-height: 1.15; color:#ffffff;}
.hero p { font-size: clamp(15px, 2.4vw, 18px); opacity: .98; color:#d7e4ff;}

.cta-row { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px; border-radius: 14px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08); color: #f8fafc; font-weight: 600;
  transition: transform .06s ease, background .18s ease, border-color .18s ease;
  backdrop-filter: blur(4px);
}
.btn:hover { transform: translateY(-1px); background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.35); }
.btn.primary { background: #1e6edc; border-color: #1e6edc; color: #fff; }
.btn.primary:hover { background: #1658b3; border-color: #1658b3; }

.section { padding: 72px 0; border-top: 1px solid #101a3f; background: transparent; }
.section h2 { font-size: clamp(22px, 3.6vw, 30px); margin: 0 0 12px; color:#eaf2ff; }
.section p.lead { color: #b7c8ea; margin-top: 0; }

/* Age band */
.age-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  margin-top: 20px;
}
.card {
  border: 1px solid #182a62;
  border-radius: 16px;
  padding: 18px;
  background: #0c1b47;
  box-shadow: 0 6px 24px rgba(0,0,0,.28);
}
.card h3 { margin: 0 0 6px; font-size: 18px; color:#e6eefc;}
.card p { margin: 0; color: #c9d8fb; font-size: 15px; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin-top: 20px;
}
.gallery img {
  width: 100%;
  height: 320px;                 /* bigger image area */
  object-fit: contain;           /* no face crop */
  background: #06102a;
  border-radius: 14px;
  display: block;
  border:1px solid #182a62;
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}

/* Community (iframe) */
.community iframe {
  width: 100%;
  height: 800px;
  border: 0;
  display: block;
  background: #06102a;
}
.community .notice {
  font-size: 13px; color: #a4b6dd; margin-bottom: 8px;
}

/* Footer */
footer {
  padding: 30px 0 60px;
  color: #a9bce8;
  border-top: 1px solid #101a3f;
  background: transparent;
}

/* Responsive */
@media (max-width: 980px) {
  .age-cards, .gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero { min-height: 82vh; }
  .hero-content { padding-top: 20vh; }
}
@media (max-width: 640px) {
  .age-cards, .gallery { grid-template-columns: 1fr; }
  .hero { background-position: center center, 62% center; }
  .hero-content { padding-top: 20vh; }
}


/* Mobile adjustments */
@media (max-width: 768px) {
  .hero {
    min-height: 60vh; /* Reduce hero height */
  }
  .hero-content {
    padding-top: 12vh; /* Reduce top spacing */
    padding-bottom: 24px; /* Reduce bottom spacing */
  }
  nav ul li {
    margin: 8px 0; /* Reduce spacing between menu items */
  }
  nav ul li a {
    padding: 8px 12px; /* Keep clickable area compact */
  }
}
