/* ===========================
   HAFLA DECORATION — style.css
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=Raleway:wght@300;400;500;600&display=swap');

:root {
  --gold: #C9A84C;
  --gold-light: #E2C97E;
  --gold-dark: #9A7A2E;
  --charcoal: #131313;
  --charcoal-2: #1C1C1C;
  --charcoal-3: #252525;
  --cream: #F5EFE0;
  --blush: #E8D5C4;
  --white: #FFFFFF;
  --text-muted: #888;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Light mode tokens (dark by default) */
  --bg-main: var(--charcoal);
  --bg-alt: var(--charcoal-2);
  --bg-card: var(--charcoal-3);
  --text-main: var(--cream);
  --text-heading: var(--white);
  --text-sub: #888;
  --border-gold: rgba(201,168,76,0.2);
  --nav-scrolled: rgba(19,19,19,0.92);
  --form-bg: rgba(255,255,255,0.04);
}

body.light-mode {
  --bg-main: #FAF8F5;
  --bg-alt: #F0EDE6;
  --bg-card: #FFFFFF;
  --text-main: #2C2C2C;
  --text-heading: #1A1A1A;
  --text-sub: #6B6B6B;
  --border-gold: rgba(201,168,76,0.35);
  --nav-scrolled: rgba(250,248,245,0.95);
  --form-bg: rgba(0,0,0,0.03);
  --charcoal: #FAF8F5;
  --charcoal-2: #F0EDE6;
  --charcoal-3: #FFFFFF;
  --cream: #2C2C2C;
  --white: #1A1A1A;
  --text-muted: #6B6B6B;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  background: var(--bg-main, var(--charcoal));
  color: var(--text-main, var(--cream));
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

/* SCROLLBAR — sembunyikan di semua browser */
html {
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* IE / Edge lama */
  overflow-x: hidden;          /* Cegah horizontal scroll dari elemen melebar */
}
html::-webkit-scrollbar { display: none; } /* Chrome / Safari / Edge baru */

/* NAV */
nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  padding: 1.2rem 5%;
  display: flex; align-items: center; justify-content: space-between;
  transition: background var(--transition), backdrop-filter var(--transition);
}
nav.scrolled {
  background: var(--nav-scrolled, rgba(19,19,19,0.92));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* THEME TOGGLE */
.theme-toggle {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.7);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all var(--transition);
  flex-shrink: 0;
}
.theme-toggle:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.35); }
.nav-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.4s ease, filter 0.4s ease;
  filter: drop-shadow(0 0 1px rgba(0,0,0,0.1));
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; transition: color var(--transition); }
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: transparent; border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8); padding: 0.55rem 1.5rem;
  font-family: 'Raleway', sans-serif; font-size: 0.75rem;
  font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer; text-decoration: none;
  transition: all var(--transition);
}
.nav-cta:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.55); color: #fff; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; position: relative; }
.hamburger span { width: 24px; height: 1.5px; background: rgba(255,255,255,0.8); transition: all 0.35s ease; display: block; }
/* Hamburger → X saat menu terbuka */
nav.menu-open .hamburger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
nav.menu-open .hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
nav.menu-open .hamburger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* HERO */
#hero {
  position: relative; height: 100vh; min-height: 650px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('assets/images/hero.png');
  background-size: cover; background-position: center;
  transform: scale(1.08);
  transition: transform 8s ease;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(19,19,19,0.55) 0%, rgba(19,19,19,0.35) 40%, rgba(19,19,19,0.85) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 1rem;
}
.hero-badge {
  display: inline-block;
  border: 1px solid rgba(201,168,76,0.6);
  color: var(--gold-light);
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.35em;
  text-transform: uppercase; padding: 0.4rem 1.4rem;
  margin-bottom: 1.8rem;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.9s 0.3s forwards;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300; line-height: 1.05;
  color: var(--white);
  opacity: 0; transform: translateY(25px);
  animation: fadeUp 0.9s 0.55s forwards;
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-tagline {
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  font-weight: 300; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--cream);
  margin-top: 1.2rem;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.9s 0.8s forwards;
}
.hero-divider {
  width: 60px; height: 1px; background: var(--gold);
  margin: 1.8rem auto;
  opacity: 0; animation: fadeIn 1s 1s forwards;
}
.hero-actions {
  display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.9s 1.1s forwards;
}
.btn-primary {
  background: #fff;
  color: #131313;
  padding: 0.9rem 2.4rem; text-decoration: none;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; border: none; cursor: pointer;
  transition: all var(--transition);
}
.btn-primary:hover { background: rgba(255,255,255,0.88); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.45);
  color: rgba(255,255,255,0.85);
  padding: 0.9rem 2.4rem; text-decoration: none;
  font-size: 0.78rem; font-weight: 400; letter-spacing: 0.18em;
  text-transform: uppercase; transition: all var(--transition);
}
.btn-outline:hover { border-color: rgba(255,255,255,0.9); color: #fff; transform: translateY(-2px); }
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  opacity: 0; animation: fadeIn 1s 1.5s forwards;
}
.hero-scroll span { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }
.scroll-line { width: 1px; height: 50px; background: linear-gradient(to bottom, var(--gold), transparent); animation: scrollPulse 2s infinite; }

