@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font: "Montserrat", sans-serif !important;
}

:root {
  --nav-height: 70px;
  --color-snow: #fafbfc;
  --color-ice: #e8f4f8;
  --color-frost: #d4e9f2;
  --color-winter-blue: #7ba8bd;
  --color-slate: #4a5f6d;
  --color-charcoal: #2c3e50;
  --color-white: #ffffff;
  --font-sans: "Montserrat", sans-serif;
  --font-serif: "Cormorant Garamond", serif;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Container */
  --container-max: 1400px;
  --container-pad: 1rem;
}

/* ─── Base ──────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: linear-gradient(
    135deg,
    var(--color-snow) 0%,
    var(--color-ice) 100%
  );
  color: var(--color-charcoal);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

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

/* ─── Navigation ────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0 var(--space-lg);
  z-index: 1000;
  border-bottom: 1px solid rgba(123, 168, 189, 0.1);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.nav-container {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nav-left p {
  font-size: 20px;
  font-weight: bold;
}

.logo {
  /* font-family: var(--font-serif); */
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--color-slate);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  transition: color 0.3s ease;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--color-winter-blue);
}

.logo:hover .logo-icon {
  opacity: 1;
}

.logo-icon {
  width: 22px;
  height: 22px;
  opacity: 0.6;
  flex-shrink: 0;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2rem);
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-slate);
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
  padding-top: 1.5rem;
}

.nav-links a::before {
  content: "❄";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: var(--color-winter-blue);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-links a.active::before,
.nav-links a:hover::before {
  opacity: 1;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-winter-blue);
}

/* Hamburger */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  flex-direction: column;
  gap: 5px;
  z-index: 1100;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-slate);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: 0 10px 30px rgba(123, 168, 189, 0.15);
  z-index: 999;
  padding: var(--space-lg) var(--space-xl);
  flex-direction: column;
  gap: var(--space-md);
  border-top: 1px solid rgba(123, 168, 189, 0.1);
  animation: slideDown 0.25s ease;
}

.nav-drawer.active {
  display: flex;
}

.nav-drawer a {
  text-decoration: none;
  color: var(--color-slate);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: var(--space-xs) 0;
  border-bottom: 1px solid rgba(123, 168, 189, 0.1);
  transition: color 0.3s ease;
}

.nav-drawer a:last-child {
  border-bottom: none;
}

.nav-drawer a:hover,
.nav-drawer a.active {
  color: var(--color-winter-blue);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: calc(100svh - var(--nav-height));
  min-height: 480px;
  margin-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0;
  animation: fade 16s infinite;
}

.hero-bg:nth-child(1) {
  background-image: url("img/hero/1.jpg");
  animation-delay: 0s;
}
.hero-bg:nth-child(2) {
  background-image: url("img/hero/2.jpg");
  animation-delay: 4s;
}
.hero-bg:nth-child(3) {
  background-image: url("img/hero/3.jpg");
  animation-delay: 8s;
}
.hero-bg:nth-child(4) {
  background-image: url("img/hero/4.jpg");
  animation-delay: 12s;
}
.hero-bg:nth-child(5) {
  background-image: url("img/hero/5.jpg");
  animation-delay: 16s;
}

@keyframes fade {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  25% {
    opacity: 1;
  }
  30% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* Dark overlay for legibility */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.35) 60%,
    rgba(0, 0, 0, 0.5) 100%
  ); */
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-lg);
  gap: var(--space-sm);
}

.hero-content h1 {
  color: #ffffff !important;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: 2px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: clamp(0.75rem, 2vw, 1rem);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

/* ─── Filter ────────────────────────────────────────────── */
.filter-container {
  padding: clamp(1.5rem, 4vw, 3rem) var(--container-pad);
  text-align: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.filter-buttons {
  display: inline-flex;
  gap: clamp(1rem, 3vw, 2.5rem);
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 var(--space-xs);
  min-width: max-content;
}

.filter-btn {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: clamp(0.8rem, 2vw, 1.1rem);
  color: var(--color-slate);
  cursor: pointer;
  padding: 0.5rem 0;
  position: relative;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap;
  touch-action: manipulation;
}

.filter-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 1px;
  background: var(--color-winter-blue);
  transition: transform 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--color-winter-blue);
}

.filter-btn.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* ─── Gallery ───────────────────────────────────────────── */

.gallery-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
  justify-content: center;
  gap: 1.25rem;
}

/* khusus filter all */
.gallery-grid-column {
  display: block;
  columns: 1;
  column-gap: 1.25rem;
}

.gallery-grid-column .gallery-item {
  break-inside: avoid;
  margin: 0 auto 1.25rem;
  width: 50%;
}

