@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
  --primary: #ACDDFE;
  --primary-dark: #8cc6e6;
  --bg-white: #ffffff;
  --bg-light: #f8fafd;
  --text-main: #1a1a1a;
  --text-muted: #555555;
  --font-main: 'Outfit', sans-serif;
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-white);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Snap Layout */
section {
  height: 100vh;
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 40px 20px;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  z-index: 2;
}

/* Color Variation Backgrounds */
section:nth-child(even) {
  background-color: var(--bg-light);
}

/* Intro Section */
#intro {
  background: radial-gradient(circle at center, #ffffff 0%, #edf7ff 100%);
}

.intro-text-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3vw;
  transition: var(--transition-smooth);
}

.intro-letter-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.intro-letter {
  font-size: clamp(5rem, 15vw, 15rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 0.9;
  position: relative;
}

.intro-letter::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 0;
  width: 100%;
  height: 15%;
  background: var(--primary);
  opacity: 0.3;
  z-index: -1;
  border-radius: 4px;
}

.intro-meaning {
  opacity: 0;
  transform: translateY(20px);
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-top: 15px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

/* Content Sections */
.content-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 8vw;
  padding: 0 8%;
}

.image-side {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 60px -12px rgba(50, 50, 93, 0.15), 0 18px 36px -18px rgba(0, 0, 0, 0.2);
}

.image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-side:hover img {
  transform: scale(1.08);
}

.text-side {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.section-label {
  font-size: 8rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.15;
  position: absolute;
  top: -40px;
  left: -20px;
  z-index: -1;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  position: relative;
}

.section-desc {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 90%;
}

/* Side Navigation Dot Indicators */
.nav-dots {
  position: fixed;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
  position: relative; /* Add for hit area */
}

/* Larger hit area for better mobile/PC interaction */
.dot::after {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
}

.dot.active {
  background: var(--primary);
  transform: scale(1.5);
  border-color: #fff;
  box-shadow: 0 0 15px var(--primary);
}

/* Footer Section */
footer {
  height: auto;
  min-height: 200px;
  background: #fdfdfd;
  scroll-snap-align: end;
}

.footer-content {
  text-align: center;
  padding: 80px 20px;
  border-top: 1px solid #eee;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

/* Responsive */
@media (max-width: 1024px) {
  .content-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding-top: 60px;
  }
  .image-side {
    max-width: 600px;
    margin: 0 auto;
  }
  .text-side {
    align-items: center;
  }
  .section-label {
    left: 50%;
    transform: translateX(-50%);
    top: -60px;
  }
  .nav-dots {
    right: 20px;
  }
}

@media (max-width: 768px) {
  .intro-text-wrap {
    flex-direction: column;
    gap: 20px;
  }
}
