/* ============================================
   GRANDEUR EVENTS & DESIGNS Stylesheet
   Brand Colors: #FFFFFF | #F6F0E8 | #CCAF7D | #37312B
   ============================================ */

:root {
  --white: #FFFFFF;
  --cream: #F6F0E8;
  --gold: #CCAF7D;
  --gold-dark: #B89A6A;
  --dark: #37312B;
  --dark-soft: #4A433C;
  --text: #5A534C;
  --light-gray: #F9F7F4;
  --shadow: 0 10px 40px rgba(55, 49, 43, 0.08);
  --shadow-lg: 0 20px 60px rgba(55, 49, 43, 0.12);
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-script: 'Great Vibes', cursive;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', 'Proxima Nova', sans-serif;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== TOP BAR ========== */
.top-bar {
  background: var(--white);
  border-bottom: 1px solid rgba(204, 175, 125, 0.18);
  padding: 14px 0 28px;          /* extra bottom padding so logo can overlap */
  position: relative;
  z-index: 1001;
  font-size: 0.85rem;
  color: var(--dark-soft);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;   /* end-to-end spread */
  align-items: center;
  position: relative;
  min-height: 48px;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.top-bar-left {
  justify-content: flex-start;
  padding-right: 20px;

}

.top-bar-right {
  justify-content: flex-end;
  padding-left: 20px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.top-bar-item i {
  color: var(--gold);
  font-size: 0.9rem;
}

.top-bar-item a {
  color: var(--dark-soft);
  font-weight: 500;
}

.top-bar-item a:hover {
  color: var(--gold);
}

/* Circular logo that overlaps into the nav */
.logo-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -20%);   /* sits lower so it enters the nav */
  z-index: 1002;
  width: 150px;
  height: 150px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 10px rgba(55, 49, 43, 0.12);
  border: 3px solid var(--cream);
  transition: var(--transition);
}

.logo-badge:hover {
  transform: translate(-50%, -22%) scale(1.04);
  box-shadow: 0 10px 30px rgba(204, 175, 125, 0.25);
}

.logo-badge .logo-img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  border-radius: 50%;
}

/* Quote button */
.btn-quote {
  display: inline-block;
  padding: 10px 22px;
  border: 1.5px solid var(--gold);
  color: var(--dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 50px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-quote:hover {
  background: var(--gold);
  color: var(--white);
}

/* ========== MAIN NAV ========== */
.main-nav {
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 18px rgba(55, 49, 43, 0.06);
  border-top: 1px solid rgba(204, 175, 125, 0.12);
}

.nav-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  min-height: 58px;
  position: relative;
}

/* The menu itself becomes a full-width flex row */
.nav-menu {
  display: flex;
  width: 100%;
  max-width: 1100px;
  justify-content: space-between;   /* pushes left & right groups to the ends */
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Left and right groups */
.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.nav-left {
  justify-content: flex-end;        /* items sit close to the logo from the left */
  padding-right: 20px;
}

.nav-right {
  justify-content: flex-start;      /* items sit close to the logo from the right */
  padding-left: 20px;
}

/* The empty space that the circular logo sits in */
.nav-logo-space {
  width: 180px;                     /* must be slightly wider than the logo badge */
  flex-shrink: 0;
}

/* Individual links */
.nav-menu a {
  display: block;
  padding: 18px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--dark);
  position: relative;
  white-space: nowrap;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 55%;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--gold-dark);
}

/* Mobile toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.45rem;
  color: var(--dark);
  cursor: pointer;
  padding: 12px;
  margin-left: auto;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .nav-logo-space {
    width: 110px;
  }
  .nav-menu a {
    padding: 16px 10px;
    font-size: 0.72rem;
  }
}

@media (max-width: 768px) {
  .nav-inner {
    justify-content: flex-end;
    padding: 0 12px;
    min-height: 52px;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 12px 0 20px;
    box-shadow: 0 12px 30px rgba(55, 49, 43, 0.1);
    z-index: 999;
    max-width: none;
  }

  .nav-menu.open {
    display: flex;
  }

  /* On mobile stack everything normally */
  .nav-left,
  .nav-right {
    flex-direction: column;
    width: 100%;
    padding: 0;
    gap: 0;
  }

  .nav-left {
    justify-content: center;
  }

  .nav-right {
    justify-content: center;
  }

  .nav-logo-space {
    display: none;                  /* logo is already shown in the top bar */
  }

  .nav-menu a {
    padding: 14px 24px;
    font-size: 0.85rem;
    text-align: center;
  }

  .nav-menu a::after {
    display: none;
  }
}

