/* ===========================
   ECOMULIA LESTARI GARMENT
   style.css
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500&family=DM+Sans:wght@300;400;500&display=swap');

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

:root {
  --sage: #8FA67A;
  --sage-light: #B5C9A4;
  --sage-dark: #5C7A4A;
  --brown: #7A4A2A;
  --brown-mid: #A06B45;
  --brown-pale: #F0E8DF;
  --cream: #FAF7F2;
  --offwhite: #F3EFE8;
  --ink: #1C1A17;
  --muted: #7A7570;
  --border: rgba(28, 26, 23, 0.10);
  --border-med: rgba(28, 26, 23, 0.18);
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  line-height: 1.1;
}

em {
  font-style: italic;
}

/* ===== UTILITIES ===== */
.section-tag {
  display: block;
  font-size: 10px;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--sage-dark);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  margin-bottom: 14px;
}

.section-tag.light {
  color: var(--sage-light);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-title.light {
  color: var(--cream);
}

.section-title em {
  color: var(--sage-dark);
}

.section-title.light em {
  color: var(--sage-light);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--ink);
  text-decoration: none;
  padding: 16px 32px;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: var(--sage-dark);
}

.btn-primary.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--brown);
  text-decoration: none;
  border-bottom: 1px solid var(--brown);
  padding-bottom: 3px;
  transition: color 0.3s, border-color 0.3s;
}

.btn-ghost:hover {
  color: var(--sage-dark);
  border-color: var(--sage-dark);
}

.arrow {
  font-size: 14px;
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 0.5px solid var(--border);
  transition: padding 0.3s, box-shadow 0.3s;
}

#navbar.scrolled {
  padding: 14px 60px;
  box-shadow: 0 2px 20px rgba(28, 26, 23, 0.06);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.25s;
}

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

.nav-cta {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--ink);
  text-decoration: none;
  padding: 12px 24px;
  font-weight: 400;
  transition: background 0.25s;
}

.nav-cta:hover {
  background: var(--sage-dark);
}

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cream);
  z-index: 190;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mobile-menu ul a {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
}

/* ===== HERO ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: 80px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px;
}

.hero-title {
  font-size: clamp(48px, 5.5vw, 80px);
  font-weight: 400;
  line-height: 1.0;
  color: var(--ink);
  margin-bottom: 28px;
}

.hero-title em {
  color: var(--sage-dark);
}

.hero-desc {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 400px;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 32px;
  border-top: 0.5px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
}

.stat-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat-divider {
  width: 0.5px;
  height: 40px;
  background: var(--border-med);
}

.hero-right {
  position: relative;
  background: var(--offwhite);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-img-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  z-index: 2;
}

.hero-logo-art {
  width: 220px;
  height: auto;
  opacity: 0.85;
}

.hero-place-tag {
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  font-style: italic;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.hero-bg-text {
  position: absolute;
  font-family: 'Playfair Display', serif;
  font-size: 120px;
  font-weight: 700;
  color: rgba(143, 166, 122, 0.06);
  letter-spacing: 0.05em;
  user-select: none;
  z-index: 1;
  white-space: nowrap;
}

/* ===== MARQUEE ===== */
.marquee-bar {
  background: var(--sage-dark);
  padding: 14px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 56px;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.marquee-item {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.65);
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
}

.marquee-item::after {
  content: '✦';
  margin-left: 56px;
  font-size: 7px;
  color: rgba(250, 247, 242, 0.3);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 60px;
}

.section-intro {
  max-width: 600px;
  margin-bottom: 56px;
}

/* ===== VALUES ===== */
.values-section {
  background: var(--cream);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.val-card {
  background: var(--cream);
  padding: 40px 36px;
  border-top: 2px solid var(--sage);
  transition: background 0.3s;
}

.val-card:hover {
  background: var(--offwhite);
}

.val-num {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 400;
  color: var(--sage-light);
  opacity: 0.55;
  line-height: 1;
  margin-bottom: 16px;
}

.val-title {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
  font-weight: 500;
}

.val-body {
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

/* ===== PROCESS ===== */
.process-section {
  background: var(--ink);
  padding: 100px 0;
}

.process-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.process-intro-text {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(250, 247, 242, 0.45);
  max-width: 500px;
  margin-top: 16px;
  margin-bottom: 56px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.05);
}

.step {
  background: rgba(28, 26, 23, 0.95);
  padding: 36px 32px;
  border-top: 1px solid rgba(143, 166, 122, 0.3);
  transition: background 0.3s;
}

.step:hover {
  background: rgba(92, 122, 74, 0.1);
}

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--sage-dark);
  opacity: 0.55;
  line-height: 1;
  margin-bottom: 12px;
}

.step-title {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 10px;
  font-weight: 400;
}

.step-body {
  font-size: 13px;
  line-height: 1.85;
  color: rgba(250, 247, 242, 0.4);
}

