:root {
  --gold: #d4af37;
  --gold-hover: #c29f2e;
  --gold-soft: rgba(212, 175, 55, 0.12);
  --dark: #0d0d0f;
  --navy: #081429;
  --navy-hover: #0d1e3d;
  --navy-light: #1e293b;
  --text: #081429;
  --muted: #5b6b84;
  --soft: #f8fafc;
  --border: #e2e8f0;
  --card-shadow: 0 10px 30px -10px rgba(8, 20, 41, 0.06);
  --card-shadow-hover: 0 20px 45px -12px rgba(8, 20, 41, 0.14);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #ffffff;
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

.wpl-container {
  width: min(1180px, 92%);
  margin: auto;
}

/* =========================================
   HEADER & NAVIGATION
========================================= */
.wpl-header {
  background: var(--dark);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wpl-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  gap: 20px;
}

.wpl-brand {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
  flex-shrink: 0;
}

.wpl-brand span {
  color: var(--gold);
}

.wpl-menu-container {
  display: flex;
  align-items: center;
}

.wpl-menu {
  display: flex;
  gap: 24px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wpl-menu li {
  margin: 0;
  padding: 0;
}

.wpl-menu a {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.wpl-menu a:hover {
  color: var(--gold);
}

.wpl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  transition: all 0.2s ease;
  min-height: 44px;
  border: 1px solid transparent;
  cursor: pointer;
}

.wpl-btn.gold {
  background: var(--gold);
  color: #111111 !important;
}

.wpl-btn.gold:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

/* =========================================
   HERO SECTION & SEARCH
========================================= */
.wpl-hero {
  padding: 88px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.wpl-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.wpl-kicker {
  color: #c9a227;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
}

.wpl-hero h1 {
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 1.06;
  margin: 18px 0;
  color: var(--navy);
  font-weight: 800;
}

.wpl-hero p {
  font-size: 19px;
  line-height: 1.6;
  color: #3f5068;
  max-width: 620px;
  margin: 0 0 24px;
}

.wpl-search {
  margin-top: 32px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr auto;
  gap: 10px;
  box-shadow: 0 20px 50px rgba(8, 20, 41, 0.1);
}

.wpl-search-field {
  display: flex;
  align-items: center;
}

.wpl-search-field input,
.wpl-search-field select {
  width: 100%;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--navy);
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wpl-search-field input:focus,
.wpl-search-field select:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.wpl-btn-search {
  height: 52px;
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  padding: 0 26px;
  background: var(--navy);
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.wpl-btn-search:hover {
  background: var(--navy-hover);
}

.wpl-directory-search {
  grid-template-columns: repeat(5, 1fr) auto;
  gap: 10px;
}

.wpl-search-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.wpl-btn-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  height: 52px;
  min-height: 44px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.wpl-btn-clear:hover {
  color: var(--navy);
  border-color: #cbd5e1;
  background: #ffffff;
}

.wpl-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
}

/* Category Chips & Profile CTA */
.wpl-category-chips-flex {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.wpl-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--soft);
  color: var(--navy);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid var(--border);
}

.wpl-conversion-cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #0d1e3d 100%) !important;
  color: #ffffff !important;
  border: none !important;
}

.wpl-conversion-cta-section h2 {
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.wpl-conversion-cta-section p {
  color: #cbd5e1 !important;
  font-size: 16px;
  margin: 0 0 24px;
}

.wpl-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  transition: all 0.2s ease;
}

.wpl-pagination .page-numbers.current,
.wpl-pagination .page-numbers:hover {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

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

@media (max-width: 640px) {
  .wpl-directory-search {
    grid-template-columns: 1fr;
  }
  .wpl-search-actions {
    flex-direction: column;
  }
  .wpl-btn-clear {
    width: 100%;
  }
}

.wpl-hero-card {
  position: relative;
}

.wpl-hero-image {
  min-height: 500px;
  border-radius: 34px;
  background: url('https://images.unsplash.com/photo-1516035069371-29a1b244cc32?auto=format&fit=crop&w=1200&q=80') center/cover;
  box-shadow: 0 30px 90px rgba(17, 24, 39, 0.22);
}

.wpl-floating-card {
  position: absolute;
  left: -28px;
  bottom: 36px;
  background: #ffffff;
  border-radius: 22px;
  padding: 20px 24px;
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.18);
  border: 1px solid var(--border);
}

.wpl-floating-card strong {
  display: block;
  font-size: 30px;
  color: var(--navy);
}

.wpl-floating-card span {
  color: var(--muted);
  font-size: 14px;
}

/* =========================================
   SECTIONS & SECTION HEADINGS
========================================= */
.wpl-section {
  padding: 84px 0;
  background: #ffffff;
}

.wpl-categories-section {
  background: var(--soft);
}

.wpl-section-title {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 36px;
}

.wpl-section-title h2 {
  font-size: 40px;
  font-weight: 800;
  margin: 0;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.wpl-section-title p {
  color: var(--muted);
  font-size: 17px;
  margin: 0;
  max-width: 480px;
}

/* =========================================
   POPULAR CATEGORIES
========================================= */
.wpl-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.wpl-category-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--card-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wpl-category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.wpl-category-card span {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
}

.wpl-category-card p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
  line-height: 1.5;
}

/* =========================================
   FEATURED PHOTOGRAPHERS & EMPTY STATE
========================================= */
.wpl-featured-section {
  background: #ffffff;
}

.wpl-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.wpl-photographer-card {
  background: #ffffff;
  color: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.wpl-photographer-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.wpl-card-image-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  background: var(--navy);
  overflow: hidden;
}

.wpl-card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.wpl-photographer-card:hover .wpl-card-image-wrapper img {
  transform: scale(1.04);
}

.wpl-badge-group {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  z-index: 2;
}

.wpl-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.wpl-badge-verified {
  background: #ffffff;
  color: #8a6813;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.wpl-badge-featured {
  background: var(--dark);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.wpl-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.wpl-card-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--navy);
  line-height: 1.3;
}