/* STATS BAR */
.stats-bar {
  background: var(--charcoal-2);
  border-top: 1px solid rgba(201,168,76,0.25);
  border-bottom: 1px solid rgba(201,168,76,0.25);
  padding: 2.2rem 5%;
  display: grid; grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stat-item { padding: 0.5rem; border-right: 1px solid rgba(201,168,76,0.15); }
.stat-item:last-child { border-right: none; }
.stat-number { font-family: 'Cormorant Garamond', serif; font-size: 2.6rem; font-weight: 600; color: var(--gold); line-height: 1; }
.stat-label { font-size: 0.7rem; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.4rem; }

/* SECTION BASE */
section { padding: 7rem 5%; }
.section-tag { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 300; line-height: 1.15; color: var(--white); }
.section-title em { font-style: italic; color: var(--gold-light); }
.gold-line { width: 50px; height: 2px; background: var(--gold); margin: 1.5rem 0; }
.section-desc { font-size: 0.9rem; font-weight: 300; line-height: 1.9; color: var(--text-muted); max-width: 520px; }

/* ABOUT */
#about { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.about-image-wrap { position: relative; }
.about-img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  display: block;
}
.about-img-frame {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  width: 70%; aspect-ratio: 3/4;
  border: 1px solid #c9a84c66;
  pointer-events: none;
}
.about-quote {
  margin-top: 2.5rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 1.15rem; font-weight: 300;
  color: var(--cream); line-height: 1.8;
}

/* SERVICES */
#services { background: var(--charcoal-2); text-align: center; }
#services .section-title { margin: 0 auto; }
#services .gold-line { margin: 1.5rem auto; }
#services .section-desc { margin: 0 auto; }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5px; margin-top: 4rem;
  background: rgba(201,168,76,0.15);
}
.service-card {
  background: var(--charcoal-2);
  padding: 3rem 2rem; text-align: center;
  transition: all var(--transition); cursor: default;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 2px; background: var(--gold);
  transform: scaleX(0); transition: transform var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: var(--charcoal-3); }
.service-icon { font-size: 2rem; margin-bottom: 1.2rem; display:flex; align-items:center; justify-content:center; min-height:40px; }
.service-name { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: var(--white); margin-bottom: 0.7rem; }
.service-desc { font-size: 0.8rem; font-weight: 300; color: var(--text-muted); line-height: 1.8; }

/* Services grid definition */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201,168,76,0.08);
  margin-top: 3rem;
}

/* PORTFOLIO */
#portfolio { background: var(--charcoal); }
.portfolio-header { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }

/* Filter toggle (mobile only) */
.filter-toggle-btn {
  display: none;
  align-items: center; gap: 0.5rem;
  background: transparent; border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold); padding: 0.45rem 1.1rem;
  font-family: 'Raleway', sans-serif; font-size: 0.72rem;
  font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer; transition: all var(--transition);
}
.filter-toggle-btn:hover { background: var(--gold); color: var(--charcoal); }

