/* ============================================
   KAREAS GALLERY — Premium CSS v3
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Inter:wght@300;400;500&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:      #080808;
  --off-black:  #0f0f0f;
  --charcoal:   #181818;
  --smoke:      #242424;
  --mid:        #5a5a5a;
  --silver:     #9a9a9a;
  --off-white:  #f2f1ee;
  --white:      #ffffff;
  --accent:     #c9b89a;
  --accent-dark:#a89070;
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:   cubic-bezier(0, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ── Navbar ── */
#navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

#navbar.nav-dark,
#navbar.scrolled {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: rgba(255,255,255,0.06);
}

.nav-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  color: var(--white);
}
.logo-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 3rem;
  align-items: center;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--white); }

.btn-nav {
  border: 1px solid rgba(255,255,255,0.25) !important;
  padding: 0.55rem 1.4rem !important;
  transition: background 0.3s, border-color 0.3s, color 0.3s !important;
}
.btn-nav:hover {
  background: var(--white) !important;
  color: var(--black) !important;
  border-color: var(--white) !important;
}
.btn-nav::after { display: none !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  -webkit-tap-highlight-color: transparent;
  z-index: 10;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Page Header ── */
.page-header {
  background: var(--black);
  padding: 11rem 2rem 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 110%, rgba(201,184,154,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 6rem);
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 1rem;
}
.page-header p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.06em;
}

/* ── Filter ── */
.gallery-filter {
  display: flex;
  gap: 0;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  background: var(--off-black);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.filter-btn {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.7rem 2rem;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  margin: 0 -0.5px;
  position: relative;
}
.filter-btn:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
  z-index: 1;
}
.filter-btn.active {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  z-index: 2;
}

/* ── Gallery Wrapper ── */
.gallery-page {
  background: var(--off-black);
  padding-bottom: 0;
}

/* ── Grid: fixed column count, items never full screen ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);  /* 4 sütun — daha küçük kareler */
  gap: 3px;
  background: var(--black);
  max-width: 1600px;
  margin: 0 auto;
}

/* ── Gallery Item ── */
.gallery-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  background: var(--charcoal);
  cursor: pointer;
}

/* hidden class for filter — visibility ile grid boşluk bırakmaz */
.gallery-item.hidden {
  display: none !important;
}

.gallery-item {
  min-width: 0;
  min-height: 0;
  contain: layout paint;
}

.gallery-item a.lightbox-trigger {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  text-decoration: none;
  overflow: hidden;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
  filter: brightness(0.95) saturate(0.95);  /* 0.85 → 0.95 */
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1);
}

/* ── Image Overlay ── */
.img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.gallery-item:hover .img-overlay { opacity: 1; }

.img-overlay span {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  color: var(--off-white);
  transform: translateY(5px);
  transition: transform 0.4s var(--ease);
}
.gallery-item:hover .img-overlay span { transform: translateY(0); }

/* ── Video Thumb ── */
.video-thumb {
  width: 100%; height: 100%;
  position: relative;
  cursor: pointer;
}
.video-thumb img, .video-placeholder {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.85);
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
}
.gallery-item:hover .video-thumb img {
  transform: scale(1.06);
  filter: brightness(1);
}
.video-placeholder { background: var(--smoke); }

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.45);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  backdrop-filter: blur(4px);
  transition: background 0.3s, transform 0.3s;
}
.gallery-item:hover .play-btn {
  background: rgba(0,0,0,0.65);
  transform: translate(-50%, -50%) scale(1.1);
  border-color: rgba(255,255,255,0.5);
}

.play-btn svg {
  width: 22px; height: 22px;
  fill: rgba(255,255,255,0.95);
  filter: drop-shadow(0 0 6px rgba(0,0,0,0.5));
  margin-left: 3px; /* optical center for triangle */
  transition: fill 0.3s;
}
.gallery-item:hover .play-btn svg { fill: var(--white); }

/* ── Empty State ── */
.gallery-empty {
  text-align: center;
  padding: 6rem 2rem;
}
.gallery-empty p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  margin-bottom: 2rem;
}
.btn-outline {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.85rem 2.2rem;
  display: inline-block;
  transition: all 0.3s;
}
.btn-outline:hover { background: var(--white); color: var(--black); }

