/* ===========================
   Soirée Fleur — Global Styles
   =========================== */

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

:root {
  --cream:    #faf8f5;
  --ivory:    #f3ede4;
  --sage:     #7a9e8e;
  --sage-dk:  #5a7d6e;
  --plum:     #6b3050;
  --plum-lt:  #9a5070;
  --gold:     #c9a96e;
  --brown:    #2c2420;
  --gray:     #7a7068;
  --white:    #ffffff;
}

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

body {
  background: var(--cream);
  color: var(--brown);
  font-family: 'Lato', 'Noto Sans JP', sans-serif;
  font-weight: 300;
  line-height: 1.8;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ===========================
   Typography
   =========================== */

h1, h2, h3, .en {
  font-family: 'Cormorant Garant', 'Noto Serif JP', serif;
  font-weight: 300;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title .en {
  display: block;
  font-size: 2.8rem;
  letter-spacing: 0.12em;
  color: var(--plum);
  line-height: 1.2;
}

.section-title .jp {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--gray);
  margin-top: 0.4rem;
}

/* ===========================
   Navigation
   =========================== */

#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4%;
  transition: background 0.4s, box-shadow 0.4s;
}

#nav.scrolled {
  background: rgba(250, 248, 245, 0.96);
  box-shadow: 0 1px 20px rgba(44,36,32,0.07);
}

.nav-logo {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.5rem;
  font-style: italic;
  letter-spacing: 0.06em;
  color: var(--white);
  transition: color 0.4s;
}

#nav.scrolled .nav-logo {
  color: var(--plum);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--white);
  transition: color 0.3s;
}

#nav.scrolled .nav-links a {
  color: var(--brown);
}

.nav-links a:hover {
  color: var(--gold);
}

/* hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: background 0.4s;
}

#nav.scrolled .nav-toggle span {
  background: var(--brown);
}

/* ===========================
   Hero
   =========================== */

#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #3a2a30;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.75;
  transition: transform 8s ease-out;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30,18,22,0.25) 0%,
    rgba(30,18,22,0.15) 50%,
    rgba(30,18,22,0.5) 100%
  );
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  padding: 0 1rem;
}

.hero-brand {
  font-family: 'Cormorant Garant', serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.hero-sub {
  display: block;
  font-size: clamp(0.7rem, 1.5vw, 0.85rem);
  letter-spacing: 0.45em;
  margin-top: 1rem;
  opacity: 0.9;
  font-weight: 400;
}

.hero-tagline {
  margin-top: 2rem;
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  line-height: 2.2;
  opacity: 0.92;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  animation: bounce 2.5s ease-in-out infinite;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.5);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ===========================
   Sections — shared
   =========================== */

section {
  padding: 6rem 4%;
}

section:nth-child(even) {
  background: var(--ivory);
}

/* ===========================
   Concept
   =========================== */

#concept {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 4%;
}

.concept-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.concept-text h2 {
  font-size: 2.2rem;
  font-style: italic;
  color: var(--plum);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.concept-text p {
  font-size: 0.95rem;
  line-height: 2.1;
  color: var(--brown);
  margin-bottom: 1.2rem;
}

.concept-img {
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(44,36,32,0.12);
}

.concept-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.concept-img:hover img {
  transform: scale(1.03);
}

/* ===========================
   Gallery
   =========================== */

#gallery {
  max-width: 1200px;
  margin: 0 auto;
}

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

.gallery-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

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

.gallery-item:first-child img {
  height: 540px;
}

.gallery-item:not(:first-child) img {
  height: 260px;
}

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(30,18,22,0.55));
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  opacity: 0;
  transition: opacity 0.4s;
}

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

/* lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20,12,16,0.92);
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 0 60px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox-close:hover { opacity: 1; }

/* ===========================
   Shop
   =========================== */

#shop {
  max-width: 960px;
  margin: 0 auto;
}

.shop-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
  font-size: 0.95rem;
  line-height: 2;
  color: var(--gray);
}