/* Layout */
.portfolio-layout { display: flex; gap: 2.5rem; align-items: flex-start; }
.portfolio-main { flex: 1; min-width: 0; }

/* Sidebar */
.portfolio-sidebar {
  flex: 0 0 210px;
  position: sticky; top: 90px;
  background: var(--charcoal-2);
  border: 1px solid rgba(201,168,76,0.1);
  padding: 1.5rem;
}
.sidebar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(201,168,76,0.12); }
.sidebar-title { font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.sidebar-clear { background: transparent; border: none; cursor: pointer; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); font-family: 'Raleway', sans-serif; transition: color var(--transition); }
.sidebar-clear:hover { color: var(--gold); }

/* Filter Groups */
.filter-group { margin-bottom: 0; padding: 1rem 0; border-bottom: 1px solid rgba(201,168,76,0.08); }
.filter-group:last-child { border-bottom: none; padding-bottom: 0; }
.filter-group-title { font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--white); font-weight: 600; margin-bottom: 0.7rem; }
.filter-check { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; font-size: 0.8rem; color: var(--text-muted); padding: 0.22rem 0; transition: color var(--transition); }
.filter-check:hover { color: var(--cream); }
.filter-check input[type="checkbox"] { accent-color: var(--gold); width: 13px; height: 13px; flex-shrink: 0; cursor: pointer; }
.filter-check.is-checked { color: var(--gold); }

/* Active filter tags */
.active-filters { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; min-height: 0; }
.active-tag { display: inline-flex; align-items: center; gap: 0.35rem; background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.3); color: var(--gold); padding: 0.2rem 0.65rem; font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: all var(--transition); }
.active-tag:hover { background: rgba(201,168,76,0.2); }
.active-tag-x { font-size: 0.75rem; opacity: 0.7; }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 1rem;
}
.portfolio-item {
  position: relative; overflow: hidden; cursor: pointer;
}
/* Portrait: 1 col x 2 rows */
.portfolio-item.portrait {
  grid-column: span 1;
  grid-row: span 2;
}
/* Landscape: 2 col x 1 row */
.portfolio-item.wide, .portfolio-item.landscape {
  grid-column: span 2;
  grid-row: span 1;
}
.portfolio-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.portfolio-item:hover .portfolio-img { transform: scale(1.07); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(19,19,19,0.9) 0%, rgba(19,19,19,0.1) 60%, transparent 100%);
  opacity: 0; transition: opacity var(--transition);
  display: flex; align-items: flex-end; padding: 1.5rem;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-info-title { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: #FFFFFF; }
.portfolio-info-tag { font-size: 0.68rem; color: var(--gold); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.3rem; }

/* TESTIMONIALS — Centered Card Slider */
#testimonials { background: var(--charcoal-2); overflow: hidden; padding-bottom: 5rem; }
.testi-header { text-align: center; margin-bottom: 3.5rem; }
.testi-header .gold-line { margin: 1.5rem auto; }
.testi-header .section-desc { margin: 0 auto; }

.testi-slider-wrap { max-width: 780px; margin: 0 auto; }

.testi-viewport {
  overflow: hidden;
  position: relative;
}
.testi-track {
  display: flex;
  gap: 0;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.testi-card {
  flex: 0 0 100%;
  box-sizing: border-box;
  background: var(--charcoal-3);
  border: 1px solid rgba(201,168,76,0.18);
  padding: 3rem 3.5rem 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
.testi-quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 7rem;
  color: var(--gold);
  opacity: 0.12;
  line-height: 0.7;
  margin-bottom: 0.5rem;
  user-select: none;
}
/* Gold bar at top */
.testi-card::after {
  content: '';
  position: absolute;
  top: 0; left: 3.5rem;
  width: 50px; height: 2px;
  background: var(--gold);
}
.testi-stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
}
.testi-text {
  font-size: 1rem;
  font-weight: 300;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--cream);
  line-height: 2;
  flex: 1;
  margin-bottom: 2rem;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201,168,76,0.15);
}
.testi-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--charcoal);
  flex-shrink: 0;
}
.testi-name { font-weight: 600; font-size: 0.88rem; color: var(--white); }
.testi-date { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.2rem; letter-spacing: 0.1em; }