/* ===== COLLECTIONS ===== */
.collections-section {
  background: var(--offwhite);
}

.collections-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px;
}

.col-card {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  cursor: pointer;
}

.col-card--tall {
  grid-row: span 2;
}

.col-img {
  width: 100%;
  padding-bottom: 75%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0;
  height: 220px;
  transition: transform 0.6s ease;
}

.col-card--tall .col-img {
  height: 100%;
  min-height: 460px;
}

.col-card:hover .col-img {
  transform: scale(1.04);
}

.col-img-1 { background: linear-gradient(145deg, #CDDABE, #B0C8A0); }
.col-img-2 { background: linear-gradient(145deg, #DDD5C8, #C4B49C); }
.col-img-3 { background: linear-gradient(145deg, #BDD0C8, #9DBFB0); }
.col-img-4 { background: linear-gradient(145deg, #D0CFC8, #B8B5AA); }
.col-img-5 { background: linear-gradient(145deg, #C8D0C0, #AABDA0); }

.col-img-label {
  position: relative;
  z-index: 2;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  align-self: center;
}

.col-info {
  padding: 24px 28px;
  background: var(--cream);
}

.col-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 4px;
}

.col-sub {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.col-tag {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--sage-dark);
  border: 0.5px solid var(--sage);
  padding: 5px 12px;
}

.collections-cta {
  margin-top: 48px;
  text-align: center;
}

/* ===== CERTIFICATIONS ===== */
.cert-section {
  background: var(--cream);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  padding: 80px 60px;
}

.cert-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cert-body {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  margin-top: 16px;
}

.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

.cert-badge {
  background: var(--offwhite);
  padding: 32px 28px;
  text-align: center;
  transition: background 0.3s;
}

.cert-badge:hover {
  background: var(--cream);
}

.cert-badge-icon {
  font-size: 14px;
  color: var(--sage);
  margin-bottom: 10px;
}

.cert-badge-title {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sage-dark);
  font-weight: 500;
  margin-bottom: 6px;
}

.cert-badge-sub {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}

/* ===== ABOUT ===== */
.about-section {
  background: var(--offwhite);
  padding: 100px 60px;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}

.about-left {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-logo {
  width: 100%;
  max-width: 300px;
  height: auto;
  opacity: 0.8;
}

.about-body {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 20px;
}

.about-quote {
  margin-top: 36px;
  padding-left: 20px;
  border-left: 2px solid var(--sage);
}

.about-quote p {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 10px;
}

.about-quote cite {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-dark);
  font-style: normal;
}

/* ===== CONTACT / CTA ===== */
.cta-section {
  background: var(--brown-pale);
  padding: 100px 60px;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.cta-title {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 16px;
}

.cta-title em {
  color: var(--brown);
}

.cta-body {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

/* ===== CONTACT FORM ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 10px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  border: 0.5px solid var(--border-med);
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.25s;
  appearance: none;
  -webkit-appearance: none;
}

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

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

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

/* ===== FOOTER ===== */
footer {
  background: var(--ink);
  padding: 80px 60px 48px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.07);
}

.footer-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 12px;
  line-height: 1.9;
  color: rgba(250, 247, 242, 0.3);
  max-width: 220px;
  margin-bottom: 28px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(250, 247, 242, 0.4);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: border-color 0.25s, color 0.25s;
}

.social-link:hover {
  border-color: var(--sage-light);
  color: var(--sage-light);
}

.footer-col-title {
  font-size: 9px;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 20px;
  font-weight: 400;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-links li {
  font-size: 13px;
  color: rgba(250, 247, 242, 0.35);
  text-decoration: none;
  line-height: 1.6;
  transition: color 0.25s;
}

.footer-links a:hover {
  color: rgba(250, 247, 242, 0.7);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 11px;
  color: rgba(250, 247, 242, 0.18);
  letter-spacing: 0.06em;
}

.footer-legal {
  display: flex;
  gap: 28px;
}

.footer-legal a {
  font-size: 11px;
  color: rgba(250, 247, 242, 0.18);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.25s;
}

.footer-legal a:hover {
  color: rgba(250, 247, 242, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  #navbar {
    padding: 18px 32px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-right {
    height: 320px;
  }

  .hero-left {
    padding: 60px 32px 48px;
  }

  .section {
    padding: 72px 32px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-inner {
    padding: 0 32px;
  }

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

  .col-card--tall {
    grid-row: span 1;
    grid-column: span 2;
  }

  .cert-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-left {
    display: none;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .cert-section {
    padding: 72px 32px;
  }

  .about-section {
    padding: 72px 32px;
  }

  .cta-section {
    padding: 72px 32px;
  }

  footer {
    padding: 60px 32px 36px;
  }
}

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

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

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

  .col-card--tall {
    grid-column: span 1;
  }

  .hero-stats {
    gap: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

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