/* ==========================================
   YUMEKURA - Japanese Resin Art Jewelry
   Pure CSS Stylesheet
   ========================================== */

/* ==========================================
   CSS Variables & Base Styles
   ========================================== */
:root {
  /* Colors - Light Theme */
  --background: #faf9f7;
  --foreground: #2d2a26;
  --card: #ffffff;
  --card-foreground: #2d2a26;
  --muted-foreground: #7a756d;
  --border: #e8e6e2;
  --accent: #bfaf8e;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* ==========================================
   Typography
   ========================================== */
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.section-title {
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
}

/* ==========================================
   Layout
   ========================================== */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 3rem;
  }
}

/* ==========================================
   Header & Navigation
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(250, 249, 247, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

@media (min-width: 1024px) {
  .nav {
    height: 6rem;
  }
}

.logo {
  font-size: 1.5rem;
  letter-spacing: 0.3em;
  color: var(--foreground);
}

@media (min-width: 1024px) {
  .logo {
    font-size: 1.875rem;
  }
}

.nav-list {
  display: none;
  align-items: center;
  gap: 3rem;
}

@media (min-width: 768px) {
  .nav-list {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--foreground);
  opacity: 1;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.mobile-nav.active {
  display: block;
}

@media (min-width: 768px) {
  .mobile-nav {
    display: none !important;
  }
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 6rem;
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 0;
  }
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }
}

.hero-content {
  order: 2;
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-content {
    order: 1;
    text-align: left;
  }
}

.hero-title {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.hero-description {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.8;
  max-width: 28rem;
  margin: 0 auto 2.5rem;
}

@media (min-width: 1024px) {
  .hero-description {
    font-size: 1.125rem;
    margin: 0 0 2.5rem;
  }
}

.hero-cta {
  display: inline-block;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--foreground);
  padding-bottom: 0.25rem;
}

.hero-image-wrapper {
  order: 1;
  position: relative;
  aspect-ratio: 4 / 5;
}

@media (min-width: 1024px) {
  .hero-image-wrapper {
    order: 2;
    aspect-ratio: 3 / 4;
  }
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================
   Story Section
   ========================================== */
.story {
  padding: 8rem 0;
}

@media (min-width: 1024px) {
  .story {
    padding: 12rem 0;
  }
}

.story-inner {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.story-title {
  margin-bottom: 3rem;
}

.story-text {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  .story-text {
    font-size: 1.125rem;
  }
}

.story-stats {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (min-width: 1024px) {
  .story-stats {
    gap: 4rem;
  }
}

.stat-value {
  font-size: 1.875rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
  .stat-value {
    font-size: 2.25rem;
  }
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

/* ==========================================
   Gallery Section
   ========================================== */
.gallery {
  padding: 8rem 0;
  background-color: var(--card);
}

@media (min-width: 1024px) {
  .gallery {
    padding: 12rem 0;
  }
}

.gallery-header {
  text-align: center;
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .gallery-header {
    margin-bottom: 6rem;
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(45, 42, 38, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-category {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 249, 247, 0.7);
  margin-bottom: 0.5rem;
}

.gallery-title {
  font-size: 1.125rem;
  color: var(--background);
}

@media (min-width: 1024px) {
  .gallery-title {
    font-size: 1.25rem;
  }
}

/* ==========================================
   Wholesale Section
   ========================================== */
.wholesale {
  padding: 8rem 0;
}

@media (min-width: 1024px) {
  .wholesale {
    padding: 12rem 0;
  }
}

.wholesale-grid {
  display: grid;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .wholesale-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }
}

.wholesale-title {
  margin-bottom: 2rem;
}

.wholesale-description {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  .wholesale-description {
    font-size: 1.125rem;
  }
}

.wholesale-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.wholesale-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-dot {
  width: 0.375rem;
  height: 0.375rem;
  background-color: var(--foreground);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  font-family: inherit;
  font-size: 1rem;
  color: var(--foreground);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: var(--foreground);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(122, 117, 109, 0.5);
}

.form-group textarea {
  resize: none;
  min-height: 6rem;
}

.submit-btn {
  width: 100%;
  background-color: var(--foreground);
  color: var(--background);
  border: none;
  padding: 1rem;
  font-family: inherit;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.submit-btn:hover {
  opacity: 0.9;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

@media (min-width: 1024px) {
  .footer {
    padding: 6rem 0;
  }
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-logo {
  font-size: 1.25rem;
  letter-spacing: 0.3em;
}

@media (min-width: 1024px) {
  .footer-logo {
    font-size: 1.5rem;
  }
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-link {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--foreground);
  opacity: 1;
}

.footer-social a {
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: var(--foreground);
  opacity: 1;
}

.footer-social svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-copyright {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-copyright p {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}

/* ==========================================
   Utility Classes
   ========================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