/* Nav row: prev · dots · next */
.testi-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}
.testi-dots { display: flex; gap: 0.5rem; align-items: center; }
.testi-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(201,168,76,0.3);
  transition: all 0.4s ease;
  cursor: pointer;
}
.testi-dot.active {
  background: var(--gold);
  width: 22px;
  border-radius: 3px;
}
.testi-btn {
  width: 42px; height: 42px;
  border: 1px solid rgba(201,168,76,0.4);
  background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1rem;
  transition: all var(--transition);
}
.testi-btn:hover { background: var(--gold); color: var(--charcoal); }

/* COVERAGE */
#coverage { text-align: center; background: var(--charcoal); }
#coverage .gold-line { margin: 1.5rem auto; }
.coverage-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 4rem;
}
.coverage-card {
  background: var(--charcoal-2);
  border: 1px solid rgba(201,168,76,0.12);
  padding: 2rem 2.5rem; text-align: center;
  transition: all var(--transition);
  position: relative; overflow: hidden;
  flex: 0 1 240px;
}
.coverage-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(201,168,76,0.06) 100%);
}
.coverage-card:hover { border-color: rgba(201,168,76,0.5); transform: translateY(-4px); }
.coverage-icon { font-size: 3rem; margin-bottom: 1.2rem; }
.coverage-city { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; color: var(--white); margin-bottom: 0.3rem; }
.coverage-region { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }

/* CONTACT */
#contact { background: var(--charcoal-2); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.form-group input, .form-group textarea, .form-group select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--cream); padding: 0.85rem 1rem;
  font-family: 'Raleway', sans-serif; font-size: 0.88rem; font-weight: 300;
  outline: none; transition: border-color var(--transition);
  appearance: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold); }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(136,136,136,0.6); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--charcoal-3); }
.contact-info-box { display: flex; flex-direction: column; gap: 2rem; margin-top: 1rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border: 1px solid rgba(201,168,76,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.contact-info-label { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.2rem; }
.contact-info-val { font-size: 0.9rem; color: var(--cream); font-weight: 300; }
.contact-info-val a { color: var(--cream); text-decoration: none; transition: color var(--transition); }
.contact-info-val a:hover { color: var(--gold); }
.social-row { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-link {
  width: 40px; height: 40px;
  border: 1px solid rgba(201,168,76,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 1rem; text-decoration: none;
  transition: all var(--transition);
}
.social-link:hover { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }

/* FOOTER */
footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 2rem 5%;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.75rem; color: var(--text-muted); }
.footer-copy span { color: var(--gold); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.72rem; color: var(--text-muted); text-decoration: none; letter-spacing: 0.1em; text-transform: uppercase; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }

/* FLOATING WA BUTTON */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  text-decoration: none;
  transition: all var(--transition);
  animation: waPulse 3s infinite;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.6); }
.wa-float svg { width: 28px; height: 28px; fill: white; }

/* ANIMATIONS */
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes scrollPulse {
  0%, 100% { opacity: 1; } 50% { opacity: 0.2; }
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,0.7); }
}

