/* ========================================
   artportfolio — Public Styles
   ======================================== */

/* --- CSS Custom Properties (Themes) --- */
:root {
  --bg: #faf8f5;
  --bg-card: #fff;
  --text: #3a3632;
  --text-secondary: #5a5550;
  --text-light: #7a746e;
  --text-muted: #a09890;
  --accent: #8b6f4e;
  --accent-hover: #6b5438;
  --heading: #2c2824;
  --border: rgba(0, 0, 0, 0.06);
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  --shimmer-base: #eee8e0;
  --shimmer-highlight: #f5f0ea;
  --filter-border: #d4cfc8;
}

[data-theme="cool-slate"] {
  --bg: #f5f7f9;
  --bg-card: #fff;
  --text: #2d3748;
  --text-secondary: #4a5568;
  --text-light: #718096;
  --text-muted: #a0aec0;
  --accent: #5a7d9a;
  --accent-hover: #456a85;
  --heading: #1a202c;
  --border: rgba(0, 0, 0, 0.06);
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  --shimmer-base: #e2e8f0;
  --shimmer-highlight: #edf2f7;
  --filter-border: #cbd5e0;
}

[data-theme="forest"] {
  --bg: #0f1e14;
  --bg-card: #1a2e20;
  --text: #c4d4c8;
  --text-secondary: #9db8a4;
  --text-light: #7a9a82;
  --text-muted: #5a7a62;
  --accent: #5cb870;
  --accent-hover: #7ccf8a;
  --heading: #dceade;
  --border: rgba(255, 255, 255, 0.08);
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  --shimmer-base: #1e3424;
  --shimmer-highlight: #284030;
  --filter-border: #3a5840;
}

[data-theme="ocean"] {
  --bg: #0b1626;
  --bg-card: #142538;
  --text: #c0d4e4;
  --text-secondary: #90b0cc;
  --text-light: #6890b0;
  --text-muted: #486878;
  --accent: #3ea8d0;
  --accent-hover: #5cc0e8;
  --heading: #d8eaf4;
  --border: rgba(255, 255, 255, 0.08);
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  --shimmer-base: #1a3048;
  --shimmer-highlight: #223c54;
  --filter-border: #2a4a60;
}

[data-theme="midnight"] {
  --bg: #1a1d23;
  --bg-card: #252830;
  --text: #d4d7de;
  --text-secondary: #a8adb8;
  --text-light: #8a90a0;
  --text-muted: #5c6170;
  --accent: #7c9ab5;
  --accent-hover: #9ab4cb;
  --heading: #e8eaef;
  --border: rgba(255, 255, 255, 0.08);
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  --shimmer-base: #2a2d35;
  --shimmer-highlight: #32363f;
  --filter-border: #3a3e48;
}

[data-theme="rose"] {
  --bg: #fdf6f7;
  --bg-card: #fff;
  --text: #3a2d30;
  --text-secondary: #5a4a4e;
  --text-light: #8a7478;
  --text-muted: #b09a9e;
  --accent: #b5566e;
  --accent-hover: #984560;
  --heading: #2c2024;
  --border: rgba(0, 0, 0, 0.06);
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  --shimmer-base: #f0dce0;
  --shimmer-highlight: #f5e8ea;
  --filter-border: #dcc8cc;
}

[data-theme="cherry"] {
  --bg: #220810;
  --bg-card: #380e18;
  --text: #e0c8cc;
  --text-secondary: #cc9ca8;
  --text-light: #a87080;
  --text-muted: #784858;
  --accent: #e83050;
  --accent-hover: #ff5070;
  --heading: #f0d4da;
  --border: rgba(255, 255, 255, 0.08);
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  --shimmer-base: #3e1220;
  --shimmer-highlight: #4c1a28;
  --filter-border: #5c2838;
}

[data-theme="lavender"] {
  --bg: #f8f6fc;
  --bg-card: #fff;
  --text: #352d45;
  --text-secondary: #504660;
  --text-light: #7a6c90;
  --text-muted: #a498b5;
  --accent: #7c6cad;
  --accent-hover: #655898;
  --heading: #2a2040;
  --border: rgba(0, 0, 0, 0.06);
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  --shimmer-base: #e4ddf0;
  --shimmer-highlight: #ede8f5;
  --filter-border: #cec4de;
}

[data-theme="terracotta"] {
  --bg: #fdf8f5;
  --bg-card: #fff;
  --text: #3a302a;
  --text-secondary: #5a4a40;
  --text-light: #8a7468;
  --text-muted: #b09888;
  --accent: #c06040;
  --accent-hover: #a04e32;
  --heading: #2c2018;
  --border: rgba(0, 0, 0, 0.06);
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  --shimmer-base: #f0dcd4;
  --shimmer-highlight: #f5e8e2;
  --filter-border: #dcc4b8;
}

