﻿:root {
  color-scheme: light;
  --bg: #f6f1ea;
  --bg-deep: #f0e7da;
  --ink: #1b1a17;
  --muted: #6a635b;
  --accent: #d26a3c;
  --accent-2: #1d8a7a;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(22, 19, 14, 0.15);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 20% 20%, rgba(210, 106, 60, 0.16), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(29, 138, 122, 0.18), transparent 40%),
    linear-gradient(160deg, var(--bg), var(--bg-deep));
  min-height: 100vh;
}

.hero {
  padding: 48px 6vw 24px;
}

.hero-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 28px 32px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.eyebrow {
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--accent-2);
  margin: 0 0 8px;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 46px);
  margin: 0 0 8px;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.page {
  padding: 12px 6vw 80px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin: 18px auto 28px;
  max-width: 1200px;
}

.filters-title {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
}

.filters-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-btn {
  border: 1px solid rgba(27, 26, 23, 0.12);
  background: #fff8f0;
  color: var(--ink);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(210, 106, 60, 0.2);
}

.filter-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.gallery {
  max-width: 1200px;
  margin: 0 auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 100%;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(22, 19, 14, 0.2);
}

.card-image {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(210, 106, 60, 0.18), rgba(29, 138, 122, 0.18));
  padding-top: 62%;
}

.card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-title {
  font-weight: 600;
  font-size: 18px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(29, 138, 122, 0.12);
  color: #17685c;
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 980px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .hero {
    padding: 32px 5vw 16px;
  }

  .hero-content {
    padding: 20px 22px;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
