/* =============================================
   JM FlowerStore — Main Stylesheet v1.0
   ============================================= */

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

:root {
  --ink:        #0e120e;
  --forest:     #1a2b1a;
  --moss:       #2c3f2c;
  --sage:       #4a6741;
  --gold:       #c9a84c;
  --gold-light: #e2c882;
  --cream:      #f5efe6;
  --petal:      #f0e8dd;
  --white:      #fdfaf6;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ── CUSTOM CURSOR ── */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 9999;
  pointer-events: none;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  transition: all 0.18s ease;
  opacity: 0.6;
}
.cursor-ring.is-hovering { transform: translate(-50%,-50%) scale(1.8); }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.4rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s, padding 0.4s;
}
nav.scrolled {
  background: rgba(14,18,14,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.9rem 3rem;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  text-decoration: none;
}
.nav-logo span { font-style: italic; font-weight: 300; }
.nav-links {
  display: flex; gap: 2.5rem; list-style: none;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.7rem; font-weight: 300;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream); text-decoration: none;
  opacity: 0.75; transition: opacity 0.2s, color 0.2s;
}
.nav-links a:hover { opacity: 1; color: var(--gold-light); }
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 1px;
  background: var(--gold-light); transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── HERO ── */
#hero {
  position: relative;
  height: 100vh; min-height: 700px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(74,103,65,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 20% 70%, rgba(201,168,76,0.06) 0%, transparent 60%),
    linear-gradient(160deg, #0a0f0a 0%, #1a2b1a 50%, #0e120e 100%);
}
.hero-botanical {
  position: absolute; right: -60px; top: -40px;
  width: 620px; height: 620px;
  opacity: 0.07; pointer-events: none;
}
.hero-line-left {
  position: absolute; left: 3rem; top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-body);
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); opacity: 0.5;
}
.hero-line-left::before {
  content: '';
  display: block; width: 1px; height: 60px;
  background: var(--gold); margin: 0 auto 1rem; opacity: 0.4;
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 2rem;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.65rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.8rem;
  opacity: 0; animation: fadeUp 1s 0.3s forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8.5rem);
  font-weight: 300; line-height: 0.9;
  color: var(--white); margin-bottom: 1rem;
  opacity: 0; animation: fadeUp 1s 0.55s forwards;
}
.hero-title em {
  font-style: italic; color: var(--gold-light); display: block;
}
.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 300; font-style: italic;
  color: var(--cream); letter-spacing: 0.03em;
  opacity: 0; animation: fadeUp 1s 0.8s forwards; margin-bottom: 3rem;
}
.hero-cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(201,168,76,0.4);
  padding: 1rem 2.5rem; text-decoration: none;
  transition: all 0.3s;
  opacity: 0; animation: fadeUp 1s 1.05s forwards;
  position: relative; overflow: hidden;
}
.hero-cta::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(201,168,76,0.08);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.hero-cta:hover::before { transform: scaleX(1); }
.hero-cta:hover { border-color: var(--gold); color: var(--gold-light); }
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  opacity: 0; animation: fadeUp 1s 1.4s forwards;
}
.hero-scroll span {
  font-size: 0.55rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold); opacity: 0.5;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

/* ── ORNAMENT ── */
.ornament-wrap { padding: 2rem 0; background: var(--ink); }
.ornament-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 1.2rem; padding: 0 2rem; color: var(--gold);
}
.ornament-divider::before,
.ornament-divider::after {
  content: ''; flex: 1; max-width: 160px; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}
.ornament-divider::before { background: linear-gradient(to left, transparent, var(--gold)); }
.ornament-divider svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── SHARED SECTION ── */
section { padding: 8rem 0; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 3rem; }
.section-label {
  font-family: var(--font-body);
  font-size: 0.6rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: 1rem;
}
.section-label::before {
  content: ''; width: 30px; height: 1px; background: var(--gold); opacity: 0.5;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 300; line-height: 1.1;
  color: var(--white); margin-bottom: 2rem;
}
.section-title em { font-style: italic; color: var(--gold-light); }

