/* ===================================
   MOLUCHY LLC — Stylesheet
   Wine #500724 + Cream + Editorial
   =================================== */

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

:root {
  --wine: #500724;
  --wine-soft: #6E1A39;
  --cream: #F8F2EC;
  --cream-warm: #FDF7F0;
  --taupe: #9B6B7A;
  --blush: #D4B5BC;
  --ink: #2A1A20;
  --white: #FFFFFF;
  --line: rgba(80, 7, 36, 0.12);
  --shadow: 0 4px 24px rgba(80, 7, 36, 0.08);
  --shadow-strong: 0 12px 40px rgba(80, 7, 36, 0.16);

  --font-serif: 'Cormorant Garamond', 'Baskerville', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.7; }
em { font-style: italic; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  z-index: 100;
  transition: box-shadow 0.3s, padding 0.3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
  border-bottom-color: var(--line);
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}
.logo-link { display: flex; align-items: center; }
.logo-link:hover { opacity: 1; }
.logo-img {
  height: 56px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: 8px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--wine);
  transition: width 0.3s;
}
.nav-links a:hover {
  opacity: 1;
  color: var(--wine);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-cta {
  background: var(--wine);
  color: var(--cream) !important;
  padding: 12px 24px !important;
  border-radius: 4px;
  letter-spacing: 1px !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--wine-soft);
  color: var(--cream) !important;
  opacity: 1;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--wine);
  transition: 0.3s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(42, 26, 32, 0.55) 0%,
    rgba(80, 7, 36, 0.65) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 120px 32px 80px;
  max-width: 900px;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 32px;
}
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin-bottom: 28px;
  color: var(--white);
}
.hero-headline em { font-style: italic; font-weight: 500; }
.hero-subhead {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 300;
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto 44px;
  opacity: 0.9;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  display: inline-block;
  background: var(--cream);
  color: var(--wine);
  padding: 16px 36px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 1.5px;
  font-size: 13px;
  text-transform: uppercase;
  transition: all 0.3s;
  border: 1px solid var(--cream);
}
.btn-primary:hover {
  opacity: 1;
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 24px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-indicator span {
  display: block;
  width: 2px;
  height: 8px;
  background: var(--cream);
  border-radius: 2px;
  animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============ SECTIONS ============ */
section { padding: 120px 0; }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 24px;
}
.section-title em { color: var(--wine); font-weight: 500; }
.section-header {
  max-width: 720px;
  margin: 0 auto 80px;
  text-align: center;
}
.section-intro {
  font-size: 18px;
  line-height: 1.7;
  color: var(--taupe);
  margin-top: 16px;
}

/* ============ ABOUT ============ */
.about { background: var(--cream-warm); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}
.about-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}
.about-text p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 22px;
}
.btn-text {
  display: inline-block;
  margin-top: 20px;
  font-size: 15px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
  font-family: var(--font-serif);
}
.btn-text span {
  color: var(--wine);
  font-weight: 600;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: inline-block;
  margin-left: 4px;
}

/* ============ SERVICES ============ */
.services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-card {
  background: var(--cream-warm);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}
.service-image { height: 280px; overflow: hidden; }
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.service-card:hover .service-image img { transform: scale(1.05); }
.service-content { padding: 36px 32px 40px; }
.service-number {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 24px;
  color: var(--wine);
  margin-bottom: 16px;
  display: block;
}
.service-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 16px;
}
.service-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.85;
}

/* ============ PROCESS ============ */
.process { background: var(--wine); color: var(--cream); }
.process .section-label { color: var(--blush); }
.process .section-title { color: var(--cream); }
.process .section-title em { color: var(--blush); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.process-step {
  text-align: left;
  padding-left: 24px;
  border-left: 2px solid var(--blush);
}
.step-number {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 32px;
  color: var(--blush);
  display: block;
  margin-bottom: 12px;
}
.step-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 14px;
  color: var(--cream);
}
.process-step p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--blush);
  opacity: 0.9;
}

/* ============ VALUES ============ */
.values { background: var(--cream); padding: 80px 0; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.value-item { padding: 0 16px; }
.value-number, .value-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 500;
  color: var(--wine);
  line-height: 1;
  margin-bottom: 12px;
}
.value-number span {
  font-size: 0.6em;
  vertical-align: top;
  opacity: 0.7;
  margin-left: 2px;
}
.value-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.7;
}

/* ============ CONTACT ============ */
.contact { background: var(--white); padding: 120px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.contact-text p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  opacity: 0.85;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 40px;
  background: var(--cream-warm);
  border-radius: 8px;
  border-left: 4px solid var(--wine);
}
.contact-item { padding-bottom: 4px; }
.contact-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 8px;
}
.contact-value {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}
a.contact-value:hover { color: var(--wine); opacity: 1; }

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(248, 242, 236, 0.1);
}
.footer-brand { display: flex; flex-direction: column; }
.footer-tagline {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--blush);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.5px;
}
.footer-tagline em {
  font-style: italic;
  color: var(--cream);
}
.footer-nav {
  display: flex;
  gap: 24px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.7;
}
.footer-nav a:hover { opacity: 1; color: var(--blush); }
.footer-bottom {
  padding-top: 30px;
  text-align: center;
  font-size: 13px;
  color: var(--cream);
  opacity: 0.5;
}

/* ============ FADE ANIMATIONS ============ */
.service-card, .process-step, .value-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.service-card.in-view, .process-step.in-view, .value-item.in-view {
  opacity: 1;
  transform: translateY(0);
}
.service-card:nth-child(2), .process-step:nth-child(2), .value-item:nth-child(2) { transition-delay: 0.1s; }
.service-card:nth-child(3), .process-step:nth-child(3), .value-item:nth-child(3) { transition-delay: 0.2s; }
.process-step:nth-child(4), .value-item:nth-child(4) { transition-delay: 0.3s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .about-grid, .contact-grid { gap: 48px; }
  .services-grid, .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  section { padding: 80px 0; }
  .header-container { height: 76px; }
  .logo-img { height: 44px; }

  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 24px 32px;
    transform: translateY(-200%);
    transition: transform 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border-top: 1px solid var(--line);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a { display: block; padding: 16px 0; font-size: 14px; }
  .nav-cta { text-align: center; margin-top: 12px; }
  .menu-toggle { display: flex; }

  .hero-content { padding: 100px 24px 60px; }
  .hero-eyebrow { font-size: 11px; letter-spacing: 4px; margin-bottom: 24px; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-image img { height: 360px; }

  .services-grid, .process-grid { grid-template-columns: 1fr; }
  .values-grid { gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-nav { justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .logo-img { height: 38px; }
  .header-container { height: 68px; }
  .nav-links { top: 68px; }
  .hero-content { padding: 90px 20px 60px; }
}
