/* (NAMA BRAND) — Custom styles beyond Tailwind */

:root {
  --gold: #c9a962;
  --gold-light: #e8d5a3;
  --gold-dark: #a8893f;
  --ink: #0c0c0c;
  --ink-soft: #1a1a1a;
  --cream: #f7f4ef;
  --muted: #8a857c;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-display {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Gold accent line */
.gold-line {
  width: 48px;
  height: 1px;
  background: var(--gold);
}

.gold-line-lg {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 2rem;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.35s ease;
  border: 1px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 2rem;
  background: transparent;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.45);
  transition: all 0.35s ease;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 2rem;
  background: transparent;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  transition: all 0.35s ease;
}

.btn-outline-dark:hover {
  background: var(--ink);
  color: #fff;
}

/* Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.3s ease;
  padding: 1.25rem 0;
}

.site-header.scrolled {
  background: rgba(12, 12, 12, 0.92);
  backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(201, 169, 98, 0.15);
}

.site-header .nav-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.25s ease;
  position: relative;
}

.site-header .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: var(--gold);
}

.site-header .nav-link:hover::after,
.site-header .nav-link.active::after {
  width: 100%;
}

.logo-mark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #fff;
  text-transform: uppercase;
}

.logo-mark span {
  color: var(--gold);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(12, 12, 12, 0.98);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  letter-spacing: 0.12em;
  transition: color 0.25s ease;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--gold);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--ink);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(12, 12, 12, 0.85) 0%, rgba(12, 12, 12, 0.45) 55%, rgba(12, 12, 12, 0.7) 100%),
    url("https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?auto=format&fit=crop&w=2000&q=80") center/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: 10rem 0 5rem;
  background: var(--ink);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 12, 12, 0.75), rgba(12, 12, 12, 0.9)),
    url("https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
  opacity: 0.9;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

/* Section labels */
.section-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Cards */
.service-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 2.25rem 1.75rem;
  transition: all 0.4s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
  border-color: rgba(201, 169, 98, 0.35);
}

.service-card .icon-wrap {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(201, 169, 98, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  margin-bottom: 1.5rem;
}

/* Portfolio */
.portfolio-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ink-soft);
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.portfolio-card:hover img {
  transform: scale(1.06);
}

.portfolio-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(12, 12, 12, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  opacity: 0.95;
}

.portfolio-card .cat {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

/* Stats */
.stat-num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}

/* Process steps */
.process-step {
  position: relative;
  padding-left: 1.25rem;
  border-left: 1px solid rgba(201, 169, 98, 0.35);
}

.process-num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.75rem;
}

/* Forms */
.form-field {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  padding: 0.9rem 0;
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s ease;
  font-family: inherit;
}

.form-field:focus {
  border-bottom-color: var(--gold);
}

.form-field::placeholder {
  color: var(--muted);
}

textarea.form-field {
  resize: vertical;
  min-height: 120px;
}

select.form-field {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238a857c' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.25s ease;
}

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

.footer-title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Filter pills */
.filter-btn {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.65rem 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--muted);
  background: transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--gold);
  color: var(--ink);
  background: rgba(201, 169, 98, 0.12);
}

/* Image placeholder blocks */
.img-block {
  background: var(--ink-soft);
  overflow: hidden;
}

.img-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark section */
.section-dark {
  background: var(--ink);
  color: #fff;
}

/* Divider */
.divider-gold {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}

/* WhatsApp float */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s ease;
}

.wa-float:hover {
  transform: scale(1.08);
}

/* Utility */
.text-gold {
  color: var(--gold);
}

.bg-ink {
  background: var(--ink);
}

.bg-cream {
  background: var(--cream);
}

/* Hamburger */
.hamburger {
  width: 28px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 70;
  position: relative;
}

.hamburger span {
  display: block;
  height: 1.5px;
  background: #fff;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Portfolio grid filter hide */
.portfolio-item.hidden {
  display: none;
}

/* Success toast */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--ink);
  color: #fff;
  padding: 1rem 1.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  z-index: 100;
  transition: transform 0.4s ease;
  border-left: 3px solid var(--gold);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}
