/* 
  Spring Up! Landing Page Styles 
  Aesthetic: Kid-friendly, rounded, pastel-base with vibrant accents (HatchlinkJr Inspired)
*/

:root {
  /* Color Palette */
  --c-primary: #E86E80;
  /* Coral Pink (CTA) */
  --c-primary-hover: #D55B6E;
  --c-secondary: #4EBDD4;
  /* Light Cyan */
  --c-acc-yellow: #F4C430;
  --c-acc-green: #06C755;
  --c-bg-light: #F8FBFC;
  --c-bg-blue: #EAF4F9;
  /* Hatchlink style light blue background */
  --c-text-main: #1A4B7A;
  /* Navy Blue for softer contrast */
  --c-text-muted: #4A6B8A;
  --c-white: #FFFFFF;

  /* Typography */
  --font-main: 'Zen Maru Gothic', 'Rounded M+ 1c', 'Hiragino Rounded', 'Hiragino Kaku Gothic ProN', sans-serif;

  /* Layout */
  --max-width: 1000px;
  --br-card: 24px;
  --br-btn: 50px;
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  color: var(--c-text-main);
  line-height: 1.6;
  background-color: var(--c-white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--c-text-main);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--c-secondary);
  border-radius: 2px;
}

/* Layout Classes */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.bg-light-blue {
  background-color: var(--c-bg-blue);
}

.bg-pink {
  background-color: var(--c-primary);
  color: white;
}

/* Components */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: var(--br-btn);
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background-color: var(--c-primary);
  color: var(--c-white);
}

.btn-primary:hover {
  background-color: var(--c-primary-hover);
}

.btn-white {
  background-color: var(--c-white);
  color: var(--c-primary);
}

.btn-white:hover {
  background-color: #f9f9f9;
}

.btn-large {
  font-size: 1.25rem;
  padding: 16px 40px;
}

.btn-xlarge {
  font-size: 1.5rem;
  padding: 20px 60px;
}


/* --- Specific Sections --- */

/* Header */
.header {
  padding: 15px 0;
  background-color: var(--c-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-logo {
  height: 45px;
  /* Adjust as needed for HatchlinkJr logo */
  width: auto;
  display: block;
}

/* Hero Section */
.hero {
  position: relative;
  background-image: url('images/hero.png');
  background-size: cover;
  background-position: center 30%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 40px 20px;
}

/* Overlay to make text readable */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-text-box {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(5px);
  border-radius: 30px;
  padding: 40px;
  max-width: 550px;
  box-shadow: 0 15px 35px rgba(26, 75, 122, 0.1);
  border: 4px solid var(--c-white);
}

.badge {
  display: inline-block;
  background-color: var(--c-acc-yellow);
  color: var(--c-text-main);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.2;
  color: var(--c-secondary);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 25px;
}

.date-box {
  background-color: var(--c-bg-blue);
  color: var(--c-secondary);
  border-radius: 12px;
  padding: 15px;
  font-size: 1.25rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 30px;
}

/* Floating Shapes (Hatchlink Vibe) */
.shape {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  opacity: 0.6;
}

.shape-1 {
  width: 100px;
  height: 100px;
  background: var(--c-acc-yellow);
  top: 10%;
  right: 10%;
  animation: float 6s ease-in-out infinite;
}

.shape-2 {
  width: 60px;
  height: 60px;
  background: var(--c-primary);
  bottom: 15%;
  right: 25%;
  animation: float 8s ease-in-out infinite 1s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: var(--c-secondary);
  bottom: -50px;
  left: -50px;
  opacity: 0.3;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0);
  }
}

/* Intro Section */
.intro {
  background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="10" cy="10" r="2" fill="%234EBDD4" opacity="0.2"/></svg>');
}

.section-text {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.highlight-text {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--c-primary);
  background: #FFF0F2;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 50px;
}

/* Points Section */
.points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.point-card {
  background-color: var(--c-white);
  border-radius: var(--br-card);
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.point-card:hover {
  transform: translateY(-5px);
}

.point-icon {
  width: 70px;
  height: 70px;
  line-height: 70px;
  border-radius: 50%;
  font-size: 2rem;
  margin: 0 auto 20px;
  color: white;
}

.point-title {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.point-text {
  font-size: 0.95rem;
  color: var(--c-text-muted);
}

.bg-yellow {
  background-color: var(--c-acc-yellow) !important;
  color: white !important;
}

.bg-blue {
  background-color: var(--c-secondary) !important;
  color: white !important;
}

.bg-green {
  background-color: var(--c-acc-green) !important;
  color: white !important;
}

.rounded-image {
  border-radius: var(--br-card);
  border: 6px solid white;
}

.shadow {
  box-shadow: 0 15px 35px rgba(26, 75, 122, 0.15);
}

/* Details Section */
.info-table-container {
  background-color: var(--c-white);
  border-radius: var(--br-card);
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 2px solid var(--c-bg-blue);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  padding: 20px;
  border-bottom: 2px dashed var(--c-bg-blue);
  text-align: left;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

.info-table th {
  width: 20%;
  color: var(--c-secondary);
  font-size: 1.1rem;
}

.info-table td {
  font-size: 1.1rem;
}

.note {
  font-size: 0.85rem;
  color: var(--c-primary);
  display: block;
  margin-top: 5px;
}

.price-list {
  list-style: none;
}

.price-list li {
  margin-bottom: 15px;
}

.price-label {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: bold;
  margin-right: 10px;
}

/* CTA Section */
.cta {
  color: var(--c-white);
}

.cta-texture {
  background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.15) 1px, transparent 0);
  background-size: 20px 20px;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--c-white);
}

.cta-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.attention-box {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 20px 30px;
  max-width: 600px;
  margin: 0 auto 40px;
}

.attention-box h4 {
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 5px;
}

.attention-box ul {
  padding-left: 20px;
}

.pulse-anim {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }

  70% {
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* Footer */
.footer {
  background-color: var(--c-text-main);
  color: var(--c-white);
  padding: 40px 0 20px;
  font-size: 0.9rem;
}

.company-name {
  font-weight: 700;
  margin: 15px 0;
}

.copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-text-box {
    padding: 30px 20px;
  }

  .info-table th {
    width: 30%;
    font-size: 1rem;
  }

  .info-table td {
    font-size: 1rem;
  }

  .points-grid {
    grid-template-columns: 1fr;
  }

  .cta-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {

  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
    border-bottom: none;
  }

  .info-table th {
    padding-bottom: 5px;
  }

  .info-table td {
    padding-top: 5px;
    border-bottom: 1px solid #ddd;
  }

  .btn-xlarge {
    padding: 16px 30px;
    font-size: 1.2rem;
  }
}

/* Flyer Section */
.flyer-showcase {
  background-color: var(--c-bg-light);
}

.flyer-container {
  max-width: 700px;
  margin: 0 auto;
}

.flyer-img {
  width: 100%;
  height: auto;
  border: 10px solid var(--c-white);
  border-radius: var(--br-card);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}