/* Mobile toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.45rem;
  color: var(--dark);
  cursor: pointer;
  padding: 12px;
  margin-left: auto;
}

/* ========== RESPONSIVE – TOP BAR & NAV ========== */
@media (max-width: 1024px) {
  .logo-badge {
    width: 96px;
    height: 96px;
  }
  .logo-badge .logo-img {
    width: 68px;
    height: 68px;
  }
  .nav-menu a {
    padding: 16px 12px;
    font-size: 0.72rem;
  }
}

/* ========== RESPONSIVE – TOP BAR & NAV ========== */
@media (max-width: 768px) {
  .top-bar {
    padding: 16px 0 12px;
    position: relative;
    z-index: 100;
  }

  .top-bar-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  /* Logo first (top) */
  .logo-badge {
    order: 0;
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 86px;
    height: 86px;
    margin: 0 auto;
    z-index: 110;
  }

  .logo-badge:hover {
    transform: scale(1.03);
  }

  .logo-badge .logo-img {
    width: 60px;
    height: 60px;
  }

  /* Right side second (phone + quote) */
  .top-bar-right {
    order: 1;
    width: 100%;
    justify-content: center;
    gap: 14px;
    font-size: 0.8rem;
    flex: none;
    padding: 0;
  }

  /* Left side third (location) */
  .top-bar-left {
    order: 2;
    width: 100%;
    justify-content: center;
    gap: 14px;
    font-size: 0.8rem;
    flex: none;
    padding: 0;
  }

  .hide-mobile {
    display: none !important;
  }

  /* Nav below everything */
  .main-nav {
    position: relative;
    z-index: 90;
    margin-top: 10px;
  }

  .nav-inner {
    justify-content: flex-end;
    padding: 0 16px;
    min-height: 48px;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid rgba(204, 175, 125, 0.35);
    border-radius: 6px;
    color: var(--dark);
    font-size: 1.15rem;
    cursor: pointer;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 12px 0 20px;
    box-shadow: 0 12px 30px rgba(55, 49, 43, 0.1);
    z-index: 999;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 14px 24px;
    font-size: 0.88rem;
    text-align: center;
  }

  .nav-menu a::after {
    display: none;
  }

  /* Hero starts cleanly below header */
  .rentals-hero {
    padding-top: 36px;
  }
}

@media (max-width: 480px) {
  .top-bar {
    padding: 14px 0 10px;
  }

  .top-bar-item span,
  .top-bar-item a {
    font-size: 0.74rem;
  }

  .btn-quote {
    padding: 8px 14px;
    font-size: 0.66rem;
  }

  .logo-badge {
    width: 76px;
    height: 76px;
  }

  .logo-badge .logo-img {
    width: 52px;
    height: 52px;
  }

  .main-nav {
    margin-top: 8px;
  }

  .rentals-hero {
    padding-top: 28px;
  }
}

/* ----- Page Structure ----- */
.memories-page {
  background: var(--cream);
  color: var(--dark);
  font-family: var(--font-sans);
  margin: 0;
  min-height: 100vh;
}

.memories-page * {
  box-sizing: border-box;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ----- Header ----- */
.memories-header {
  background: var(--white);
  border-bottom: 1px solid rgba(204, 175, 125, 0.2);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.memories-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.memories-logo {
  text-decoration: none;
  color: var(--dark);
}

.memories-logo .logo-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  display: block;
  line-height: 1.1;
}

.memories-logo .logo-sub {
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-outline-sm {
  padding: 8px 18px;
  border: 1.5px solid var(--gold);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
  transition: var(--transition);
  background: transparent;
  font-family: inherit;
}

.btn-outline-sm:hover {
  background: var(--gold);
  color: var(--white);
}

/* ----- Hero ----- */
.memories-hero {
  position: relative;
  height: 80vh;
  padding: 80px 24px 60px;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.memories-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.memories-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(55, 49, 43, 0.55) 0%,
    rgba(55, 49, 43, 0.78) 100%
  );
}

.memories-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  margin-top: 280px;
}

.memories-hero .subtitle {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.memories-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  margin: 0 0 14px;
  line-height: 1.15;
}

.memories-hero .line {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 20px;
  border-radius: 2px;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-size: 0.92rem;
  opacity: 0.9;
  margin: 0 0 12px;
}

.event-meta i {
  color: var(--gold);
  margin-right: 6px;
}

.photographer-credit {
  font-size: 0.88rem;
  opacity: 0.85;
  margin: 0 0 16px;
}

.photographer-credit strong {
  color: var(--gold);
  font-weight: 600;
}

.expiry-note {
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  display: inline-block;
  padding: 8px 18px;
  border-radius: 50px;
  margin: 0;
}

.expiry-note .days-left {
  opacity: 0.85;
  margin-left: 6px;
}

/* ----- Toolbar ----- */
.memories-toolbar {
  background: var(--white);
  border-bottom: 1px solid rgba(204, 175, 125, 0.2);
  padding: 16px 0;
  position: sticky;
  top: 58px;
  z-index: 90;
}

.toolbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-tab {
  background: transparent;
  border: 1px solid rgba(204, 175, 125, 0.35);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.btn-download-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--dark);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition);
}

.btn-download-all:hover {
  background: var(--gold);
}

/* ----- Gallery grid ----- */
.memories-gallery {
  padding: 40px 0 80px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #ddd;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(55, 49, 43, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .item-overlay {
  opacity: 1;
}

.item-overlay button,
.item-overlay a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  font-family: inherit;
}

.item-overlay button:hover,
.item-overlay a:hover {
  background: var(--gold);
  color: var(--white);
}

.video-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(204, 175, 125, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  pointer-events: none;
  z-index: 1;
}

.gallery-item:hover .video-badge {
  opacity: 0;
}

/* ========== DÉCOR REPLAY + CTA ========== */
.décor-replay {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 80px 24px 90px;
}

.cta-eyebrow {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.décor-replay h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 500;
  margin: 0 0 14px;
  color: var(--white);
}

.cta-lead {
  max-width: 520px;
  margin: 0 auto 40px;
  opacity: 0.88;
  font-size: 1.02rem;
  line-height: 1.65;
}

/* Décor media grid */
.décor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 900px;
  margin: 0 auto 48px;
}

.décor-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #2a251f;
}

.décor-item img,
.décor-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.décor-item:hover img,
.décor-item:hover video {
  transform: scale(1.05);
}

/* Optional: make one cell wider for visual interest */
.décor-item:first-child {
  grid-column: span 1;
}

.décor-play-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(204, 175, 125, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--white);
  pointer-events: none;
}

/* Bottom CTA block */
.cta-actions {
  max-width: 480px;
  margin: 0 auto;
}

.cta-actions h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 10px;
}

.cta-actions > p {
  opacity: 0.85;
  margin: 0 0 26px;
  line-height: 1.6;
  font-size: 0.98rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.décor-replay .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid var(--gold);
  transition: var(--transition);
}

.décor-replay .btn-cta:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.décor-replay .btn-cta .fa-whatsapp {
  color: #25D366;
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  padding: 15px 28px;
  background: transparent;
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.45);
  transition: var(--transition);
}

.btn-cta-outline:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

/* Mobile */
@media (max-width: 720px) {
  .décor-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 40px;
  }

  .décor-replay {
    padding: 60px 20px 70px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .décor-replay .btn-cta,
  .btn-cta-outline {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .décor-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========== FOOTER ========== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

/* .footer-brand .logo-text {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-brand .logo-sub {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
} */

 .footer-brand .footer-logo {
  width: 220px;
  margin-bottom: 18px;
}

.footer-brand .footer-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 6px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(204, 175, 125, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

.footer h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 22px;
  font-weight: 500;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.92rem;
}

.footer-contact i {
  color: var(--gold);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
}

.footer-credit {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  margin-top: 6px;
}

.footer-credit a {
  color: var(--gold);
  font-weight: 500;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .why-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  .process-steps::before {
    display: none;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery-item:nth-child(1) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar-inner {
    flex-direction: column;
    text-align: center;
  }
  .top-bar-left,
  .top-bar-right {
    justify-content: center;
    flex-wrap: wrap;
  }
  .logo-top {
    order: -1;
  }

  .nav-inner {
    justify-content: space-between;
    padding: 0 16px;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 16px 0;
    box-shadow: var(--shadow);
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-menu a {
    padding: 14px 24px;
  }

  .hero {
    height: 70vh;
    min-height: 420px;
  }
  .hero-nav {
    display: none;
  }

  .welcome-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .welcome-image img {
    height: 320px;
  }

  .why-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item:nth-child(6) {
    grid-column: span 1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-grid .footer-brand {
    justify-content: center;
  }

  .footer-grid .footer-logo {
    margin: 0 auto 18px;
    display: block;
    justify-content: center;
    align-items: center;
  }

  .social-links {
    justify-content: center;
  }
  .footer-contact li {
    justify-content: center;
  }

  .section {
    padding: 70px 0;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 28px 20px;
  }
}

/* ----- Lightbox ----- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 16, 0.94);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img,
.lightbox-content video {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--gold);
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-download {
  margin-top: 20px;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
}

.lightbox-download:hover {
  text-decoration: underline;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }

  .memories-toolbar {
    top: 56px;
  }
}

@media (max-width: 640px) {
  .memories-hero {
    padding: 60px 20px 48px;
  }

  .toolbar-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-tabs {
    justify-content: center;
  }

  .btn-download-all {
    justify-content: center;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .item-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(55, 49, 43, 0.55) 0%, transparent 60%);
    align-items: flex-end;
    padding-bottom: 12px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}