.wpl-card-owner {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 12px;
  font-weight: 500;
}

.wpl-card-location {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wpl-card-categories {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 16px;
  line-height: 1.4;
}

.wpl-card-price {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}

.wpl-price-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 700;
}

.wpl-price-amount {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}

.wpl-btn-full {
  width: 100%;
  text-align: center;
}

/* Empty State */
.wpl-empty-state {
  grid-column: 1 / -1;
  background: #ffffff;
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  max-width: 680px;
  margin: 10px auto;
}

.wpl-empty-state-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--gold-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.wpl-empty-state-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wpl-empty-state h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 10px;
}

.wpl-empty-state p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 24px;
}

.wpl-empty-state-actions {
  margin-bottom: 16px;
}

.wpl-empty-state-subtext {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.wpl-empty-state-subtext a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
}

/* =========================================
   TOP PHOTOGRAPHY DESTINATIONS
========================================= */
.wpl-destinations-section {
  background: var(--soft);
}

.wpl-destination-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.wpl-destination-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.wpl-destination-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(212, 175, 55, 0.4);
}

.wpl-destination-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.wpl-destination-pin {
  font-size: 20px;
  line-height: 1.2;
}

.wpl-destination-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0;
  color: var(--navy);
  line-height: 1.2;
}

.wpl-destination-country {
  font-size: 12px;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
}

.wpl-destination-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 20px;
  flex: 1;
}

.wpl-destination-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
  min-height: 44px;
}

.wpl-destination-link:hover {
  color: var(--gold);
}

.wpl-destination-link span {
  transition: transform 0.2s ease;
}

.wpl-destination-link:hover span {
  transform: translateX(4px);
}

/* =========================================
   STATS SECTION
========================================= */
.wpl-stats {
  padding: 60px 0;
  background: var(--dark);
  color: #ffffff;
}

.wpl-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.wpl-stat-card {
  background: #17171b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
}

