/* ===================================
   Lemonade Creative Studio
   きらめきは、檸檬色。
   =================================== */

:root {
  --bg-cream: #f8f5f0;
  --bg-warm: #f5f0e8;
  --text-main: #5a5248;
  --text-light: #8a8279;
  --text-dark: #3d362f;
  --lemon-gold: #e8c84a;
  --lemon-soft: #f0d96b;
  --lemon-pale: rgba(232, 200, 74, 0.15);
  --accent: #c4a94d;
  --bubble: rgba(200, 195, 185, 0.25);
  --font-serif-en: 'Cormorant Garamond', serif;
  --font-serif-jp: 'Noto Serif JP', serif;
  --font-sans-jp: 'Zen Kaku Gothic New', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans-jp);
  color: var(--text-main);
  background-color: var(--bg-cream);
  line-height: 1.8;
  font-weight: 300;
  overflow-x: hidden;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background: rgba(248, 245, 240, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  padding: 1rem 3rem;
  box-shadow: 0 1px 20px rgba(90, 82, 72, 0.06);
}

.header-logo {
  font-family: var(--font-serif-en);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--text-dark);
}

.header-nav {
  display: flex;
  gap: 2.5rem;
}

.header-nav a {
  font-family: var(--font-serif-en);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--lemon-gold);
  transition: width 0.3s ease;
}

.header-nav a:hover {
  color: var(--text-dark);
}

.header-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-main);
  transition: all 0.3s ease;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 12vh;
  overflow: hidden;
  background: url('images/glass.png') center center / cover no-repeat;
  background-color: var(--bg-cream);
}

.hero-bubbles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  pointer-events: none;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 30% 30%,
    rgba(255, 255, 255, 0.7),
    rgba(220, 215, 200, 0.25) 40%,
    rgba(200, 195, 180, 0.15) 60%,
    transparent 100%
  );
  border: 1px solid rgba(190, 185, 175, 0.35);
  box-shadow: inset 0 -2px 4px rgba(200, 195, 180, 0.1),
              0 1px 3px rgba(0, 0, 0, 0.03);
  animation: bubbleRise linear forwards;
  opacity: 0;
}

@keyframes bubbleRise {
  0% {
    opacity: 0;
    transform: translateY(0) translateX(0) scale(0.5);
  }
  8% {
    opacity: 0.85;
    transform: translateY(-15px) translateX(2px) scale(0.9);
  }
  50% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: translateY(-85vh) translateX(var(--sway)) scale(1);
  }
}

.hero-text {
  position: relative;
  z-index: 4;
  text-align: center;
  animation: fadeInUp 1.2s ease-out 0.5s both;
}

.hero-tagline {
  font-family: var(--font-serif-jp);
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.hero-sub {
  font-family: var(--font-serif-en);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--text-light);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Sections ===== */
.section {
  padding: 7rem 2rem;
}

.section-inner {
  max-width: 900px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-serif-en);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--lemon-gold);
  margin: 1rem auto 0;
}

.section-desc {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 3.5rem;
  font-weight: 300;
}

/* ===== Brand Story ===== */
.section-story {
  background: var(--bg-warm);
}

.story-content {
  text-align: center;
  max-width: 480px;
  margin: 3rem auto 0;
}

.story-content p {
  font-family: var(--font-serif-jp);
  font-size: 1rem;
  font-weight: 300;
  line-height: 2.2;
  margin-bottom: 2rem;
  color: var(--text-main);
  letter-spacing: 0.08em;
}

.story-content .story-last {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-top: 3rem;
  margin-bottom: 0;
}

/* ===== Works ===== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.work-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.work-card-featured {
  max-width: 640px;
  margin: 0 auto;
}

.work-image {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(90, 82, 72, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.work-card a:hover .work-image {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(90, 82, 72, 0.12);
}

.work-image img {
  width: 100%;
  height: auto;
  display: block;
}

.work-info {
  text-align: center;
  padding: 1.5rem 0.5rem 0;
}

.work-category {
  font-family: var(--font-serif-en);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
}

.work-info h3 {
  font-family: var(--font-serif-jp);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-dark);
  margin: 0.5rem 0;
  letter-spacing: 0.05em;
}

.work-info p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== Services ===== */
.section-services {
  background: var(--bg-warm);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.service-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: rgba(248, 245, 240, 0.7);
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(90, 82, 72, 0.06);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.5rem;
  color: var(--accent);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-serif-en);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.85rem;
  line-height: 1.9;
  color: var(--text-light);
}

/* ===== Contact ===== */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-sans-jp);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(200, 195, 185, 0.4);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--lemon-gold);
  background: rgba(255, 255, 255, 0.9);
}

.form-group textarea {
  resize: vertical;
}

.btn-submit {
  display: block;
  width: 100%;
  max-width: 240px;
  margin: 2rem auto 0;
  padding: 0.9rem 2rem;
  font-family: var(--font-sans-jp);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-dark);
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: var(--lemon-pale);
  border-color: var(--lemon-gold);
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg-warm);
  border-top: 1px solid rgba(200, 195, 185, 0.3);
}

.footer-logo {
  font-family: var(--font-serif-en);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
}

.footer-copy {
  font-size: 0.7rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

/* ===== Scroll Animations ===== */
.section-inner {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-inner.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .header {
    padding: 1.2rem 1.5rem;
  }

  .header-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #f8f5f0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    z-index: 200;
  }

  .header-nav.open {
    display: flex;
  }

  .header-nav a {
    font-size: 1.2rem;
    color: var(--text-dark);
    letter-spacing: 0.15em;
  }

  .nav-toggle {
    display: flex;
    z-index: 201;
    position: relative;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
  }

  .hero-tagline {
    font-size: 1.4rem;
  }

  .works-grid,
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section {
    padding: 5rem 1.5rem;
  }
}