/* ── Lightbox ── */
.lightbox {
  position: fixed; inset: 0;
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open {
  display: flex;
  background: rgba(0,0,0,0.97);
}
.lb-content {
  max-width: 92vw; max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
#lbImg {
  max-width: 100%; max-height: 88vh;
  object-fit: contain;
  display: block;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.lightbox.open #lbImg { opacity: 1; transform: scale(1); }

.lb-close {
  position: fixed; top: 1.5rem; right: 2rem;
  background: none; border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.6rem; cursor: pointer; z-index: 9001;
  transition: color 0.2s, transform 0.2s; font-weight: 200;
}
.lb-close:hover { color: var(--white); transform: rotate(90deg); }

.lb-prev, .lb-next {
  position: fixed; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: rgba(255,255,255,0.35);
  font-size: 2.8rem; cursor: pointer;
  z-index: 9001; padding: 1rem 1.5rem;
  transition: color 0.2s, transform 0.2s; font-weight: 100;
}
.lb-prev { left: 0.5rem; }
.lb-next { right: 0.5rem; }
.lb-prev:hover { color: var(--white); transform: translateY(-50%) translateX(-4px); }
.lb-next:hover { color: var(--white); transform: translateY(-50%) translateX(4px); }

/* ── Branded Video Cover ── */
.video-cover-branded {
  position: absolute; inset: 0;
  background: #0c0c0c;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden;
}

/* subtle grain texture via SVG filter */
.video-cover-branded::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; opacity: 0.6;
}

/* diagonal line pattern */
.vcb-lines {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 28px,
    rgba(255,255,255,0.018) 28px,
    rgba(255,255,255,0.018) 29px
  );
  pointer-events: none;
}

/* subtle radial glow centre */
.vcb-center {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; gap: 0.3rem;
}
.vcb-center::before {
  content: '';
  position: absolute;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,184,154,0.09) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.vcb-logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1rem, 2.2vw, 1.55rem);
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.82);
  position: relative; z-index: 1;
}
.vcb-logo-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(0.42rem, 0.8vw, 0.55rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  position: relative; z-index: 1;
}

/* title badge at bottom */
.vcb-title {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0.6rem 0.9rem;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.65);
  z-index: 3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* hover glow on branded cover */
.gallery-item:hover .video-cover-branded {
  background: #111;
}
.gallery-item:hover .vcb-logo-main { color: var(--white); }

/* ── Video Modal — Custom Player ── */
.video-modal {
  position: fixed; inset: 0;
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
}
.video-modal.open { display: flex; }

.vm-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.vm-inner {
  position: relative; z-index: 1;
  width: 92vw; max-width: 1020px;
  display: flex; flex-direction: column;
}

/* header bar */
.vm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0.75rem;
}
.vm-title-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 3rem);
}
.vm-close {
  flex-shrink: 0;
  background: none; border: none;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  width: 2rem; height: 2rem;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s;
}
.vm-close svg { width: 18px; height: 18px; }
.vm-close:hover { color: var(--white); }

/* embed wrapper */
.vm-embed {
  position: relative;
  padding-bottom: 56.25%; height: 0;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
}
.vm-embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ── Custom local video player ── */
.vm-player { width: 100%; }

.vp-wrap {
  position: relative;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  line-height: 0;
  user-select: none;
}

#vpVideo {
  width: 100%;
  display: block;
  max-height: 76vh;
  background: #000;
}

/* big play overlay */
.vp-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.2s;
}
.vp-overlay.hidden { opacity: 0; pointer-events: none; }

.vp-big-play {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.vp-big-play:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.06);
}
.vp-big-play svg {
  width: 24px; height: 24px;
  fill: var(--white);
  margin-left: 4px;
}

/* controls bar */
.vp-controls {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2.5rem 1rem 0.75rem;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.25s;
  line-height: 1;
}
.vp-controls.visible { opacity: 1; }

/* progress bar */
.vp-progress {
  width: 100%; padding: 6px 0; cursor: pointer;
  margin-bottom: 0.5rem;
}
.vp-bar-bg {
  position: relative;
  width: 100%; height: 3px;
  background: rgba(255,255,255,0.18);
  border-radius: 2px;
}
.vp-bar-buf {
  position: absolute; top: 0; left: 0; height: 100%;
  background: rgba(255,255,255,0.22);
  border-radius: 2px; width: 0;
  transition: width 0.3s;
}
.vp-bar-fill {
  position: absolute; top: 0; left: 0; height: 100%;
  background: var(--accent);
  border-radius: 2px; width: 0;
}
.vp-bar-thumb {
  position: absolute; top: 50%;
  width: 11px; height: 11px;
  background: var(--white);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  left: 0;
  box-shadow: 0 0 4px rgba(0,0,0,0.6);
  transition: transform 0.15s;
}
.vp-progress:hover .vp-bar-thumb { transform: translate(-50%, -50%) scale(1.3); }

/* control row */
.vp-ctrl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.vp-ctrl-left, .vp-ctrl-right {
  display: flex; align-items: center; gap: 0.25rem;
}

.vp-btn {
  background: none; border: none;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.vp-btn:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.vp-btn svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* play/pause icons use fill */
.vp-btn .ic-play, .vp-btn .ic-pause { fill: currentColor; stroke: none; }

/* volume */
.vp-volume { display: flex; align-items: center; gap: 0; }
.vp-vol-slider {
  -webkit-appearance: none;
  width: 60px; height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.25);
  outline: none; cursor: pointer;
  margin-left: 4px;
}
.vp-vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}
.vp-vol-slider::-moz-range-thumb {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--white);
  border: none; cursor: pointer;
}

