@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  src: url(/assets/fonts/inter.woff2) format("woff2");
}

:root {
  --card: #ffffff;
  --card-foreground: #212121;
  --muted: #f5f5f5;
  --muted-foreground: #757575;
  --primary: #1976d2;
  --primary-foreground: #ffffff;
  --border: rgba(226, 232, 240, 1);
}

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

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: linear-gradient(180deg, rgba(217, 119, 87, 0.08) 0%, rgba(217, 119, 87, 0.03) 100%);
  min-height: 100vh;
  color: var(--card-foreground);
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lightbox-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  cursor: default;
  transition: transform 0.2s ease;
}

.lightbox-img--wide {
  max-width: 98vw;
  max-height: 95vh;
}

/* Breadcrumb navigation */
.bc {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  font-size: 13px;
  flex-wrap: wrap;
}

.bc-home {
  font-weight: 500;
  font-size: 13px;
  color: #2563eb;
  text-decoration: none;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.bc-home:hover { opacity: 0.65; }

.bc-sep {
  color: var(--muted-foreground);
  font-size: 13px;
  opacity: 0.5;
  user-select: none;
}

.bc a:not(.bc-home) {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.bc a:not(.bc-home):hover { opacity: 0.65; }

.bc-current {
  color: var(--muted-foreground);
  font-weight: 400;
  white-space: nowrap;
}

/* Sticky contact button */
.sticky-contact {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.sticky-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 10px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 8px 0 0 8px;
  border: none;
  cursor: pointer;
  box-shadow: -3px 0 24px rgba(0,0,0,0.18);
  transition: opacity 0.2s;
  white-space: nowrap;
}

.sticky-tab:hover {
  opacity: 0.85;
}

.sticky-tab span {
  writing-mode: vertical-lr;
}

/* Contact slide-out panel */
.contact-panel {
  position: absolute;
  right: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%) translateX(14px);
  width: 288px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 32px rgba(0,0,0,0.13);
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.contact-panel.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(-50%) translateX(0);
}

.contact-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.contact-panel-header span {
  font-size: 15px;
  font-weight: 600;
  color: var(--card-foreground);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}

.contact-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted-foreground);
  font-size: 14px;
  padding: 4px 7px;
  border-radius: 6px;
  line-height: 1;
  transition: background 0.15s;
}

.contact-close:hover {
  background: var(--muted);
  color: var(--card-foreground);
}

.contact-field {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--muted);
  color: var(--card-foreground);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 13px;
  margin-bottom: 9px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
  display: block;
}

.contact-field:focus {
  border-color: var(--primary);
  background: var(--card);
}

.contact-textarea {
  resize: vertical;
  min-height: 88px;
}

.contact-send {
  width: 100%;
  padding: 10px;
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: 8px;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 2px;
}

.contact-send:hover {
  opacity: 0.85;
}