/* ── ABOUT ── */
#about { background: var(--ink); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
}
.about-visual { position: relative; }
.about-frame {
  width: 100%; aspect-ratio: 3/4;
  border: 1px solid rgba(201,168,76,0.2);
  position: relative; overflow: hidden;
  background: var(--forest);
}
.about-frame-inner {
  position: absolute; inset: 1.5rem;
  border: 1px solid rgba(201,168,76,0.1);
  display: flex; align-items: center; justify-content: center;
}
.about-frame-svg { width: 70%; opacity: 0.25; }
.about-frame-corner {
  position: absolute; width: 20px; height: 20px;
  border-color: var(--gold); border-style: solid; opacity: 0.6;
}
.about-frame-corner.tl { top: 0; left: 0; border-width: 1px 0 0 1px; }
.about-frame-corner.tr { top: 0; right: 0; border-width: 1px 1px 0 0; }
.about-frame-corner.bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.about-frame-corner.br { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
.about-badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  width: 110px; height: 110px; border-radius: 50%;
  background: var(--forest); border: 1px solid rgba(201,168,76,0.3);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
}
.about-badge-num {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 300; color: var(--gold-light); line-height: 1;
}
.about-badge-text {
  font-size: 0.5rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream); opacity: 0.6; text-align: center;
}
.about-text p {
  font-size: 0.95rem; line-height: 1.9;
  color: var(--cream); opacity: 0.8; margin-bottom: 1.4rem;
}
.about-text p:last-of-type { margin-bottom: 0; }
.about-en { font-style: italic; opacity: 0.6 !important; font-size: 0.85rem !important; }
.about-quote {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 300; font-style: italic;
  color: var(--gold-light); line-height: 1.5;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  margin: 2rem 0;
}

/* ── SERVICES ── */
#services {
  background: linear-gradient(180deg, var(--ink) 0%, var(--forest) 50%, var(--ink) 100%);
  position: relative; overflow: hidden;
}
#services::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(201,168,76,0.04) 0%, transparent 70%);
}
.services-header { text-align: center; margin-bottom: 5rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px; position: relative; z-index: 1;
}
.service-card {
  background: rgba(26,43,26,0.5);
  border: 1px solid rgba(201,168,76,0.1);
  padding: 3rem 2.5rem;
  position: relative; overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.06) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}
.service-card:hover { border-color: rgba(201,168,76,0.35); background: rgba(44,63,44,0.6); }
.service-card:hover::before { opacity: 1; }
.service-number {
  font-family: var(--font-display);
  font-size: 3.5rem; font-weight: 300;
  color: rgba(201,168,76,0.12); line-height: 1; margin-bottom: 1.5rem; display: block;
}
.service-icon { width: 42px; height: 42px; margin-bottom: 1.5rem; color: var(--gold); }
.service-name {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 400; color: var(--white); margin-bottom: 0.5rem;
}
.service-name-en {
  font-family: var(--font-body);
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); opacity: 0.7; margin-bottom: 1.2rem; display: block;
}
.service-desc { font-size: 0.85rem; line-height: 1.8; color: var(--cream); opacity: 0.65; }

/* ── GALLERY ── */
#gallery { background: var(--ink); }
.gallery-header { text-align: center; margin-bottom: 4rem; }
.gallery-intro {
  font-size: 0.85rem; opacity: 0.55;
  max-width: 440px; margin: 0 auto; line-height: 1.8;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.gallery-item {
  overflow: hidden; position: relative;
  background: var(--forest);
  border: 1px solid rgba(201,168,76,0.08);
}
.g1 { grid-column: 1 / 6; aspect-ratio: 4/3; }
.g2 { grid-column: 6 / 9; aspect-ratio: 3/4; }
.g3 { grid-column: 9 / 13; aspect-ratio: 4/3; }
.g4 { grid-column: 1 / 4; aspect-ratio: 4/3; }
.g5 { grid-column: 4 / 9; aspect-ratio: 16/9; }
.g6 { grid-column: 9 / 13; aspect-ratio: 4/3; }
.gallery-placeholder {
  width: 100%; height: 100%; min-height: 200px;
  background: linear-gradient(135deg, var(--forest), var(--moss));
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1rem;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gallery-item:hover .gallery-placeholder { transform: scale(1.04); }
.gallery-placeholder svg { width: 50px; height: 50px; opacity: 0.2; color: var(--gold-light); }
.gallery-placeholder span {
  font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); opacity: 0.35;
}
.gallery-placeholder img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,18,14,0.7) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 1.2rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  font-family: var(--font-display);
  font-size: 0.9rem; font-style: italic; color: var(--gold-light);
}
.gallery-note {
  text-align: center; margin-top: 2rem;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); opacity: 0.35;
}

