/* ============================================================
   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 ABOUT ── */
.about-hero {
  position: relative;
  width: 100%;
  height: 420px;
  background-image: url('../images/architecture/abo_hero.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 40, 55, 0.62);
}

.about-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.about-hero-title {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--white);
  margin-bottom: 0;
}

.about-hero-divider {
  width: 260px;
  height: 2px;
  background: var(--white);
  opacity: 0.6;
}

.about-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;
}

/* ── ABOUT SECTIONS ── */
.about-sections {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 32px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.about-block {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-block.about-block-reverse {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 60px;
}

.about-block-text {
  flex: 1;
  text-align: center;
}

.about-block-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 20px;
}

.about-block-desc {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--accent);
  max-width: 380px;
  margin: 0 auto;
}

.about-block-image {
  flex: 1;
}

.about-block-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* ── WHAT DEFINES US ── */
.defines-section {
  width: 100%;
  background: #111111;
  padding: 80px 32px;
}

.defines-header {
  max-width: 1100px;
  margin: 0 auto 60px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.defines-header-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.defines-label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.defines-label-line {
  display: block;
  width: 40px;
  height: 2px;
  background: #c9a84c;
}

.defines-label-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #c9a84c;
  text-transform: uppercase;
}

.defines-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

.defines-desc {
  max-width: 420px;
  font-size: 0.92rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
  align-self: center;
}

.defines-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.defines-card {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  cursor: default;
}

.defines-card:hover {
  background: #1f1f1f;
  border-color: #c9a84c;
  transform: translateY(-4px);
}

.defines-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.defines-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c9a84c;
  transition: background 0.3s ease;
}

.defines-card:hover .defines-card-icon {
  background: rgba(201, 168, 76, 0.25);
}

.defines-card-num {
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
}

.defines-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}

.defines-card-desc {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.5);
}

/* ── FAQ ── */
.faq-section {
  position: relative;
  width: 100%;
  background: var(--white);
  padding: 40px 32px 24px;
  overflow: hidden;
}

.faq-bg-sketch {
  position: absolute;
  inset: 0;
  /*background-image: url('/images/architecture/sketch.webp');*/
  background-size: contain;
  background-position: center left;
  background-repeat: no-repeat;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.faq-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.faq-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-label-line {
  display: block;
  width: 36px;
  height: 2px;
  background: var(--primary);
}

.faq-label-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--primary);
  text-transform: uppercase;
}

.faq-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question.faq-open {
  color: var(--primary);
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-question.faq-open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
}

.faq-answer.faq-answer-open {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--accent);
}

.faq-right {
  flex: 1;
  position: sticky;
  top: 100px;
}

.faq-right img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

/* ── GALLERY ── */
.gallery-section {
  width: 100%;
  background: var(--white);
  padding: 48px 0 28px;
  overflow: hidden;
}
.gallery-grid {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: galleryScroll 95s linear infinite;
}
.gallery-grid:hover {
  animation-play-state: paused;
}
.gallery-item {
  flex: 0 0 260px;
  position: relative;
  overflow: hidden;
  background: #f3f3f3;
}
.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease, filter 0.35s ease;
}
.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.96);
}
@keyframes galleryScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── 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) {
}

/* ── 1024px ── */
@media (max-width: 1024px) {
}

/* ── 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; }
  
  /* About Sections */
  .about-block,
  .about-block.about-block-reverse      { flex-direction: column; gap: 32px; }
  .about-block-image img                { height: 240px; }
  .about-sections                       { padding: 60px 24px; gap: 60px; }
  .about-block-text                     { order: 1; width: 100%; text-align: center }
  .about-block-image                    { order: 2; width: 100%; text-align: center }
  
  /* What Defines Us */
  .defines-header           { flex-direction: column; gap: 24px; }
  .defines-desc             { max-width: 100%; }
  .defines-grid             { grid-template-columns: repeat(2, 1fr); }
  .defines-title            { font-size: 2.2rem; }

  /* FAQ */
  .faq-section              { padding: 32px 24px 24px; }
  .faq-inner                { flex-direction: column; gap: 40px; }
  .faq-right                { position: static; width: 100%; }
  .faq-right img            { height: 280px; }
  .faq-title                { font-size: 1.6rem; }
  
  /* Gallery */
  .gallery-section          { padding: 40px 24px 20px; }
  .gallery-item             { flex: 0 0 220px; }
  .gallery-item img         { height: 240px; }
  
  /* 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) {
  /* About Sections */
  .about-sections           { padding: 40px 16px; gap: 40px; }
  .about-block-title        { font-size: 1.2rem; }
  .about-block-desc         { font-size: 0.88rem; }
  .about-block-image img    { height: 200px; }
  
  /* What Defines Us */
  .defines-section          { padding: 60px 16px; }
  .defines-grid             { grid-template-columns: 1fr; }
  .defines-title            { font-size: 1.8rem; }

  /* FAQ */
  .faq-section              { padding: 28px 16px 24px; }
  .faq-right img            { height: 220px; }
  
  /* Gallery */
  .gallery-section          { padding: 32px 16px 16px; }
  .gallery-item             { flex: 0 0 220px; }
  .gallery-item img         { height: 240px; }
}

/* ── 480px ── */
@media (max-width: 480px) {
  /* 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; }
}