[data-theme="sage"] {
  --bg: #f6f8f5;
  --bg-card: #fff;
  --text: #2e382e;
  --text-secondary: #4a584a;
  --text-light: #6b806c;
  --text-muted: #98aa98;
  --accent: #6b8f71;
  --accent-hover: #56785c;
  --heading: #202c20;
  --border: rgba(0, 0, 0, 0.06);
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  --shimmer-base: #dce6dc;
  --shimmer-highlight: #e8efe8;
  --filter-border: #c4d0c5;
}

[data-theme="nordic"] {
  --bg: #f7fafc;
  --bg-card: #fff;
  --text: #2d3748;
  --text-secondary: #4a5568;
  --text-light: #718096;
  --text-muted: #a0aec0;
  --accent: #4a8fb8;
  --accent-hover: #3a7aa0;
  --heading: #1a202c;
  --border: rgba(0, 0, 0, 0.06);
  --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  --shimmer-base: #e2e8f0;
  --shimmer-highlight: #edf2f7;
  --filter-border: #cbd5e0;
}

[data-theme="vintage"] {
  --bg: #f9f5ee;
  --bg-card: #fff;
  --text: #3a352c;
  --text-secondary: #5a5448;
  --text-light: #7a7468;
  --text-muted: #a09888;
  --accent: #8a7355;
  --accent-hover: #6e5b42;
  --heading: #2c2820;
  --border: rgba(0, 0, 0, 0.06);
  --font-heading: 'Palatino Linotype', Palatino, Georgia, 'Times New Roman', serif;
  --font-body: Georgia, 'Times New Roman', serif;
  --shimmer-base: #ebe4d8;
  --shimmer-highlight: #f2ece2;
  --filter-border: #d4cab8;
}

[data-theme="coral"] {
  --bg: #fef8f6;
  --bg-card: #fff;
  --text: #3a2e2a;
  --text-secondary: #5a4840;
  --text-light: #8a7068;
  --text-muted: #b09888;
  --accent: #e07050;
  --accent-hover: #c45a3e;
  --heading: #2c2018;
  --border: rgba(0, 0, 0, 0.06);
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  --shimmer-base: #f0dcd6;
  --shimmer-highlight: #f5e8e4;
  --filter-border: #dcc8c0;
}

[data-theme="ink"] {
  --bg: #050505;
  --bg-card: #111111;
  --text: #e0e0e0;
  --text-secondary: #b0b0b0;
  --text-light: #888888;
  --text-muted: #606060;
  --accent: #ffffff;
  --accent-hover: #cccccc;
  --heading: #ffffff;
  --border: rgba(255, 255, 255, 0.12);
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  --shimmer-base: #1a1a1a;
  --shimmer-highlight: #252525;
  --filter-border: #333333;
}

[data-theme="monochrome"] {
  --bg: #fafafa;
  --bg-card: #fff;
  --text: #333333;
  --text-secondary: #555555;
  --text-light: #777777;
  --text-muted: #999999;
  --accent: #555555;
  --accent-hover: #333333;
  --heading: #222222;
  --border: rgba(0, 0, 0, 0.08);
  --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  --shimmer-base: #e8e8e8;
  --shimmer-highlight: #f2f2f2;
  --filter-border: #cccccc;
}

[data-theme="ember"] {
  --bg: #1a0e0a;
  --bg-card: #2a1810;
  --text: #d8c4b8;
  --text-secondary: #b89a88;
  --text-light: #987868;
  --text-muted: #6a5040;
  --accent: #e07040;
  --accent-hover: #f08858;
  --heading: #e8d4c8;
  --border: rgba(255, 255, 255, 0.08);
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  --shimmer-base: #2e1c14;
  --shimmer-highlight: #3a2820;
  --filter-border: #4a3428;
}

[data-theme="plum"] {
  --bg: #140e1e;
  --bg-card: #221830;
  --text: #d0c4dc;
  --text-secondary: #b09cc4;
  --text-light: #8a78a0;
  --text-muted: #5c4e6e;
  --accent: #9c6cc8;
  --accent-hover: #b888e0;
  --heading: #e0d4ec;
  --border: rgba(255, 255, 255, 0.08);
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  --shimmer-base: #261c34;
  --shimmer-highlight: #302640;
  --filter-border: #3e3050;
}

[data-theme="copper"] {
  --bg: #1a1410;
  --bg-card: #2a2018;
  --text: #d4c8b8;
  --text-secondary: #b8a890;
  --text-light: #968870;
  --text-muted: #685840;
  --accent: #c08848;
  --accent-hover: #d8a060;
  --heading: #e4d8c8;
  --border: rgba(255, 255, 255, 0.08);
  --font-heading: 'Palatino Linotype', Palatino, Georgia, 'Times New Roman', serif;
  --font-body: Georgia, 'Times New Roman', serif;
  --shimmer-base: #2e241c;
  --shimmer-highlight: #3a3028;
  --filter-border: #4a3c2e;
}

