/* ========================================
   Bespoke Wardrobe Factory — Black & Gold
   ======================================== */

:root {
  --black: #0a0a0a;
  --black-soft: #121212;
  --black-elevated: #1a1a1a;
  --charcoal: #242424;
  --gold: #c9a84c;
  --gold-light: #e0c878;
  --gold-dim: #8a7340;
  --cream: #f3efe6;
  --muted: #a8a29a;
  --line: rgba(201, 168, 76, 0.22);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --header-h: 88px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--cream);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--gold-light);
}

em {
  font-style: italic;
  color: var(--gold);
}

/* ---- Buttons ---- */
.btn {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.btn-gold:hover,
.btn-gold:focus {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--black);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline-gold:hover,
.btn-outline-gold:focus {
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.72rem;
}

/* ---- Header ---- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  background: transparent;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.navbar {
  height: var(--header-h);
  padding: 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}

.brand-logo {
  height: 64px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.brand-logo--footer {
  height: 80px;
  max-width: 240px;
}

.navbar-nav .nav-link {
  color: rgba(243, 239, 230, 0.78);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1rem !important;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--gold);
}

.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.15rem;
  height: 1px;
  background: var(--gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-phone {
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-phone i {
  color: var(--gold);
}

.navbar-toggler {
  border: 0;
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-shadow: none !important;
}

.toggler-line {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--gold);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 2rem) 0 5rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.35) 40%, rgba(10, 10, 10, 0.88) 100%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0.25) 60%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-right: auto;
}

.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--cream);
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}

.hero-brand em {
  font-weight: 400;
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(243, 239, 230, 0.82);
  max-width: 34rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 24px;
  height: 38px;
  border: 1px solid rgba(201, 168, 76, 0.5);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hero-scroll span {
  width: 3px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scroll-dot 1.8s var(--ease) infinite;
}

@keyframes scroll-dot {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

/* ---- Sections ---- */
.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
  font-weight: 500;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.35rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 1.25rem;
}

.section-copy {
  color: var(--muted);
  margin-bottom: 1.1rem;
  max-width: 36rem;
}

.section-intro {
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 3.5rem;
}

.section-head {
  margin-bottom: 1rem;
}

/* ---- About ---- */
.about {
  background:
    radial-gradient(ellipse 60% 50% at 0% 50%, rgba(201, 168, 76, 0.06), transparent 70%),
    var(--black);
}

.about-visual {
  position: relative;
}

.about-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.85);
}

.about-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--black);
  border: 1px solid var(--gold);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  min-width: 100px;
}

.badge-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
}

.badge-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  margin-top: 0.25rem;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1.1;
  font-weight: 600;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- Materials ---- */
.materials {
  background: var(--black-elevated);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 5rem 0;
}

.material-item {
  text-align: center;
  padding: 1.5rem 1rem;
  height: 100%;
  border: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.material-item:hover {
  border-color: var(--line);
}

.material-item i {
  font-size: 1.75rem;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.material-item h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.65rem;
}

.material-item p {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.55;
}

/* ---- Services ---- */
.services {
  background: var(--black-soft);
}

.service-block {
  height: 100%;
  padding-bottom: 0.5rem;
}

.service-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold-dim);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.service-img {
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.service-block:hover .service-img img {
  transform: scale(1.04);
}

.service-block h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--cream);
}

.service-block > p {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 1.25rem;
}

.service-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-block li {
  position: relative;
  padding-left: 1.15rem;
  color: rgba(243, 239, 230, 0.72);
  font-size: 0.92rem;
  margin-bottom: 0.45rem;
}

.service-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

/* ---- Process ---- */
.process {
  background:
    linear-gradient(180deg, var(--black) 0%, var(--black-elevated) 100%);
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

.process-step {
  padding: 2.5rem 1.75rem 0 0;
  position: relative;
}

.process-step::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--gold);
  border-radius: 50%;
}

.step-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--cream);
}

.process-step p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  padding-right: 1rem;
}

