/* ===== ELEGANT LIGHTS PHOTOGRAPHY - WHITE THEME ===== */

/* --- CSS Variables --- */
:root {
  --bg0: #ffffff;
  --bg1: #f8f8f8;
  --card: rgba(255, 255, 255, 0.95);
  --stroke: rgba(0, 0, 0, 0.08);
  --soft: rgba(0, 0, 0, 0.06);
  --text: #1a1a1a;
  --muted: #666666;
  --muted2: #888888;
  --accent: #1a1a1a;
  --accent2: #333333;
}

/* --- Base Styles --- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg0);
  color: var(--text);
  overflow-x: hidden;
}

/* --- Typography --- */
.font-display {
  font-family: "Playfair Display", ui-serif, Georgia, serif;
}

/* ========================================
   HEADER - Floating Pill (Desktop) / Full Bar (Mobile)
   ======================================== */

.main-header {
  position: fixed;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;

  /* Desktop: Floating Pill - WIDER */
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1400px;
  padding: 14px 32px;

  /* Glossy Black Glassmorphism */
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

/* Header Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
}

.header-logo-img {
  height: 50px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  image-rendering: -webkit-optimize-contrast;
}

.header-logo-fallback {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-weight: 500;
  color: white;
}

/* Header Navigation */
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-nav a {
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.header-nav a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

/* Header CTA Button */
.header-cta {
  padding: 10px 20px;
  background: white;
  color: black;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Mobile Header - Full Width Bar */
@media (max-width: 768px) {
  .main-header {
    top: 0;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    padding: 12px 16px;

    /* Pure Black, Flat */
    background: #000000;
    backdrop-filter: none;
    border: none;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  .header-logo-img {
    height: auto;
    width: auto;
    max-width: 70%;
    /* 70% visual width as requested */
    max-height: 60px;
    object-fit: contain;
  }

  .header-nav {
    display: none;
  }

  .header-cta {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}

/* ======================================== */

/* --- Card Glass Effect --- */
.card-glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 248, 248, 0.95));
  border: 1px solid var(--stroke);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
}

.card-shadow {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04) inset, 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* --- Buttons --- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border-radius: 999px;
  padding: 0.85rem 1.1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  user-select: none;
  will-change: transform;
  cursor: pointer;
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-primary {
  background: linear-gradient(135deg, #1a1a1a, #333333);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}

.btn-ghost {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #1a1a1a;
}

.btn-ghost:hover {
  transform: translateY(-1px);
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.15);
}

/* --- Navigation --- */
.nav-blur {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(14px);
}

/* --- Hairline Divider --- */
.hairline {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

/* --- Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(6px);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
}

/* --- Parallax Helper --- */
.parallax-layer {
  will-change: transform;
}

/* --- Masonry Gallery --- */
.masonry {
  column-count: 1;
  column-gap: 1rem;
}

@media (min-width: 640px) {
  .masonry {
    column-count: 2;
  }
}

@media (min-width: 1024px) {
  .masonry {
    column-count: 3;
  }
}

@media (min-width: 1280px) {
  .masonry {
    column-count: 4;
  }
}

.masonry-item {
  break-inside: avoid;
  margin: 0 0 1rem 0;
}

/* --- Image Cards --- */
.img-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(248, 248, 248, 0.8);
}

.img-card img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.02);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  filter: saturate(1.05) contrast(1.05);
}

.img-card:hover img {
  transform: scale(1.08);
  filter: saturate(1.15) contrast(1.1);
}

.img-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 340px at 40% 10%, rgba(255, 255, 255, 0.5), transparent 55%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.25));
  opacity: 0.95;
  pointer-events: none;
}

.img-card .meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.9rem 1rem;
  z-index: 2;
}

/* --- Lightbox --- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}

.lb.is-open {
  display: block;
}

.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.lb-panel {
  position: relative;
  margin: 5vh auto 0;
  width: min(1100px, 92vw);
}

.lb-media {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.15);
}

.lb-media img {
  width: 100%;
  height: auto;
  display: block;
}

.lb-enter {
  opacity: 0;
  transform: translateY(12px) scale(0.985);
}

.lb.is-open .lb-enter {
  opacity: 1;
  transform: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.25);
}

/* --- Focus States --- */
:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.5);
  outline-offset: 3px;
}

/* --- Gradient Text --- */
.text-gold {
  background: linear-gradient(135deg, #1a1a1a, #444444, #1a1a1a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- Toast Notification --- */
.toast {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: none;
}

.toast.show {
  display: block;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .parallax-layer {
    transform: none !important;
  }

  .btn,
  .img-card img {
    transition: none;
  }
}

/* --- Form Inputs --- */
input,
select,
textarea {
  background: #f8f8f8;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  color: #1a1a1a;
  font-size: 0.875rem;
  transition: border-color 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.3);
}

input::placeholder,
textarea::placeholder {
  color: #999999;
}

select option {
  background: #ffffff;
  color: #1a1a1a;
}