html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: #C4972A; border-radius: 3px; }

/* ── Header ── */
#header {
  background-color: transparent;
}
#header.scrolled {
  background-color: rgba(17, 17, 17, 0.97);
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
}

/* ── Hero ── */
.hero-section {
  background: #0D0D0D;
}
/* Two crossfading background photo layers with a slow Ken Burns zoom */
.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: grayscale(35%) brightness(0.7);
  pointer-events: none;
  z-index: 0;
  animation: heroZoom 16s ease-in-out infinite;
}
.hero-section::before {
  background-image: url("assets/images/portfolio/1.webp");
  /* visible first half of the cycle */
}
.hero-section::after {
  background-image: url("assets/images/portfolio/2.webp");
  animation-delay: -8s; /* offset to the second half of the cycle */
}
@keyframes heroZoom {
  /* opacity crossfade + continuous zoom over one 16s loop */
  0%   { opacity: 1; transform: scale(1.05); }
  45%  { opacity: 1; }
  50%  { opacity: 0; transform: scale(1.18); }
  95%  { opacity: 0; }
  100% { opacity: 1; transform: scale(1.05); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 75% 40%, rgba(196, 151, 42, 0.12) 0%, transparent 55%),
    linear-gradient(to right, rgba(13,13,13,0.92) 0%, rgba(13,13,13,0.6) 50%, rgba(13,13,13,0.35) 100%),
    linear-gradient(to bottom, rgba(13,13,13,0.5) 0%, transparent 35%, #111111 100%);
  pointer-events: none;
}

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
}
.scroll-hint span {
  display: block;
  width: 1px;
  height: 56px;
  margin: 0 auto;
  background: linear-gradient(to bottom, #C4972A, transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ── Buttons ── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #C4972A;
  color: #0D0D0D;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.btn-gold:hover  { background-color: #D4A83A; transform: translateY(-1px); }
.btn-gold:active { transform: translateY(0); }
.btn-gold:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #C4972A;
  color: #C4972A;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.btn-outline:hover  { background-color: rgba(196, 151, 42, 0.1); transform: translateY(-1px); }
.btn-outline:active { transform: translateY(0); }

/* ── Stat cards ── */
.stat-card {
  background: #1A1A1A;
  border: 1px solid #252525;
  border-radius: 10px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: border-color 0.2s;
}
.stat-card:hover { border-color: #C4972A; }
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #C4972A;
  line-height: 1;
}
.stat-label {
  font-size: 0.7rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Service cards ── */
.service-card {
  background: #1A1A1A;
  border: 1px solid #252525;
  border-radius: 10px;
  padding: 28px 22px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.service-card:hover { border-color: #C4972A; transform: translateY(-3px); }

.service-icon {
  width: 40px;
  height: 40px;
  color: #C4972A;
  margin-bottom: 16px;
}
.service-icon svg { width: 100%; height: 100%; }

.service-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #F0EDE4;
  margin-bottom: 8px;
  line-height: 1.4;
}
.service-desc {
  font-size: 0.78rem;
  color: #888;
  line-height: 1.65;
}

/* ── Portfolio ── */
.portfolio-card {
  background: #1A1A1A;
  border: 1px solid #252525;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.portfolio-card:hover { transform: translateY(-4px); border-color: #C4972A; }

.portfolio-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid #252525;
  background: #181818;
}
.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(25%) brightness(0.92);
  transition: transform 0.5s ease, filter 0.4s ease;
}
.portfolio-card:hover .portfolio-img img {
  transform: scale(1.06);
  filter: grayscale(0%) brightness(1);
}
/* Gold gradient overlay rising from the bottom */
.portfolio-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,15,15,0) 45%, rgba(15,15,15,0.55) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.portfolio-card:hover .portfolio-img::after { opacity: 1; }
.portfolio-body { padding: 20px; }
.portfolio-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #F0EDE4;
  margin-bottom: 8px;
  line-height: 1.4;
}
.portfolio-desc { font-size: 0.78rem; color: #888; line-height: 1.65; }

/* ── Partners ── */
.partner-logo {
  width: 250px;
  height: 120px;
  background: #1A1A1A;
  border: 1px solid #252525;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease;
  /* When you add real logos, remove background & border and just use <img> */
}
.partner-logo:hover { border-color: #C4972A; }

/* ── Contact ── */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: #1A1A1A;
  border: 1px solid #252525;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C4972A;
}
.contact-icon svg { width: 20px; height: 20px; }

/* ── Form ── */
.form-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: #888;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.form-input {
  width: 100%;
  background: #1A1A1A;
  border: 1px solid #252525;
  border-radius: 8px;
  padding: 12px 16px;
  color: #F0EDE4;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.875rem;
  transition: border-color 0.2s ease;
  outline: none;
}
.form-input::placeholder { color: #484848; }
.form-input:focus { border-color: #C4972A; }

/* ── Placeholder labels ── */
.placeholder-label {
  font-size: 0.7rem;
  color: #3A3A3A;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  user-select: none;
}

/* ── Mobile burger animation ── */
#burger.open .burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#burger.open .burger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
#burger.open .burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Active nav highlight ── */
.nav-link.active { color: #C4972A; }