/* REVEAL ON SCROLL */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  #about { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-wrap { max-width: 480px; }
  .coverage-grid { justify-content: center; }
  .contact-wrap { grid-template-columns: 1fr; gap: 3rem; }
  /* Portfolio sidebar collapses on tablet */
  .portfolio-layout { flex-direction: column; }
  .portfolio-sidebar { flex: none; width: 100%; position: static; }
  .filter-toggle-btn { display: inline-flex; }
  .portfolio-sidebar.collapsed #filterSidebarInner,
  .portfolio-sidebar.collapsed .sidebar-head { display: none; }
  .portfolio-sidebar.collapsed { padding: 0; border: none; background: transparent; }
  /* Testimonials: kartu lebih kecil di tablet */
  .testi-slider-wrap { max-width: 100%; }
  .testi-card { padding: 2.5rem 2.5rem 2rem; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  /* Theme toggle: tampil di mobile sebelah hamburger */
  .theme-toggle {
    display: flex;
    width: 32px; height: 32px;
    font-size: 0.9rem;
  }
  nav.menu-open .nav-links {
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(15,15,15,0.97);
    align-items: center; justify-content: center;
    gap: 2.5rem; z-index: 999;
  }
  nav.menu-open .nav-links a { font-size: 1.2rem; }
  /* Tombol X tetap terlihat di atas overlay */
  nav.menu-open .hamburger { z-index: 1001; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .portfolio-item.wide, .portfolio-item.landscape { grid-column: span 2; grid-row: span 1; }
  .portfolio-item.portrait { grid-column: span 1; grid-row: span 2; }
  /* Services: 2 kolom, item ganjil terakhir di tengah */
  .services-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .services-grid .service-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
    border-right: none;
  }
  .coverage-grid { justify-content: center; }
}
@media (max-width: 480px) {
  section { padding: 5rem 4%; }
  .portfolio-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .portfolio-item.wide, .portfolio-item.landscape, .portfolio-item.portrait { grid-column: span 1; grid-row: span 1; }
  .services-grid { grid-template-columns: 1fr; }
  .coverage-grid { justify-content: center; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .testi-card { padding: 2rem 1.5rem 1.5rem; }
  .nav-logo-img { height: 36px; }
}

/* Light mode nav scrolled text fix */
/* Navbar transparent (di atas hero foto gelap) — selalu putih */
body.light-mode .nav-links a { color: rgba(255,255,255,0.85); }
body.light-mode .nav-cta { border-color: rgba(255,255,255,0.35); color: rgba(255,255,255,0.85); }
body.light-mode .theme-toggle { border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.75); }
/* Navbar scrolled (sudah keluar dari hero) — teks gelap */
body.light-mode nav.scrolled .nav-links a { color: #3C3C3C; }
body.light-mode nav.scrolled .nav-links a:hover { color: #1A1A1A; }
body.light-mode nav.scrolled .nav-cta { border-color: rgba(0,0,0,0.2); color: #3C3C3C; }
body.light-mode nav.scrolled .nav-cta:hover { background: rgba(0,0,0,0.06); border-color: rgba(0,0,0,0.35); color: #1A1A1A; }
body.light-mode nav.scrolled .theme-toggle { border-color: rgba(0,0,0,0.15); color: rgba(0,0,0,0.55); }
body.light-mode nav.scrolled .theme-toggle:hover { background: rgba(0,0,0,0.06); color: #1A1A1A; }
body.light-mode nav.scrolled .hamburger span { background: rgba(0,0,0,0.65); }
body.light-mode nav.menu-open .nav-links { background: rgba(250,248,245,0.98); }
body.light-mode nav.menu-open .nav-links a { color: #2C2C2C; }

/* Hero selalu putih (background foto gelap, tema apapun) */
body.light-mode #hero .hero-badge { color: var(--gold-light); }
body.light-mode #hero .hero-title { color: #FFFFFF; }
body.light-mode #hero .hero-tagline { color: rgba(255,255,255,0.85); }
body.light-mode #hero .hero-scroll span { color: rgba(255,255,255,0.6); }
body.light-mode #hero .btn-outline { border-color: rgba(255,255,255,0.6); color: #FFFFFF; }
body.light-mode #hero .btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* Konten section non-hero */
body.light-mode .section-title { color: #1A1A1A; }
body.light-mode .testi-text { color: #2C2C2C; }
body.light-mode .about-quote { color: #2C2C2C; }
body.light-mode .form-group input,
body.light-mode .form-group textarea,
body.light-mode .form-group select { color: #2C2C2C; background: var(--form-bg); border-color: rgba(201,168,76,0.35); }
body.light-mode .form-group input::placeholder,
body.light-mode .form-group textarea::placeholder { color: rgba(107,107,107,0.7); }
