/* ============================================================
   PT. Brilian Inovatek Nusantara — Architecture About Stylesheet
   ============================================================ */

/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── CSS VARIABLES ── */
:root {
  --primary  : #111111;       /* hitam utama (brand, aktif, hover) */
  --accent   : #555555;       /* abu gelap (elemen sekunder) */
  --accent2  : #f5f5f5;       /* abu sangat terang (background highlight) */
  --light    : #fafafa;       /* background section */
  --white    : #ffffff;       /* putih murni */
  --text     : #111111;       /* teks utama — hitam */
  --muted    : #888888;       /* teks sekunder / tidak aktif */
  --border   : #e0e0e0;       /* garis border halus */
  --font     : 'Segoe UI', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
}

/* ── NAVBAR ── */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: 100%;
  margin: 0;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 80px;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
  overflow: visible;
}

.nav-logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
  overflow: visible;
  display: block;
}

.nav-logo-fallback {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
  display: none;
}

.nav-taglines {
  display: flex;
  flex-direction: column;
  gap: 2px;
  justify-content: center;
  align-self: center;
}

.nav-tagline-main {
  font-size: 0.82rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  font-weight: bold;
  font-style: italic;
}

/* ── NAV MENU (tengah) ── */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
  margin: 0;
  padding: 0;
  margin-left: auto;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 8px 16px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);           /* abu saat tidak aktif */
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text);            /* hitam saat hover */
}

/* Underline animasi saat hover */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--text);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);          /* underline muncul saat hover */
}

.nav-item-active .nav-link {
  color: var(--text);
  font-weight: 700;
}

/* Garis bawah aktif */
.nav-item-active .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--text);      /* garis hitam permanen */
  transform: scaleX(1);         /* selalu tampil */
  border-radius: 0;
}

/* ── NAV LOGO SUBTITLE ── */
.nav-logo-name {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 1px;
}

/* ── HAMBURGER (mobile) ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger.nav-hamburger-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.nav-hamburger-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.nav-hamburger-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── HERO CONTACT ── */
.contact-hero {
  position: relative;
  width: 100%;
  height: 420px;
  background-image: url('../images/architecture/cont_hero.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 40, 55, 0.62);
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact-hero-title {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--white);
  margin-bottom: 0;
}

.contact-hero-divider {
  width: 260px;
  height: 2px;
  background: var(--white);
  opacity: 0.6;
}

.contact-hero-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  position: relative;
  z-index: 1;
}

.breadcrumb-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-link:hover {
  color: var(--white);
}

.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb-current {
  color: var(--white);
  font-weight: 600;
}

/* ── CONTACT SECTION ── */
.contact-section {
  background: var(--white);
  padding   : 88px 0 96px;
}

.contact-container {
  max-width: 1280px;
  margin   : 0 auto;
  padding  : 0 64px;
  display  : grid;
  grid-template-columns: 1fr 1fr;
  gap      : 80px;
  align-items: start;
}

/* ── Kiri ── */
.contact-left { display: flex; flex-direction: column; gap: 48px; }

.contact-header { display: flex; flex-direction: column; gap: 14px; }

/*.contact-label {
  font-size     : 0.68rem;
  font-weight   : 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color         : var(--muted);
}*/

.contact-title {
  font-size     : 2.2rem;
  font-weight   : 700;
  letter-spacing: 0.02em;
  color         : var(--primary);
  line-height   : 1.2;
}

.contact-desc {
  font-size  : 0.9rem;
  line-height: 1.75;
  color      : var(--accent);
  max-width  : 420px;
}

/* ── Office/Workshop info ── */
.contact-offices {
  display : flex;
  gap     : 0;
  align-items: flex-start;
}

.contact-office {
  flex   : 1;
  display: flex;
  flex-direction: column;
  gap    : 10px;
}

.offices-vdivider {
  width     : 1px;
  background: var(--border);
  align-self: stretch;
  margin    : 0 32px;
  flex-shrink: 0;
}

.office-type-label {
  font-size     : 0.65rem;
  font-weight   : 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color         : var(--muted);
  padding-bottom: 8px;
  border-bottom : 2px solid var(--primary);
  display       : inline-block;
}