.shop-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.shop-card {
  background: var(--white);
  border: 1px solid rgba(201,169,110,0.2);
  border-top: 3px solid var(--gold);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
}

.shop-card:hover {
  box-shadow: 0 8px 30px rgba(44,36,32,0.09);
  transform: translateY(-4px);
}

.shop-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.shop-card h3 {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.4rem;
  color: var(--plum);
  margin-bottom: 0.8rem;
}

.shop-card p {
  font-size: 0.85rem;
  line-height: 1.9;
  color: var(--gray);
}

.shop-card .price {
  display: block;
  margin-top: 1.2rem;
  font-family: 'Cormorant Garant', serif;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.shop-note {
  background: var(--ivory);
  border-left: 3px solid var(--sage);
  padding: 1.5rem 2rem;
  font-size: 0.85rem;
  line-height: 2;
  color: var(--gray);
}

.shop-note strong {
  color: var(--brown);
  font-weight: 400;
}

/* ===========================
   Profile
   =========================== */

#profile {
  max-width: 900px;
  margin: 0 auto;
}

.profile-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 5rem;
  align-items: start;
}

.profile-img {
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(44,36,32,0.12);
  position: relative;
}

.profile-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.profile-img-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.profile-img-wrap .profile-img {
  width: 100%;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.6rem;
  border: 1px solid var(--plum);
  border-radius: 999px;
  color: var(--plum);
  font-family: 'Cormorant Garant', 'Noto Serif JP', serif;
  font-size: 0.95rem;
  letter-spacing: 2.5px;
  font-style: italic;
  transition: background 0.3s ease, color 0.3s ease;
  background: transparent;
}

.instagram-link:hover {
  background: var(--plum);
  color: var(--cream);
}

.instagram-link svg {
  flex-shrink: 0;
}

.profile-text h2 {
  font-size: 2rem;
  font-style: italic;
  color: var(--plum);
  margin-bottom: 0.4rem;
}

.profile-text .name-jp {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--gray);
  margin-bottom: 2rem;
  display: block;
}

.profile-text p {
  font-size: 0.95rem;
  line-height: 2.2;
  color: var(--brown);
  margin-bottom: 1.2rem;
}

.profile-sig {
  margin-top: 2rem;
  font-family: 'Cormorant Garant', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold);
}

/* ===========================
   Contact
   =========================== */

#contact {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-intro {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--gray);
  margin-bottom: 3rem;
}

.contact-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gray);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--white);
  border: 1px solid rgba(44,36,32,0.15);
  border-radius: 1px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--brown);
  transition: border-color 0.3s;
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sage);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.btn-submit {
  align-self: center;
  padding: 1rem 3.5rem;
  background: var(--plum);
  color: var(--white);
  font-family: 'Cormorant Garant', serif;
  font-size: 1rem;
  letter-spacing: 0.25em;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.btn-submit:hover {
  background: var(--plum-lt);
  transform: translateY(-2px);
}

/* ===========================
   Footer
   =========================== */

footer {
  background: var(--brown);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 3.5rem 4%;
}

.footer-logo {
  font-family: 'Cormorant Garant', serif;
  font-style: italic;
  font-size: 2rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

.footer-sub {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  margin-bottom: 2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.72rem;
  opacity: 0.5;
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 70%;
    max-width: 300px;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    box-shadow: -4px 0 30px rgba(0,0,0,0.15);
    z-index: 101;
  }

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

  .nav-links a {
    color: var(--brown) !important;
    font-size: 0.85rem;
  }

  .nav-toggle { display: flex; }

  .concept-inner,
  .profile-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .concept-img img { height: 320px; }
  .profile-img img { height: 300px; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item:first-child {
    grid-column: span 2;
  }

  .gallery-item:first-child img { height: 320px; }
  .gallery-item:not(:first-child) img { height: 200px; }
}

@media (max-width: 540px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item:first-child {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-item:first-child img,
  .gallery-item:not(:first-child) img {
    height: 280px;
  }

  .shop-cards {
    grid-template-columns: 1fr;
  }
}
