:root {
  --bg-deep: #11151a;
  --bg-mid: #1d242c;
  --paper: #f2ede2;
  --text: #f7f4ee;
  --muted: #d4c8ad;
  --accent: #d99a5f;
  --accent-2: #d26e55;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

@font-face {
  font-family: "Abadi";
  src: url("/fonts/AbadiMTCondensed.ttf") format("truetype");
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Abadi", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(210, 110, 85, 0.14), transparent 42%),
    radial-gradient(circle at 90% 20%, rgba(217, 154, 95, 0.12), transparent 40%),
    linear-gradient(140deg, rgba(17, 21, 26, 0.3), rgba(29, 36, 44, 0.52));
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.52));
  z-index: -2;
}

.bg-photo {
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: 0.36;
  object-fit: cover;
  width: 100%;
  height: 100%;
  filter: saturate(1.02) brightness(0.92);
}

.site-shell {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: rgba(12, 16, 22, 0.7);
  border-bottom: 1px solid var(--line);
  z-index: 20;
}

.topbar-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}

.brand {
  letter-spacing: 0.08em;
  color: var(--paper);
  text-decoration: none;
  font-size: 1.3rem;
}

.menu {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.menu a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.menu a:hover,
.menu a.active {
  color: var(--paper);
  border-color: rgba(217, 154, 95, 0.5);
  background: rgba(217, 154, 95, 0.1);
}

.text-link {
  color: #ffd7b2;
  text-underline-offset: 0.18em;
}

.text-link:hover {
  color: #ffe7cc;
}

a[href^="mailto:"] {
  color: #ffe7cc;
  text-underline-offset: 0.18em;
}

a[href^="mailto:"]:hover {
  color: #fff1dd;
}

.cta {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
  margin-right: 0.65rem;
  margin-top: 0.8rem;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.cta-primary {
  color: #18120f;
  background: linear-gradient(120deg, var(--accent), #efc08f);
}

.cta-secondary {
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero {
  padding: 5.6rem 0 3.4rem;
  animation: reveal 650ms ease both;
}

.hero h1 {
  margin: 0;
  line-height: 0.95;
  font-size: clamp(2.4rem, 5.3vw, 5rem);
  letter-spacing: 0.03em;
}

.hero .lead {
  max-width: 48ch;
  margin-top: 1rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}

.panel {
  background: rgba(21, 25, 32, 0.68);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.photo-card {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: rgba(8, 11, 16, 0.62);
}

.photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 260ms ease;
}

.photo-card:hover img {
  transform: scale(1.045);
}

.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(5, 7, 11, 0.9);
  padding: 1.25rem;
  z-index: 100;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__image {
  display: block;
  max-width: min(96vw, 1600px);
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.48);
}

.lightbox__close {
  position: fixed;
  top: 0.9rem;
  right: 0.9rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(20, 22, 27, 0.75);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
}

.lightbox__close:hover {
  background: rgba(33, 36, 42, 0.95);
}

h2 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--paper);
}

h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  color: #ffd7b2;
  font-size: 1.25rem;
}

p,
li {
  color: #ece5d4;
  font-size: 1.15rem;
}

section {
  margin: 1rem 0 1.35rem;
  animation: reveal 700ms ease both;
}

ul {
  margin-top: 0.4rem;
  padding-left: 1.1rem;
}

footer {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding: 1rem 0 2.2rem;
  color: #d0c3a9;
  text-align: center;
}

.badge {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  margin-right: 0.4rem;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  color: #f0dfc7;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.social-link img {
  width: 20px;
  height: 20px;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
}

label {
  font-size: 0.95rem;
  color: #efdcc2;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(4, 6, 8, 0.45);
  color: #fff;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.note {
  font-size: 0.95rem;
  color: #d6c6a6;
}

@keyframes reveal {
  from {
    transform: translateY(10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 920px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .photo-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topbar-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 4.4rem;
  }
}

@media (max-width: 560px) {
  .photo-gallery {
    grid-template-columns: 1fr;
  }
}