.office-city {
  font-size  : 1.05rem;
  font-weight: 700;
  color      : var(--primary);
  margin-top : 4px;
}

.office-address {
  font-style : normal;
  font-size  : 0.83rem;
  line-height: 1.85;
  color      : var(--accent);
}

.office-contacts {
  display       : flex;
  flex-direction: column;
  gap           : 4px;
  margin-top    : 4px;
}

.office-contact-item {
  font-size  : 0.83rem;
  color      : var(--accent);
  display    : flex;
  gap        : 6px;
  align-items: baseline;
}

.office-contact-label {
  font-weight   : 700;
  color         : var(--primary);
  min-width     : 16px;
  flex-shrink   : 0;
}

.office-contact-link {
  color          : var(--accent);
  text-decoration: none;
  transition     : color 0.2s ease;
}

.office-contact-link:hover { color: var(--primary); }

/* ── Kanan: Form ── */
.contact-right { padding-top: 8px; }

.contact-form-wrap {
  display       : flex;
  flex-direction: column;
  gap           : 0;
}

.form-field {
  position     : relative;
  margin-bottom: 28px;
}

.form-input {
  width         : 100%;
  background    : transparent;
  border        : none;
  border-bottom : 1px solid var(--border);
  padding       : 12px 0 10px;
  font-size     : 0.88rem;
  font-family   : var(--font);
  color         : var(--text);
  outline       : none;
  transition    : border-color 0.25s ease;
  display       : block;
}

.form-input::placeholder { color: var(--muted); font-size: 0.88rem; }

.form-input:focus { border-bottom-color: transparent; }