.gallery-grid-column .gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* laptop / tablet landscape */
@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* tablet */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

/* mobile */
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 4px 20px rgba(123, 168, 189, 0.08);
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  display: flex;
  flex-direction: column;
}

.gallery-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.gallery-overlay {
  padding: 14px 16px;
  background: #fff;
  text-align: center;
}

.gallery-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.gallery-category {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-item {
    border-radius: 12px;
  }

  .gallery-overlay {
    padding: 12px;
  }

  .gallery-title {
    font-size: 0.95rem;
  }

  .gallery-category {
    font-size: 0.82rem;
  }
}

.gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: unset;
}

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

/* staggered delays */
.gallery-item:nth-child(1) {
  animation-delay: 0.05s;
}
.gallery-item:nth-child(2) {
  animation-delay: 0.1s;
}
.gallery-item:nth-child(3) {
  animation-delay: 0.15s;
}
.gallery-item:nth-child(4) {
  animation-delay: 0.2s;
}
.gallery-item:nth-child(5) {
  animation-delay: 0.25s;
}
.gallery-item:nth-child(6) {
  animation-delay: 0.3s;
}
.gallery-item:nth-child(7) {
  animation-delay: 0.35s;
}
.gallery-item:nth-child(8) {
  animation-delay: 0.4s;
}
.gallery-item:nth-child(9) {
  animation-delay: 0.45s;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(123, 168, 189, 0.18);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(44, 62, 80, 0.82), transparent);
  padding: 2rem 1.25rem 1.25rem;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-overlay {
  /* transform: translateY(0); */
}

/* Show overlay on touch devices always */
@media (hover: none) {
  .gallery-overlay {
    transform: translateY(0);
    background: linear-gradient(to top, rgba(44, 62, 80, 0.7), transparent);
  }
}

.gallery-title {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--color-white);
  font-weight: 300;
  margin-bottom: 0.25rem;
}

.gallery-category {
  font-size: 0.72rem;
  color: var(--color-frost);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 300;
}

/* ─── Lightbox ──────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(250, 251, 252, 0.98);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: var(--space-lg);
  overflow-y: auto;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: min(90%, 900px);
  width: 100%;
  position: relative;
  animation: zoomIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  margin: auto;
}

@keyframes zoomIn {
  from {
    transform: scale(0.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-content img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
  box-shadow: 0 20px 60px rgba(123, 168, 189, 0.2);
  border-radius: 2px;
}

.lightbox-info {
  text-align: center;
  margin-top: var(--space-md);
  padding-bottom: var(--space-sm);
}

.lightbox-info h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--color-slate);
  font-weight: 300;
  margin-bottom: 0.4rem;
}

.lightbox-info p {
  font-size: 0.82rem;
  color: var(--color-winter-blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 300;
}

.lightbox-close {
  position: fixed;
  top: var(--space-md);
  right: var(--space-md);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(123, 168, 189, 0.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  color: var(--color-slate);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-weight: 200;
  line-height: 1;
  z-index: 2100;
}

.lightbox-close:hover {
  color: var(--color-winter-blue);
  transform: rotate(90deg);
  border-color: var(--color-winter-blue);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(123, 168, 189, 0.2);
  border-radius: 2px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--color-slate);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2100;
}

.lightbox-nav:hover {
  background: var(--color-white);
  color: var(--color-winter-blue);
  border-color: var(--color-winter-blue);
}

.lightbox-prev {
  left: var(--space-sm);
}
.lightbox-next {
  right: var(--space-sm);
}

/* ─── About Section ─────────────────────────────────────── */
.about-section {
  max-width: 960px;
  margin: var(--space-3xl) auto 0;
  padding: 0 var(--container-pad);
  text-align: center;
}

.about-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: #000;
  margin-bottom: var(--space-lg);
  letter-spacing: 1px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  text-align: justify;
}

.about-text p {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  line-height: 1.85;
  color: #1a1a1a;
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.about-image {
  width: 100%;
  height: clamp(260px, 35vw, 400px);
  background: var(--color-frost);
  border-radius: 2px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.stat-box {
  padding: clamp(1rem, 2.5vw, 1.5rem);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(123, 168, 189, 0.15);
  border-radius: 2px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-box:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--color-winter-blue);
  transform: translateY(-3px);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 500;
  color: var(--color-winter-blue);
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  color: var(--color-slate);
  letter-spacing: 0.5px;
  font-weight: 400;
}

/* ─── Contact Section ───────────────────────────────────── */
.contact-section {
  max-width: 700px;
  margin: clamp(4rem, 8vw, 8rem) auto 0;
  padding: 0 var(--container-pad);
  text-align: center;
}

.contact-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  color: #000;
  margin-bottom: var(--space-sm);
  letter-spacing: 2px;
}