/* ---- Portfolio ---- */
.portfolio {
  background: var(--black);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 0.85rem;
  margin-top: 3rem;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  grid-column: span 4;
}

.portfolio-item--lg {
  grid-column: span 8;
  grid-row: span 2;
}

.portfolio-item--wide {
  grid-column: span 8;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
  transition: transform 0.7s var(--ease), filter 0.4s var(--ease);
  filter: brightness(0.88);
}

.portfolio-item:hover img {
  transform: scale(1.03);
  filter: brightness(1);
}

.portfolio-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(transparent, rgba(10, 10, 10, 0.85));
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cream);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.portfolio-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Testimonials ---- */
.testimonials {
  background: var(--black-soft);
}

.testimonial {
  height: 100%;
  margin: 0;
  padding: 2rem 1.75rem;
  border-top: 1px solid var(--gold);
  background: transparent;
}

.testimonial .stars {
  color: var(--gold);
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.testimonial p {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.testimonial footer {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.testimonial cite {
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gold);
}

.testimonial footer span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---- Contact ---- */
.contact {
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(201, 168, 76, 0.07), transparent 65%),
    var(--black);
}

.contact-perks {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 2.25rem;
}

.contact-perks li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: rgba(243, 239, 230, 0.8);
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
}

.contact-perks i {
  color: var(--gold);
  margin-top: 0.15rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-line {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  color: var(--cream);
}

.contact-line i {
  color: var(--gold);
  font-size: 1.15rem;
  margin-top: 0.2rem;
}

.contact-line strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.contact-form {
  background: var(--black-elevated);
  border: 1px solid var(--line);
  padding: 2.25rem;
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  margin-bottom: 0.35rem;
  color: var(--cream);
}

.form-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.form-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.form-control,
.form-select {
  background: var(--black);
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: var(--radius);
  color: var(--cream);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  box-shadow: none !important;
}

.form-control::placeholder {
  color: rgba(168, 162, 154, 0.55);
}

.form-control:focus,
.form-select:focus {
  background: var(--black);
  border-color: var(--gold);
  color: var(--cream);
}

.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23c9a84c' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.form-select option {
  background: var(--black);
  color: var(--cream);
}

.form-success {
  margin-top: 1rem;
  margin-bottom: 0;
  color: var(--gold);
  text-align: center;
  font-size: 0.95rem;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--black-soft);
  border-top: 1px solid var(--line);
  padding: 4rem 0 2rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.25rem;
}

.footer-tagline {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 22rem;
  margin: 0;
}

.site-footer h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-links a:hover {
  color: var(--gold);
}

.site-footer address {
  font-style: normal;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-phone a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--cream);
}

.footer-phone a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---- WhatsApp float ---- */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1100;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  display: grid;
  place-items: center;
  font-size: 1.65rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.whatsapp-float:hover {
  transform: scale(1.06);
  background: #1ebe57;
  color: #fff !important;
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
  :root {
    --header-h: 76px;
  }

  .brand-logo {
    height: 52px;
  }

  .navbar-collapse {
    background: rgba(10, 10, 10, 0.98);
    margin: 0 -0.75rem;
    padding: 1rem 1.25rem 1.5rem;
    border-top: 1px solid var(--line);
  }

  .nav-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
  }

  .process-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }

  .process-step {
    padding-top: 1.75rem;
  }

  .portfolio-item,
  .portfolio-item--lg,
  .portfolio-item--wide {
    grid-column: span 6;
    grid-row: auto;
  }

  .portfolio-item--lg {
    grid-column: span 12;
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 4.5rem 0;
  }

  .hero {
    align-items: center;
    padding-bottom: 4rem;
  }

  .hero-scroll {
    display: none;
  }

  .nav-phone {
    display: none;
  }

  .process-track {
    grid-template-columns: 1fr;
  }

  .portfolio-item,
  .portfolio-item--lg,
  .portfolio-item--wide {
    grid-column: span 12;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .about-stats {
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
