@charset "UTF-8";
/* =============================================
   PreSuda - Gallery Page
   gallery.css
   ============================================= */

/* --- CSS Variables --- */
:root {
  --wine: #4A0E1A;
  --wine-deep: #35080f;
  --wine-mid: #6b1526;
  --gold: #C6A75E;
  --gold-light: #d9bc7e;
  --gold-muted: #a8893e;
  --cream: #F5EFE6;
  --cream-dark: #ede4d6;
  --text: #1E1E1E;
  --muted: #6B6B6B;
  --white: #ffffff;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --transition: 0.3s ease;
  --nav-height: 72px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Screen reader only --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =============================================
   NAVIGATION
   ============================================= */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(53, 8, 15, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-mark {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.85);
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--gold-light);
}

.nav-link--active {
  color: var(--gold-light) !important;
  border-bottom: 1px solid var(--gold);
}

.nav-links .nav-cta {
  background-color: var(--gold);
  color: var(--wine-deep);
  padding: 8px 22px;
  font-weight: 600;
  transition: background-color var(--transition);
}

.nav-links .nav-cta:hover {
  background-color: var(--gold-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--cream);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-right: 4px;
  border: 1px solid rgba(198, 167, 94, 0.35);
  overflow: hidden;
}

.lang-btn {
  background: transparent;
  color: rgba(245, 239, 230, 0.65);
  border: none;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 6px 11px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  line-height: 1;
}

.lang-btn:hover {
  color: var(--gold-light);
  background-color: rgba(198, 167, 94, 0.1);
}

.lang-btn--active {
  background-color: var(--gold);
  color: var(--wine-deep);
}

.lang-btn--active:hover {
  background-color: var(--gold-light);
  color: var(--wine-deep);
}

.lang-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

@media (max-width: 768px) {
  .lang-toggle {
    margin-right: 8px;
    display: flex;
  }
}

.nav-mobile {
  display: none;
  background-color: var(--wine-deep);
  border-top: 1px solid rgba(198, 167, 94, 0.2);
}

.nav-mobile ul {
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile a {
  display: block;
  padding: 12px 0;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.85);
  border-bottom: 1px solid rgba(198, 167, 94, 0.12);
  transition: color var(--transition);
}

.nav-mobile a:hover {
  color: var(--gold-light);
}

.nav-mobile.open {
  display: block;
}

/* =============================================
   PAGE HERO
   ============================================= */

.page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 56px;
  padding-top: var(--nav-height);
  background-image: url('https://images.unsplash.com/photo-1555939594-58d7cb561ad1?w=1400&q=80');
  background-size: cover;
  background-position: center 35%;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(35, 8, 12, 0.55) 0%,
    rgba(74, 14, 26, 0.80) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.page-hero-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 12px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.page-hero-breadcrumb {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(245, 239, 230, 0.75);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.page-hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.page-hero-divider span {
  display: block;
  width: 40px;
  height: 1px;
  background-color: rgba(198, 167, 94, 0.45);
}

.page-hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  pointer-events: none;
}

.page-hero-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* =============================================
   GALLERY FILTER BAR
   ============================================= */

.gallery-filter-bar {
  background-color: var(--cream);
  padding: 32px 0;
  border-bottom: 1px solid rgba(74, 14, 26, 0.08);
}

.gallery-filter-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 10px 24px;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
  border-bottom: 2px solid transparent;
}

.gallery-filter-btn:hover {
  color: var(--wine);
}

.gallery-filter-btn.active {
  color: var(--wine);
  border-bottom-color: var(--gold);
}

.gallery-filter-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* =============================================
   GALLERY SECTION
   ============================================= */

.section {
  padding: 80px 0;
}

.gallery-section {
  background-color: var(--cream-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  overflow: hidden;
  margin: 0;
  border-radius: 4px;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.gallery-item.hidden {
  display: none;
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  background-color: var(--wine-deep);
  color: var(--cream);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(198, 167, 94, 0.15);
}

.footer-logo {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(245, 239, 230, 0.5);
  line-height: 1.7;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 0.85rem;
  color: rgba(245, 239, 230, 0.65);
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--gold-light);
}

.footer-contact p,
.footer-contact a {
  display: block;
  font-size: 0.85rem;
  color: rgba(245, 239, 230, 0.65);
  margin-bottom: 6px;
}

.footer-contact a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(245, 239, 230, 0.35);
}

.footer-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  color: rgba(198, 167, 94, 0.5) !important;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .page-hero {
    min-height: 280px;
    padding-bottom: 40px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gallery-item img {
    height: 180px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .gallery-filter-list {
    gap: 4px;
  }

  .gallery-filter-btn {
    padding: 8px 16px;
    font-size: 0.82rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 240px;
  }
}