[data-theme="arctic"] {
  --bg: #0c1420;
  --bg-card: #141e2e;
  --text: #c8d8e8;
  --text-secondary: #98b8d0;
  --text-light: #7098b8;
  --text-muted: #4a6c88;
  --accent: #60b8e0;
  --accent-hover: #80d0f0;
  --heading: #dce8f4;
  --border: rgba(255, 255, 255, 0.08);
  --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  --shimmer-base: #1a2838;
  --shimmer-highlight: #223444;
  --filter-border: #2e4458;
}

[data-theme="noir"] {
  --bg: #0a0a0a;
  --bg-card: #161616;
  --text: #c8c0b0;
  --text-secondary: #a89880;
  --text-light: #887860;
  --text-muted: #585040;
  --accent: #c8a848;
  --accent-hover: #e0c060;
  --heading: #e8dcc0;
  --border: rgba(255, 255, 255, 0.08);
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  --shimmer-base: #1c1a16;
  --shimmer-highlight: #282420;
  --filter-border: #3a3428;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-hover);
}

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--heading);
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   Header / Navigation
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 95%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--heading);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   Hero
   ======================================== */
.hero {
  position: relative;
  padding: 140px 0 80px;
  text-align: center;
}

.hero--has-img {
  padding-top: 64px;
  padding-bottom: 0;
}

.hero-banner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 24px;
  background: rgba(0, 0, 0, 0.3);
}

.hero-overlay-text h1 {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-overlay-text .tagline {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.hero .tagline {
  font-size: 1.1rem;
  color: var(--text-light);
  font-style: italic;
}

/* ========================================
   About Section
   ======================================== */
.about-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.about-inner {
  max-width: 720px;
  margin: 0 auto;
}

.about-text h2 {
  font-size: 1.8rem;
  margin-bottom: 24px;
  text-align: center;
  letter-spacing: 0.03em;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* ========================================
   Gallery Section
   ======================================== */
.gallery-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.section-title {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 0.03em;
}

/* Category Filters */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
  padding: 0 16px 8px;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--filter-border);
  color: var(--text-secondary);
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.02em;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Gallery Grid — CSS columns for masonry effect */
.gallery-grid {
  column-count: 3;
  column-gap: 20px;
}

/* Gallery Card */
.gallery-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s, opacity 0.4s;
  opacity: 1;
  break-inside: avoid;
  margin-bottom: 20px;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.gallery-card:hover .card-caption {
  opacity: 1;
}

.gallery-card .card-image {
  width: 100%;
  height: auto;
  background: var(--shimmer-base);
  transition: opacity 0.4s;
}

/* Loading shimmer placeholder */
.gallery-card .card-image.lazy {
  opacity: 0;
  min-height: 180px;
  background: linear-gradient(
    110deg,
    var(--shimmer-base) 30%,
    var(--shimmer-highlight) 50%,
    var(--shimmer-base) 70%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.gallery-card .card-image.loaded {
  opacity: 1;
  min-height: 0;
  animation: none;
}

/* Card caption — appears on hover */
.card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 12px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity 0.3s;
}

/* Empty state */
.gallery-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 80px 0;
  font-size: 1.05rem;
}

/* ========================================
   Lightbox
   ======================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 18, 16, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s;
}

.lightbox-img.loaded {
  opacity: 1;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 2rem;
  cursor: pointer;
  z-index: 1010;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  line-height: 1;
}

.lightbox-close:hover {
  color: #fff;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 1010;
  padding: 16px;
  transition: color 0.2s;
  line-height: 1;
}

.lightbox-nav:hover {
  color: #fff;
}

.lightbox-prev {
  left: 12px;
}

.lightbox-next {
  right: 12px;
}

.lightbox-counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  z-index: 1010;
}

.lightbox-spinner {
  position: absolute;
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ========================================
   Contact
   ======================================== */
.contact-section {
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.contact-section h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.contact-section p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.contact-options {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-link {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 32px;
  border-radius: 6px;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: background 0.25s;
}

.contact-link:hover {
  background: var(--accent-hover);
  color: #fff;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  padding: 32px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: color-mix(in srgb, var(--bg) 98%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    transition: transform 0.35s;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 12px 24px;
  }

  .hero {
    padding: 110px 0 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .about-section {
    padding: 60px 0;
  }

  .gallery-grid {
    column-count: 2;
    column-gap: 12px;
  }

  .gallery-card {
    margin-bottom: 12px;
  }

  /* Always show captions on touch devices */
  .card-caption {
    opacity: 1;
  }

  .filter-bar {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  .lightbox-nav {
    font-size: 1.8rem;
    padding: 12px;
  }

  .lightbox-prev {
    left: 4px;
  }

  .lightbox-next {
    right: 4px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    column-count: 1;
    column-gap: 8px;
  }

  .gallery-card {
    margin-bottom: 8px;
  }

  .header-inner {
    height: 56px;
  }

  .hero {
    padding: 100px 0 48px;
  }
}
