:root {
  --cream: #fffafafd;
  --ink: #090601;
  --tea: #eb0400b1;    
  --tea-dark: #605a5a;
  --card: #dbcaca;
  --shadow: 0 6px 18px rgba(242, 133, 0, 0.958);
  --shadow-hover: 0 12px 28px rgba(255, 255, 255, 0.99);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: var(--tea);
  color: var(--cream);
}

body {
  font-family:'Inter', sans-serif;
  background: url("boba tree background.jpg") center / cover fixed no-repeat;
  color: var(--ink);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Fraunces', serif;
}


header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  background: rgba(250, 246, 239, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(234, 230, 226, 0.93);
}

.logo {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

nav a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  margin-left: 28px;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 1px;
  background: var(--tea-dark);
  transition: width 0.25s ease;
}

nav a:hover {
  color: var(--tea-dark);
}

nav a:hover::after {
  width: 100%;
}


.hero {
  text-align: center;
  padding: 110px 24px 90px;
  max-width: 720px;
  margin: 0 auto;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  color: var(--tea);
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.1s;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(189, 4, 4, 0.84);
  max-width: 460px;
  margin: 0 auto 32px;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.2s;
}

.hero-btn {
  display: inline-block;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  padding: 13px 32px;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.3s;
}

.hero-btn:hover {
  background: var(--tea-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}


.about {
  max-width: 620px;
  margin: 0 auto;
  padding: 60px 24px;
  text-align: center;
}

.about h2 {
  font-size: 1.6rem;
  margin-bottom: 14px;
}


.journey {
  padding: 70px 48px;
  background: transparent;
}

.journey h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 44px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.milestone {
  background: var(--card);
  padding: 26px;
  border-radius: 14px;
  border: 1px solid rgb(246, 135, 0);
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.milestone:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.ms-count {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tea);
}

.milestone h3 {
  margin: 8px 0 10px;
  font-size: 1.15rem;
}

.milestone p {
  font-size: 0.92rem;
  color: rgb(255, 0, 0);
}


.shelf {
  padding: 80px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.shelf h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.shelf-note {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 40px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.glass-card {
  background: var(--card);
  border-radius: 14px;
  border: 1px solid rgba(81, 0, 0, 0.697);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.glass-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  filter: saturate(0.9);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.glass-card:hover img {
  filter: saturate(1.15);
  transform: scale(1.03);
}

.glass-card figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 16px;
}

.glass-num {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--tea);
}

.glass-title {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
}

footer {
  text-align: center;
  padding: 36px 24px;
  border-top: 1px solid rgb(238, 234, 229);
}

footer p:first-child {
  color: rgb(254, 255, 255);
}

.footer-small {
  margin-top: 6px;
  font-size: 0.82rem;
  color: rgb(255, 255, 255);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media (max-width: 640px) {
  header {
    flex-direction: column;
    gap: 12px;
    padding: 18px 20px;
  }

  nav a {
    margin-left: 14px;
    margin-right: 14px;
  }

  .journey,
  .shelf {
    padding-left: 20px;
    padding-right: 20px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr;
  }
}



.star-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  animation: spin 3s linear infinite;
}

.stardance {
  color: white;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.hero {
  text-align: center;
  padding: 60px 40px;
  max-width: 640px;
  margin: 90px auto;
  background: rgba(250, 246, 239, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.about {
  max-width: 620px;
  margin: 40px auto;
  padding: 40px 32px;
  text-align: center;
  background: rgba(250, 246, 239, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.shelf-note {
  color: var(--tea-dark);
  font-size: 0.95rem;
  margin-bottom: 40px;
}

.milestone p {
  font-size: 0.92rem;
  color: var(--ink);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--tea-dark);
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--cream);
  color: var(--ink);
  font: 500 0.85rem 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
  background: var(--tea);
  color: var(--cream);
}

body.dark-mode {
  --cream: #f5e9da;
  --ink: #f5e9da;
  --tea: #d69a67;
  --tea-dark: #e9b784;
  --card: #3a2b25;
  --shadow: 0 6px 18px rgba(15, 9, 5, 0.45);
  --shadow-hover: 0 12px 28px rgba(214, 154, 103, 0.28);
  background-image: linear-gradient(rgba(20, 12, 8, 0.62), rgba(20, 12, 8, 0.62)), url("boba tree background.jpg");
}

body.dark-mode header,
body.dark-mode .hero,
body.dark-mode .about {
  background: rgba(36, 25, 20, 0.84);
}

body.dark-mode .hero-sub {
  color: #f0b27d;
}

body.dark-mode .theme-toggle {
  background: var(--tea);
  color: #241811;
  border-color: var(--tea);
}

body.dark-mode .stardance {
  color: var(--ink);
}
