/* ===========================
   NARUKO — Global Styles
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&family=Noto+Sans+TC:wght@300;400&family=Inter:wght@300;400;500&display=swap');

:root {
  --color-white:    #ffffff;
  --color-bg:       #fafaf8;
  --color-bg-alt:   #f5f3ef;
  --color-text:     #2c2c2c;
  --color-text-sub: #7a7a7a;
  --color-accent:   #c8a97e;       /* warm gold — brand accent */
  --color-accent-d: #a8845a;
  --color-border:   #e8e4de;
  --color-nav-bg:   rgba(255,255,255,0.96);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', 'Noto Sans TC', sans-serif;

  --nav-h: 64px;
  --max-w: 1200px;
  --radius: 2px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
}

img { display: block; width: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===========================
   NAVIGATION
   =========================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--color-nav-bg);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  backdrop-filter: blur(8px);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--color-text);
}

.nav__links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav__links a {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav__links a:hover { color: var(--color-accent); }
.nav__links a:hover::after { width: 100%; }

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: 20px;
}

.lang-btn {
  background: none;
  border: 1px solid var(--color-border);
  color: var(--color-text-sub);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all var(--transition);
  font-family: var(--font-body);
}

.lang-btn:hover,
.lang-btn.active {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(200,169,126,0.08);
}

/* Hamburger (mobile) */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 1px;
  background: var(--color-text);
  transition: var(--transition);
}

/* ===========================
   HERO / BANNER
   =========================== */

.hero {
  margin-top: var(--nav-h);
  position: relative;
  height: calc(100vh - var(--nav-h));
  min-height: 480px;
  overflow: hidden;
}

.hero__slides {
  position: relative;
  height: 100%;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero__slide.active { opacity: 1; }

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Fallback gradient when no image */
.hero__slide--placeholder {
  background: linear-gradient(135deg, #e8e0d4 0%, #d4c4ae 50%, #c4b090 100%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}

.hero__content {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-white);
  max-width: 520px;
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero__subtitle {
  font-size: 14px;
  letter-spacing: 0.08em;
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 32px;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--color-white);
  color: var(--color-white);
  transition: all var(--transition);
  background: transparent;
  cursor: pointer;
}

.btn:hover {
  background: var(--color-white);
  color: var(--color-text);
}

.btn--accent {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.btn--accent:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

/* Slide dots */
.hero__dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  padding: 0;
}
.hero__dot.active { background: var(--color-white); }

/* ===========================
   SECTIONS SHARED
   =========================== */

section { padding: 80px 0; }

.section__header {
  text-align: center;
  margin-bottom: 52px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  color: var(--color-text);
}

.section__sub {
  font-size: 13px;
  color: var(--color-text-sub);
  letter-spacing: 0.05em;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.9;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ===========================
   SERIES GRID
   =========================== */

.series { background: var(--color-white); }

.series__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.series__card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--color-border);
}

.series__card:hover .series__img {
  transform: scale(1.04);
}

.series__img-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--color-bg-alt);
}

/* Placeholder gradient for missing images */
.series__img-wrap--p1 { background: linear-gradient(160deg, #dce8e0, #b8d4c4); }
.series__img-wrap--p2 { background: linear-gradient(160deg, #e8e0dc, #d4b8c0); }
.series__img-wrap--p3 { background: linear-gradient(160deg, #e0dce8, #c4b8d4); }
.series__img-wrap--p4 { background: linear-gradient(160deg, #e8e4dc, #d4cdb8); }

.series__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.series__info {
  padding: 20px 18px 22px;
  background: var(--color-white);
}

.series__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  color: var(--color-text);
}

.series__desc {
  font-size: 12px;
  color: var(--color-text-sub);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  line-height: 1.8;
}

.series__link {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 1px;
  display: inline-block;
  transition: color var(--transition);
}

.series__link:hover { color: var(--color-accent-d); border-color: var(--color-accent-d); }

/* ===========================
   ABOUT STRIP
   =========================== */

.about {
  background: var(--color-bg-alt);
  padding: 80px 0;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(135deg, #d4c9b8, #c0b09a);
}

.about__body {}

.about__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.about__text {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.9;
  letter-spacing: 0.03em;
}

/* ===========================
   CONTACT / CTA
   =========================== */

.contact {
  background: var(--color-text);
  color: var(--color-white);
  text-align: center;
  padding: 80px 0;
}

.contact .section__title { color: var(--color-white); }
.contact .section__sub { color: rgba(255,255,255,0.65); }

.contact__info {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.contact__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.contact__label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.contact__value {
  font-size: 15px;
  letter-spacing: 0.05em;
  color: var(--color-white);
}

.contact__value a { color: var(--color-white); transition: color var(--transition); }
.contact__value a:hover { color: var(--color-accent); }

/* ===========================
   FOOTER
   =========================== */

.footer {
  background: #1e1e1e;
  color: rgba(255,255,255,0.4);
  text-align: center;
  padding: 24px 32px;
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* ===========================
   MOBILE MENU
   =========================== */

.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 24px 32px;
  flex-direction: column;
  gap: 20px;
  z-index: 99;
}

.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 960px) {
  .series__grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner { grid-template-columns: 1fr; gap: 36px; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
}

@media (max-width: 560px) {
  .series__grid { grid-template-columns: 1fr; }
  .hero__content { left: 5%; right: 5%; }
  .contact__info { gap: 28px; }
  section { padding: 56px 0; }
}