/* Garis animasi saat fokus */
.form-line {
  position  : absolute;
  bottom    : 0;
  left      : 0;
  width     : 0;
  height    : 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.form-field:focus-within .form-line { width: 100%; }

.form-textarea {
  resize    : none;
  min-height: 120px;
  line-height: 1.6;
}

/* ── Submit Button ── */
.form-submit-btn {
  margin-top     : 12px;
  align-self     : flex-start;
  display        : inline-flex;
  align-items    : center;
  gap            : 12px;
  padding        : 14px 32px;
  font-size      : 0.72rem;
  font-weight    : 700;
  letter-spacing : 0.18em;
  text-transform : uppercase;
  color          : var(--white);
  background     : var(--primary);
  border         : none;
  cursor         : pointer;
  position       : relative;
  overflow       : hidden;
  transition     : color 0.3s ease;
}

.form-submit-btn::before {
  content         : '';
  position        : absolute;
  inset           : 0;
  background      : var(--accent);
  transform       : scaleX(0);
  transform-origin: right;
  transition      : transform 0.35s ease;
}

.form-submit-btn:hover::before { transform: scaleX(1); }

/* ── MAPS SECTION ── */
.maps-section {
  background: var(--accent2);
}

.maps-grid {
  display              : grid;
  grid-template-columns: 1fr 1fr;
}

.map-item {
  display       : flex;
  flex-direction: column;
}

.map-label-bar {
  background : var(--primary);
  padding    : 16px 32px;
  display    : flex;
  align-items: center;
  gap        : 16px;
}

.map-label-type {
  font-size     : 0.65rem;
  font-weight   : 700;
  letter-spacing: 0.22em;
  color         : rgba(255,255,255,0.55);
  text-transform: uppercase;
}

.map-label-city {
  font-size     : 0.8rem;
  font-weight   : 700;
  letter-spacing: 0.08em;
  color         : var(--white);
  text-transform: uppercase;
}

.map-label-bar::before {
  content   : '';
  width     : 1px;
  height    : 18px;
  background: rgba(255,255,255,0.25);
  order     : 1; /* antara type dan city */
}

/* Reorder: type — divider — city */
.map-label-type { order: 0; }
.map-label-bar::before { order: 1; }
.map-label-city { order: 2; }

.map-embed {
  height  : 420px;
  width   : 100%;
  overflow: hidden;
  display : block;
}

.map-embed iframe {
  display: block;
  width  : 100%;
  height : 100%;
  border : 0;
}

/* ── FOOTER ── */
footer {
  background: var(--primary);
  color: var(--white);
}

.footer-main {
  padding: 56px 44px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-vdivider {
  display: none;
}

.footer-col-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col-desc {
  font-size: 0.82rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
}

.footer-address {
  font-style: normal;
  font-size: 0.83rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.65);
}

.footer-contacts {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-link {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s ease;
}

.footer-link:hover {
  color: var(--white);
}

.footer-link svg {
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  margin-left: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

.footer-main > div:nth-child(2) {
  text-align: left;
  padding-left: 64px; /* sesuaikan angkanya */
}

.footer-main > div:nth-child(3) {
  text-align: left;
  padding-left: 64px; /* sesuaikan angkanya */
}

/* ── WHATSAPP FLOATING ── */
.wa-float {
  position: fixed !important;
  bottom: 28px !important;
  right: 28px !important;
  left: auto !important;
  z-index: 9999;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

/* ============================================================
   RESPONSIVE — Desktop First (max-width)
   ============================================================ */

/* ── 1280px ── */
@media (max-width: 1280px) {
  .contact-container           { padding: 0 48px; gap: 60px; }
}

/* ── 1024px ── */
@media (max-width: 1024px) {
  .contact-section             { padding: 72px 0 80px; }
  .contact-container           { padding: 0 40px; gap: 48px; }
  .contact-title               { font-size: 1.9rem; }
  .map-embed                   { height: 360px; }
}

/* ── 900px ── */
@media (max-width: 900px) {
  /* Navbar */
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    gap: 0;
    z-index: 998;
  }
  .nav-menu.nav-menu-open    { display: flex; }
  .nav-link                  { padding: 12px 0; font-size: 0.85rem; width: 100%; border-bottom: 1px solid var(--border); }
  .nav-item:last-child .nav-link { border-bottom: none; }
  .nav-item-active .nav-link::after { display: none; }
  .nav-share-label           { display: none; }
  .nav-hamburger             { display: flex; }
  .nav-actions               { gap: 2px; }
  /* Contact */
  .contact-container           { grid-template-columns: 1fr; gap: 48px; padding: 0 32px; }
  .contact-hero                { height: 320px; }
  .contact-hero-title          { font-size: 3rem; }
  .contact-desc                { max-width: 100%; }
  .maps-grid                   { grid-template-columns: 1fr; }
  /* Footer */
  .footer-main               { grid-template-columns: 1fr; gap: 32px; padding: 40px 32px; }
  .footer-main > div:nth-child(2),
  .footer-main > div:nth-child(3) { text-align: left; padding-left: 0; }
  .footer-main > div:nth-child(2) .footer-contacts,
  .footer-main > div:nth-child(2) .footer-address,
  .footer-main > div:nth-child(3) .footer-contacts,
  .footer-main > div:nth-child(3) .footer-address { text-align: left; }
  .footer-copy               { margin-left: 0; }
  .footer-bottom-inner       { padding: 16px 32px; margin-left: 0; }
}

/* ── 600px ── */
@media (max-width: 600px) {
  .contact-section             { padding: 56px 0 64px; }
  .contact-container           { padding: 0 20px; gap: 40px; }
  .contact-title               { font-size: 1.7rem; }
  .contact-hero-title          { font-size: 2.4rem; }
  .contact-offices             { flex-direction: column; gap: 32px; }
  .offices-vdivider            { width: 100%; height: 1px; margin: 0; }
  .map-embed                   { height: 280px; }
}

/* ── 480px ── */
@media (max-width: 480px) {
  .contact-hero                { height: 260px; }
  .contact-hero-title          { font-size: 2rem; }
  .contact-hero-divider        { width: 160px; }
  .form-submit-btn             { width: 100%; justify-content: center; }
  /* WhatsApp Float */
  .wa-float                  { width: 48px !important; height: 48px !important; bottom: 20px !important; right: 20px !important; }
}

/* ── 320px ── */
@media (max-width: 320px) {
  .nav-inner                 { height: 60px; }
  .nav-logo img              { height: 36px; }
  .nav-taglines              { display: none; }
  .contact-title               { font-size: 1.5rem; }
}