/* time display */
.vp-time {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  padding-left: 0.3rem;
}

/* mute icon parts */
.vp-btn svg .ic-vol-ext { opacity: 1; transition: opacity 0.2s; }

/* fullscreen */
:fullscreen .vp-controls { padding-bottom: 1.5rem; }
:fullscreen #vpVideo { max-height: 100vh; }

/* ── Instagram Section ── */
.instagram-section {
  background: var(--black);
  padding: 5rem 2rem 5.5rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.instagram-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(201,184,154,0.045) 0%, transparent 65%);
  pointer-events: none;
}

.ig-icon-wrap {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border: 1px solid rgba(255,255,255,0.15);
  margin: 0 auto 1.6rem;
  transition: border-color 0.3s;
  text-decoration: none;
}
.ig-icon-wrap:hover { border-color: var(--white); }
.ig-icon-wrap svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: rgba(255,255,255,0.6);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s;
}
.ig-icon-wrap:hover svg { stroke: var(--accent); }

.ig-eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
  display: block;
}
.instagram-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 0.8rem;
}
.instagram-section p {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
  line-height: 1.7;
  max-width: 380px;
  margin: 0 auto 2rem;
}

.ig-handle-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.85rem 2rem;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.ig-handle-link::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
  z-index: 0;
}
.ig-handle-link:hover::before { transform: scaleX(1); }
.ig-handle-link:hover { color: var(--black); border-color: var(--accent); }
.ig-handle-link > * { position: relative; z-index: 1; }
.ig-handle-link svg {
  width: 13px; height: 13px;
  fill: none; stroke: currentColor;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}
.ig-handle-link:hover .arrow-icon { transform: translateX(3px) translateY(-3px); }

/* ── Footer ── */
/* =========================
   KAREAS FOOTER
========================= */

.footer {
    background: var(--black);
    padding: 5rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}

/* =========================
   FOOTER TOP
========================= */

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 5rem;

    padding-bottom: 4rem;
}

/* =========================
   BRAND
========================= */

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand .logo-main {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    line-height: 1;
}

.footer-brand .logo-sub {
    margin-top: 8px;

    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 400;

    color: var(--mid);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.footer-description {
    max-width: 390px;
    margin: 1.7rem 0 0;

    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
    line-height: 1.9;

    color: var(--mid);
    letter-spacing: 0.02em;
}

/* =========================
   FOOTER COLUMNS
========================= */

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column h4 {
    margin: 0 0 1.5rem;

    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;

    color: #fff;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.footer-column a {
    position: relative;

    margin-bottom: 0.9rem;

    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 300;

    color: var(--mid);
    text-decoration: none;

    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-column a:hover {
    color: #fff;
    transform: translateX(4px);
}

/* =========================
   CONTACT
========================= */

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;

    margin-bottom: 1rem;
}

.footer-contact .contact-item:hover {
    transform: translateX(3px);
}

.contact-icon {
    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;

    font-size: 0.65rem;
    color: #fff;

    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* =========================
   FOOTER BOTTOM
========================= */

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;

    gap: 0.5rem;

    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-bottom p {
    margin: 0;

    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 300;

    color: var(--mid);
    letter-spacing: 0.07em;
    text-align: right;
}

.footer-credit {
    font-family: 'Inter', sans-serif;
    font-size: 0.58rem;
    font-weight: 300;

    color: #555;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .footer-top {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 2.5rem;
    }

}

/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .footer {
        padding: 4rem 1.5rem 1.5rem;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 3rem 2rem;
        padding-bottom: 3rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-description {
        max-width: 100%;
        font-size: 0.72rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
    }

}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 450px) {

    .footer {
        padding: 3.5rem 1.25rem 1.5rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-brand .logo-main {
        font-size: 1.4rem;
    }

    .footer-description {
        line-height: 1.8;
    }

    .footer-column h4 {
        margin-bottom: 1.2rem;
    }

    .footer-bottom p {
        line-height: 1.6;
    }

    .footer-credit {
        font-size: 0.52rem;
    }

}

/* ── Responsive ── */
@media (max-width: 1200px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 2px; }
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 2px; }

  .nav-links {
    display: none;
    position: fixed; top: 72px; left: 0;
    width: 100%;
    background: rgba(8,8,8,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem; gap: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 500px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .gallery-filter { padding: 1.8rem 1rem; }
  .filter-btn { padding: 0.65rem 1.2rem; font-size: 0.6rem; letter-spacing: 0.14em; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-item img, .gallery-item:hover img { transform: none; transition: none; }
}