/* ── CONTACT ── */
#contact {
  background: linear-gradient(180deg, var(--ink) 0%, var(--forest) 100%);
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 5rem; align-items: start;
}
.contact-intro {
  font-size: 0.88rem !important; line-height: 1.9; opacity: 0.65 !important; margin-bottom: 0;
}
.contact-items { margin-top: 3rem; display: flex; flex-direction: column; gap: 2rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1.2rem; }
.contact-item-icon {
  width: 42px; height: 42px;
  border: 1px solid rgba(201,168,76,0.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--gold);
}
.contact-item-icon svg { width: 18px; height: 18px; }
.contact-item-label {
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); opacity: 0.7; margin-bottom: 0.3rem;
}
.contact-item-value {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 300; color: var(--white);
}
.contact-item-value a { color: inherit; text-decoration: none; transition: color 0.2s; }
.contact-item-value a:hover { color: var(--gold-light); }
.contact-hours {
  margin-top: 3rem; padding: 2rem;
  border: 1px solid rgba(201,168,76,0.15);
  background: rgba(26,43,26,0.3);
}
.contact-hours-title {
  font-family: var(--font-display);
  font-size: 1rem; font-style: italic;
  color: var(--gold-light); margin-bottom: 1rem;
}
.contact-hours table { width: 100%; border-collapse: collapse; }
.contact-hours td {
  padding: 0.4rem 0; font-size: 0.8rem;
  color: var(--cream); opacity: 0.7;
}
.contact-hours td:last-child { text-align: right; }
.map-container {
  height: 420px; border: 1px solid rgba(201,168,76,0.2);
  overflow: hidden; position: relative;
  filter: grayscale(30%) contrast(1.1);
}
.map-container iframe { width: 100%; height: 100%; border: none; }
.map-overlay-corner {
  position: absolute; width: 16px; height: 16px;
  border-color: var(--gold); border-style: solid;
  pointer-events: none; z-index: 2;
}
.map-overlay-corner.tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.map-overlay-corner.tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.map-overlay-corner.bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.map-overlay-corner.br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
.map-label {
  margin-top: 1rem; font-size: 0.65rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); opacity: 0.4; text-align: right;
}

/* ── FOOTER ── */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(201,168,76,0.1);
  padding: 3rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 300; letter-spacing: 0.08em; color: var(--gold-light);
}
.footer-logo span { font-style: italic; }
.footer-copy { font-size: 0.65rem; letter-spacing: 0.15em; color: var(--cream); opacity: 0.35; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a {
  font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--cream); opacity: 0.4; text-decoration: none; transition: opacity 0.2s, color 0.2s;
}
.footer-links a:hover { opacity: 1; color: var(--gold); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ── MOBILE ── */
@media (max-width: 900px) {
  body { cursor: auto; }
  .cursor { display: none; }
  nav { padding: 1.2rem 1.5rem; }
  nav.scrolled { padding: 0.8rem 1.5rem; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(14,18,14,0.97);
    border-bottom: 1px solid rgba(201,168,76,0.2);
    padding: 1rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    display: block; padding: 0.9rem 2rem;
    font-size: 0.8rem;
  }
  .container { padding: 0 1.5rem; }
  section { padding: 5rem 0; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { max-width: 300px; margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery-item { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 4/3 !important; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  footer { flex-direction: column; align-items: flex-start; }
  .hero-line-left { display: none; }
  .hero-scroll { display: none; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}