.wpl-stat-card h2 {
  font-size: 44px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--gold);
}

.wpl-stat-card p {
  margin: 0;
  color: #d1d5db;
  font-size: 15px;
}

/* =========================================
   HOW IT WORKS
========================================= */
.wpl-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.wpl-how-card {
  background: #ffffff;
  padding: 40px 32px;
  border-radius: 24px;
  text-align: center;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wpl-how-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.wpl-step {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: #111111;
  font-size: 26px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.wpl-how-card h3 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--navy);
}

.wpl-how-card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  font-size: 15px;
}

/* =========================================
   NEWSLETTER & FOOTER
========================================= */
.wpl-newsletter {
  background: linear-gradient(135deg, var(--navy) 0%, #111827 100%);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.wpl-newsletter h2 {
  font-size: 40px;
  font-weight: 800;
  margin: 0 0 12px;
}

.wpl-newsletter p {
  color: #cbd5e1;
  font-size: 18px;
  margin: 0;
}

.wpl-newsletter-form {
  margin: 32px auto 0;
  max-width: 560px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  background: #ffffff;
  padding: 8px;
  border-radius: 999px;
}

.wpl-newsletter-form input {
  border: 0;
  padding: 14px 20px;
  font-size: 16px;
  outline: none;
  border-radius: 999px;
}

.wpl-newsletter-form button {
  border: 0;
  background: var(--gold);
  color: #111111;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 999px;
  cursor: pointer;
  min-height: 44px;
}

.wpl-footer {
  background: var(--dark);
  color: #cbd5e1;
  padding: 40px 0;
  font-size: 14px;
}

/* =========================================
   RESPONSIVE BREAKPOINTS
========================================= */
@media (max-width: 1024px) {
  .wpl-featured-grid,
  .wpl-destination-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .wpl-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .wpl-search {
    grid-template-columns: 1fr;
  }
  .wpl-category-grid,
  .wpl-stats-grid,
  .wpl-how-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .wpl-nav {
    flex-direction: column;
    gap: 16px;
  }
  .wpl-menu {
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
  }
  .wpl-floating-card {
    left: 18px;
  }
}

@media (max-width: 640px) {
  .wpl-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .wpl-featured-grid,
  .wpl-destination-grid,
  .wpl-category-grid,
  .wpl-stats-grid,
  .wpl-how-grid {
    grid-template-columns: 1fr;
  }
  .wpl-section-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .wpl-newsletter-form {
    grid-template-columns: 1fr;
    border-radius: 20px;
    background: transparent;
    padding: 0;
  }
  .wpl-newsletter-form input {
    border-radius: 14px;
  }
  .wpl-newsletter-form button {
    border-radius: 14px;
  }
}

/* =========================================
   LIGHTBOX MODAL STYLES
========================================= */
.wpl-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.wpl-lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.wpl-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 20, 41, 0.92);
  backdrop-filter: blur(8px);
}

.wpl-lightbox-container {
  position: relative;
  z-index: 10;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wpl-lightbox-close {
  position: absolute;
  top: -48px;
  right: -10px;
  background: transparent;
  border: 0;
  color: #ffffff;
  font-size: 36px;
  font-weight: 300;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.wpl-lightbox-close:hover {
  color: var(--gold);
}

.wpl-lightbox-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wpl-lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.wpl-lightbox-caption {
  margin-top: 14px;
  color: #e2e8f0;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

/* =========================================
   CATEGORY ARCHIVE STYLES
========================================= */
.wpl-category-archive,
.wpl-location-landing,
.wpl-location-category-landing {
  padding-top: 24px;
}

.wpl-archive-header {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 40px;
  box-shadow: 0 10px 30px -10px rgba(8, 20, 41, 0.04);
}

.wpl-archive-header h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 10px;
  line-height: 1.2;
}

.wpl-archive-desc,
.wpl-archive-subtext {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
  max-width: 720px;
}

@media (max-width: 640px) {
  .wpl-archive-header {
    padding: 24px 20px;
  }
}