.contact-section > p {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  color: #000;
  margin-bottom: var(--space-xl);
  font-weight: 500;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-group label {
  font-size: 0.82rem;
  color: var(--color-slate);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 300;
}

.form-group input,
.form-group textarea {
  padding: clamp(0.75rem, 2vw, 1rem);
  border: 1px solid rgba(123, 168, 189, 0.25);
  background: var(--color-white);
  font-family: var(--font-sans);
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  color: var(--color-charcoal);
  border-radius: 2px;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-winter-blue);
  box-shadow: 0 0 0 3px rgba(123, 168, 189, 0.12);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.submit-btn {
  padding: clamp(0.8rem, 2vw, 1rem) clamp(1.5rem, 4vw, 3rem);
  background: var(--color-slate);
  color: var(--color-white);
  border: none;
  font-family: var(--font-sans);
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 300;
  border-radius: 2px;
  width: 100%;
  touch-action: manipulation;
}

.submit-btn:hover {
  background: var(--color-winter-blue);
  transform: translateY(-2px);
}

.submit-btn:active {
  transform: translateY(0);
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #1a1a1a;
  font-size: clamp(0.8rem, 1.8vw, 0.9rem);
  font-weight: 500;
}

.contact-item a {
  color: var(--color-slate);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--color-winter-blue);
}

/* ─── Footer ────────────────────────────────────────────── */
footer {
  text-align: center;
  padding: clamp(2.5rem, 5vw, 4rem) var(--container-pad) clamp(2rem, 4vw, 3rem);
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid rgba(123, 168, 189, 0.12);
}

footer p {
  color: #1a1a1a;
  font-size: clamp(0.8rem, 1.8vw, 1rem);
  letter-spacing: 1.5px;
  font-weight: 600;
}

footer a {
  color: var(--color-winter-blue);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

footer a:hover {
  opacity: 0.7;
}

/* ─── Responsive Breakpoints ────────────────────────────── */

/* Large tablet / small desktop (≤ 1024px) */
@media (max-width: 1024px) {
  :root {
    --container-pad: 1.5rem;
  }

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

/* Tablet (≤ 768px) */
@media (max-width: 768px) {
  :root {
    --container-pad: 1rem;
    --nav-height: 64px;
  }

  /* Nav */
  .nav-links {
    display: none; /* hidden, drawer used instead */
  }

  .mobile-menu-btn {
    display: flex;
  }

  /* Hero */
  .hero {
    height: calc(90svh - var(--nav-height));
    min-height: 420px;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .gallery-item {
    aspect-ratio: 3 / 2;
  }

  .gallery-item.tall {
    aspect-ratio: unset;
  }

  /* About */
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .about-image {
    height: 260px;
    order: -1;
  }

  /* Lightbox */
  .lightbox-prev {
    left: var(--space-xs);
  }
  .lightbox-next {
    right: var(--space-xs);
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .lightbox-close {
    top: var(--space-sm);
    right: var(--space-sm);
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }
}

/* Small mobile (≤ 480px) */
@media (max-width: 480px) {
  :root {
    --nav-height: 60px;
    --container-pad: 0.875rem;
  }

  .nav-left p {
    font-size: 16px;
    font-weight: bold;
  }

  /* Hero */
  .hero {
    height: auto !important;
    min-height: auto !important;
  }

  .hero::after {
    height: 250px;
    /* display: none; */
  }

  .hero-bg {
    background-size: contain;
  }

  /* Filter — horizontal scroll on tiny screens */
  .filter-container {
    padding: var(--space-md) 0;
  }

  .filter-buttons {
    flex-wrap: nowrap;
    gap: 1.2rem;
    padding: 0 var(--container-pad);
  }

  /* Gallery: single column */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .gallery-item.tall {
    grid-row: span 1;
  }

  /* Always show overlay on single column */
  .gallery-overlay {
    transform: translateY(0);
  }

  /* About stats 2-col stays */
  .about-stats {
    gap: 0.6rem;
  }

  /* Contact info stack */
  .contact-info {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }

  /* Submit full width (already done) */
}

/* Very small (≤ 360px) */
@media (max-width: 360px) {
  .logo span {
    display: none; /* hide text, keep icon on tiny screens */
  }

  .filter-btn {
    font-size: 0.75rem;
    letter-spacing: 0.8px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-bg:nth-child(1) {
    opacity: 1;
  }
}
