/* ========== SITE NAV ========== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 10, 14, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-link {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link-active {
  color: var(--fg);
}

.nav-cta {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.01em;
}

.nav-cta:hover,
.nav-cta-active {
  background: var(--accent);
  color: var(--bg);
}

/* ========== SHARED BUTTONS ========== */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--fg-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  color: var(--fg);
  border-color: rgba(255,255,255,0.3);
}

.btn-full {
  width: 100%;
  text-align: center;
  padding: 0.9rem 2rem;
  font-size: 1rem;
}

/* ========== HERO ACTIONS (landing page) ========== */
.hero-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

/* ========== PAGE SHELL ========== */
.page-main {
  min-height: calc(100vh - 64px);
  padding-bottom: var(--space-xl);
}

.page-header {
  position: relative;
  text-align: center;
  padding: var(--space-xl) var(--space-md) var(--space-lg);
  overflow: hidden;
}

.page-header-accent {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.25;
  pointer-events: none;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}

.page-sub {
  color: var(--fg-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ========== PORTFOLIO FILTER BAR ========== */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 var(--space-md) var(--space-md);
}

.filter-tab {
  text-decoration: none;
  color: var(--fg-muted);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.2s;
  letter-spacing: 0.02em;
}

.filter-tab:hover {
  color: var(--fg);
  border-color: rgba(255,255,255,0.25);
}

.filter-tab-active {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* ========== GALLERY GRID ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-md);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.gallery-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
  animation: fadeUp 0.4s ease both;
  animation-delay: calc(var(--card-index, 0) * 0.05s);
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 168, 76, 0.3);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.gallery-card-visual {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-elevated);
}

.gallery-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-card-visual img {
  transform: scale(1.04);
}

.gallery-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.placeholder-glow {
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent);
  animation: pulse 3s ease-in-out infinite;
}

.placeholder-cat {
  position: relative;
  z-index: 1;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 600;
}

.gallery-card-info {
  padding: var(--space-sm) var(--space-md);
}

.gallery-card-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 600;
}

.gallery-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0.3rem 0 0.4rem;
  line-height: 1.3;
}

.gallery-card-desc {
  color: var(--fg-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

/* ========== EMPTY STATE ========== */
.empty-state {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  color: var(--fg-muted);
}

/* ========== PAGE CTA STRIP ========== */
.page-cta {
  text-align: center;
  padding: var(--space-xl) var(--space-md) 0;
}

.page-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  margin-bottom: var(--space-md);
}

.page-cta h2 em {
  font-style: italic;
  color: var(--accent);
}

/* ========== CLOSING ACTIONS ========== */
.closing-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-md);
}

/* ========== CONTACT PAGE ========== */
.contact-main {
  padding-bottom: var(--space-xl);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-lg);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.contact-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.contact-step {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 700;
  padding-top: 2px;
  width: 28px;
}

.contact-step strong {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-step p {
  color: var(--fg-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.contact-services {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.contact-services-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.service-pill {
  font-size: 0.78rem;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  border: 1px solid rgba(201, 168, 76, 0.25);
  color: var(--fg-muted);
  background: var(--accent-soft);
}

/* ========== INQUIRY FORM ========== */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: var(--space-md);
}

.form-error-banner {
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.4);
  color: #fca5a5;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  margin-bottom: var(--space-sm);
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
}

.required {
  color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.65rem 0.9rem;
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--fg-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239b9494' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* ========== FORM SUCCESS STATE ========== */
.form-success {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}

.success-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  animation: pulse 2s ease-in-out infinite;
}

.form-success h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.form-success p {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }

  .nav-inner {
    padding: 0 var(--space-sm);
  }

  .page-header {
    padding: var(--space-lg) var(--space-sm) var(--space-md);
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    padding: 0 var(--space-sm) var(--space-sm);
  }

  .contact-form-wrap {
    padding: var(--space-sm);
  }
}
