/* ==========================================================================
   Photography Pillar & Dual Bundle Stylesheet
   Theme: Twenty Seventeen Child (djservicescornwall.co.uk)
   Purpose: Artistic Editorial Wedding Visuals with Authentic DJSC Branding
   ========================================================================== */

@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display-latin-normal.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display-latin-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Crisp, clean backgrounds with DJSC soft pink glow */
  --photo-bg-body: #ffffff;
  --photo-bg-soft: #fff5f9;        /* Soft blush pink tint matching DJSC #ff0283 */
  --photo-bg-card: #ffffff;
  --photo-bg-dark: #0f172a;        /* Deep modern slate */
  --photo-bg-dark-card: #1e293b;

  /* Typography Colors: #333333 for headings and general body text */
  --photo-text-dark: #333333;      /* Headings & primary dark text */
  --photo-text-body: #333333;      /* General text */
  --photo-text-muted: #555555;     /* Descriptive text */

  /* Authentic DJSC Brand Green (Bright & Vibrant) */
  --photo-djsc-green: #22c55e;        /* DJSC vibrant signature green */
  --photo-djsc-green-hover: #16a34a;  /* Deeper green for hover states */
  --photo-djsc-green-bright: #26db26; /* DJSC neon lime accent */
  --photo-djsc-green-soft: #f0fdf4;   /* Very light mint wash */
  --photo-djsc-green-border: #86efac; /* Subtle green border */
  --photo-djsc-green-glow: rgba(34, 197, 94, 0.35);

  /* DJSC Signature Vibrant Magenta/Pink (#ff0283) */
  --photo-accent-pink: #ff0283;
  --photo-pink-glow: rgba(255, 2, 131, 0.065);
  --photo-pink-border: rgba(255, 2, 131, 0.12);

  --photo-border: #e2e8f0;         /* Slate 200 */
  --photo-border-subtle: #f1f5f9;

  /* Editorial Wedding Typography: Playfair Display Serif paired with Raleway */
  --photo-font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --photo-font-serif: "Playfair Display", Georgia, serif;
  --photo-font-bold: 'ralewaybold', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --photo-font-body: 'ralewayregular', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --photo-radius: 12px;
  --photo-radius-lg: 18px;
  --photo-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --photo-shadow-hover: 0 20px 35px -10px rgba(15, 23, 42, 0.12), 0 10px 15px -5px rgba(15, 23, 42, 0.06);
  --photo-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   0. CRITICAL Z-INDEX & HEADER FIXES
      Ensure masthead & primary navigation dropdowns ALWAYS float over page content
   -------------------------------------------------------------------------- */
.photography-pillar-body #masthead {
  z-index: 9999 !important;
}

.photography-pillar-body .navigation-top {
  z-index: 10001 !important;
}

.photography-pillar-body .site-navigation-fixed.navigation-top {
  z-index: 10001 !important;
}

/* Dropdown sub-menu sits cleanly flush below the navigation bar without overlapping the menu text */
@media screen and (min-width: 48em) {
  .photography-pillar-body .navigation-top .sub-menu {
    top: calc(100% + 7px) !important;
    z-index: 10005 !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2) !important;
  }

  /* Invisible hover bridge: seamlessly connects the nav item to the dropdown across the 7px gap */
  .photography-pillar-body .navigation-top .sub-menu::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 16px;
    background: transparent;
    display: block;
    z-index: 10008;
    pointer-events: auto;
  }

  /* Extended link hit zone downward so the cursor is continuously inside the menu item */
  .photography-pillar-body .main-navigation ul li.menu-item-has-children {
    position: relative;
  }
  .photography-pillar-body .main-navigation ul li.menu-item-has-children > a::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
    pointer-events: auto;
  }

  .photography-pillar-body .main-navigation ul li.menu-item-has-children:before {
    bottom: -7px !important;
    z-index: 10006 !important;
  }

  .photography-pillar-body .main-navigation ul li.menu-item-has-children:after {
    bottom: -8px !important;
    z-index: 10007 !important;
  }
}

/* Sticky photo-subnav sits beneath the top navigation stack across all viewports */
.photography-pillar-body .photo-subnav {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 9990 !important;
}

/* Admin bar offsets on mobile (< 768px admin bar is 46px) */
.admin-bar.photography-pillar-body .photo-subnav {
  top: 46px !important;
}

/* On desktop (>= 768px / 48em), Twenty Seventeen main navigation is 72px */
@media screen and (min-width: 48em) {
  .photography-pillar-body .photo-subnav {
    top: 72px !important; /* Sits flush with zero gap below the main navigation */
  }
  .admin-bar.photography-pillar-body .photo-subnav {
    top: 104px !important; /* 32px wpadminbar + 72px main nav (zero gap) */
  }
}

/* On tablet desktop with 46px admin bar (768px - 782px) */
@media screen and (min-width: 768px) and (max-width: 782px) {
  .admin-bar.photography-pillar-body .photo-subnav {
    top: 118px !important; /* 46px wpadminbar + 72px main nav */
  }
}

/* Native CSS anchor scroll offset ensuring sections land with breathing room below headers */
.photography-pillar-body [id] {
  scroll-margin-top: 154px;
}
.admin-bar.photography-pillar-body [id] {
  scroll-margin-top: 186px;
}
@media screen and (min-width: 768px) and (max-width: 782px) {
  .admin-bar.photography-pillar-body [id] {
    scroll-margin-top: 200px;
  }
}
@media screen and (max-width: 767px) {
  .photography-pillar-body [id] {
    scroll-margin-top: 80px; /* 56px subnav + 24px breathing room */
  }
  .admin-bar.photography-pillar-body [id] {
    scroll-margin-top: 126px; /* 46px admin bar + 56px subnav + 24px */
  }
}

html {
  scroll-behavior: smooth;
}

/* --------------------------------------------------------------------------
   1. Full-Width Layout & Desktop Container Expansion
   -------------------------------------------------------------------------- */
.photography-pillar-body {
  background-color: var(--photo-bg-body);
  color: var(--photo-text-body);
  font-family: var(--photo-font-body);
  line-height: 1.7;
  overflow-x: clip; /* clip prevents horizontal scroll without breaking position: sticky */
}

/* General text and headings on photography pages set to #333333 (strictly scoped within main content #primary) */
.photography-pillar-body #primary h1,
.photography-pillar-body #primary h2:not(.photo-bundle-bridge h2),
.photography-pillar-body #primary h3,
.photography-pillar-body #primary h4,
.photography-pillar-body #primary p:not(.photo-bundle-bridge p):not(.photo-lightbox p) {
  color: #333333;
}

/* Reset legacy theme paragraph horizontal padding so headings and text align perfectly flush on the left */
.photography-pillar-body #primary p {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Explicitly preserve native theme styling for review-row, accreditation-box, and site-footer */
.photography-pillar-body .review-row,
.photography-pillar-body .review-row p,
.photography-pillar-body .review-row a,
.photography-pillar-body .review-row a p,
.photography-pillar-body .review-row-title h3,
.photography-pillar-body .site-footer,
.photography-pillar-body .site-footer p,
.photography-pillar-body .site-footer h1,
.photography-pillar-body .site-footer h2,
.photography-pillar-body .site-footer h3,
.photography-pillar-body .site-footer h4,
.photography-pillar-body .site-footer a,
.photography-pillar-body .site-footer span,
.photography-pillar-body .site-footer label,
.photography-pillar-body .accreditation-box,
.photography-pillar-body .accreditation-box p {
  color: #ffffff !important;
}

.photography-pillar-body .site-footer h3.title-footer {
  color: #26db26 !important;
}

.photography-pillar-body .rating-item a:hover {
  color: #ff0283 !important;
}

/* Force Twenty Seventeen site content containers to flow 100% full width */
.photography-pillar-body .site-content,
.photography-pillar-body #content.site-content,
.photography-pillar-body .site-content-contain,
.photography-pillar-body #primary.content-area {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  background: transparent !important;
}

/* Section styling: Background color blocks flow edge-to-edge (100vw) */
.photo-section {
  width: 100%;
  padding: 100px 0;
  box-sizing: border-box;
  position: relative;
}

.photo-section.bg-soft {
  background-color: #ffffff;
  background-image: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(255, 2, 131, 0.065) 0%, rgba(255, 2, 131, 0.02) 50%, rgba(255, 255, 255, 0) 80%);
  background-repeat: no-repeat;
  border-top: 1px solid var(--photo-pink-border);
  border-bottom: 1px solid var(--photo-pink-border);
}

.photo-section.bg-white {
  background-color: #ffffff;
}

.photo-section.bg-dark {
  background-color: var(--photo-bg-dark);
  color: #ffffff;
}

/* Expansive Desktop Inner Container (1440px / 1560px) */
.photo-wrapper {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

@media (min-width: 1600px) {
  .photo-wrapper {
    max-width: 1560px;
    padding: 0 48px;
  }
}

/* --------------------------------------------------------------------------
   2. Internal Page Navigation (Subnav)
   -------------------------------------------------------------------------- */
.photo-subnav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--photo-border);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

/* Desktop navigation pills */
.photo-subnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px 18px;
  min-height: 56px;
  flex-wrap: nowrap;
}

.photo-subnav li {
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.photo-subnav li a {
  display: inline-block;
  color: var(--photo-text-body);
  text-decoration: none;
  font-family: var(--photo-font-bold);
  font-size: 13.5px;
  letter-spacing: 0.02em;
  padding: 7px 16px;
  border-radius: 24px;
  transition: var(--photo-transition);
  background: transparent;
  white-space: nowrap;
}

.photo-subnav li a:hover,
.photo-subnav li a.active {
  color: #0f172a;
  background: var(--photo-djsc-green);
}

.photo-subnav li.bundle-cta a {
  background: var(--photo-djsc-green);
  color: #0f172a !important;
  padding: 8px 18px;
  font-weight: 700;
  box-shadow: 0 4px 12px var(--photo-djsc-green-glow);
  white-space: nowrap;
}

.photo-subnav li.bundle-cta a:hover {
  background: var(--photo-djsc-green-bright);
  transform: translateY(-1px);
}

/* Mobile (<= 767px): Sleek horizontal scroll strip */
@media (max-width: 767px) {
  .photo-subnav .photo-wrapper {
    padding: 0;
  }
  .photo-subnav ul {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 8px 12px;
    gap: 8px;
    justify-content: flex-start;
    scrollbar-width: none;
  }
  .photo-subnav ul::-webkit-scrollbar {
    display: none;
  }
  .photo-subnav li {
    flex-shrink: 0;
    scroll-snap-align: start;
  }
  .photo-subnav li a {
    white-space: nowrap;
    padding: 7px 14px;
    font-size: 13px;
    background: #f1f5f9;
    border: none;
  }
  .photo-subnav li a:hover {
    background: var(--photo-djsc-green-soft);
  }
  .photo-subnav li.bundle-cta a {
    background: var(--photo-djsc-green);
    color: #0f172a !important;
    border: none;
  }
}

/* --------------------------------------------------------------------------
   3. Hero Section
   -------------------------------------------------------------------------- */
.photo-hero,
.dual-hero {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center center;
  color: #ffffff;
  padding: 120px 20px 90px;
}

.photo-hero::before,
.dual-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.42) 0%,
    rgba(15, 23, 42, 0.82) 100%
  );
  z-index: 1;
}

.photo-hero-content,
.dual-hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
}

.photo-eyebrow {
  display: inline-block;
  font-family: var(--photo-font-bold);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--photo-djsc-green-bright);
  margin-bottom: 18px;
  background: rgba(15, 23, 42, 0.65);
  padding: 6px 18px;
  border-radius: 30px;
  border: none;
}

.photo-hero h1,
.dual-hero h1 {
  font-family: var(--photo-font-heading);
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  line-height: 1.12;
  margin: 0 0 22px 0;
  color: #ffffff;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.photo-hero p.photo-lead,
.dual-hero p.photo-lead,
p.photo-lead {
  font-family: var(--photo-font-body);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.95);
  max-width: 760px;
  margin: 0 auto 38px auto;
  padding: 0;
}

.photo-hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 42px;
}

.btn-photo-primary {
  display: inline-block;
  background: var(--photo-djsc-green);
  color: #0f172a !important;
  font-family: var(--photo-font-bold);
  font-size: 15px;
  padding: 14px 34px;
  border-radius: 30px;
  text-decoration: none !important;
  letter-spacing: 0.03em;
  transition: var(--photo-transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px var(--photo-djsc-green-glow);
}

.btn-photo-primary:hover {
  background: var(--photo-djsc-green-bright);
  color: #0f172a !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(38, 219, 38, 0.45);
}

.btn-photo-secondary {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff !important;
  font-family: var(--photo-font-bold);
  font-size: 15px;
  padding: 13px 30px;
  border-radius: 30px;
  text-decoration: none !important;
  border: none;
  transition: var(--photo-transition);
  cursor: pointer;
}

.btn-photo-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.photo-hero-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-family: var(--photo-font-body);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.9);
}

.photo-hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.photo-hero-badges svg {
  color: var(--photo-djsc-green-bright);
  width: 17px;
  height: 17px;
}

/* --------------------------------------------------------------------------
   4. Section Headers
   -------------------------------------------------------------------------- */
.photo-section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 60px auto;
}

.photo-subtitle {
  font-family: var(--photo-font-bold);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--photo-djsc-green-hover);
  margin-bottom: 12px;
  display: inline-block;
}

.photo-section-title {
  font-family: var(--photo-font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.18;
  color: var(--photo-text-dark);
  margin: 0 0 16px 0;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.photo-section-desc {
  font-family: var(--photo-font-body);
  font-size: 16.5px;
  color: var(--photo-text-body);
  margin: 0;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   5. Editorial Photographic Storytelling Cards (Replaces Software Icon Boxes)
   -------------------------------------------------------------------------- */
.photo-editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media screen and (max-width: 1024px) {
  .photo-editorial-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media screen and (max-width: 640px) {
  .photo-editorial-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.photo-editorial-card {
  background: var(--photo-bg-card);
  border: 1px solid var(--photo-border);
  border-radius: var(--photo-radius-lg);
  overflow: hidden;
  transition: var(--photo-transition);
  box-shadow: var(--photo-shadow);
  display: flex;
  flex-direction: column;
}

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

.photo-editorial-img {
  width: 100%;
  height: clamp(240px, 22vw, 270px);
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

.photo-editorial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.photo-editorial-card:hover .photo-editorial-img img {
  transform: scale(1.06);
}

.photo-editorial-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: var(--photo-djsc-green-bright);
  font-family: var(--photo-font-bold);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  border-radius: 20px;
  border: none;
}

.photo-editorial-body {
  padding: 32px 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.photo-editorial-body h3 {
  font-family: var(--photo-font-heading);
  font-size: 24px;
  margin: 0 0 12px 0;
  padding: 0;
  color: var(--photo-text-dark);
  font-weight: 400;
  line-height: 1.25;
}

.photo-editorial-body p {
  color: #333333;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

/* --------------------------------------------------------------------------
   5b. Advantages Grid (Dual Package)
   -------------------------------------------------------------------------- */
.photo-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.photo-pillar-card {
  background: var(--photo-bg-card);
  border: 1px solid var(--photo-border);
  border-radius: var(--photo-radius);
  padding: 34px 28px;
  box-shadow: var(--photo-shadow);
  transition: var(--photo-transition);
  display: flex;
  flex-direction: column;
}

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

.photo-pillar-card h3 {
  font-family: var(--photo-font-heading);
  font-size: 20px;
  margin: 0 0 12px 0;
  padding: 0;
  color: var(--photo-text-dark);
  font-weight: 400;
  line-height: 1.3;
}

.photo-pillar-card p {
  color: var(--photo-text-body);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

/* Advantage Numbers for Dual Package (01, 02, 03, 04) */
.photo-advantage-num {
  font-family: var(--photo-font-heading);
  font-size: 32px;
  color: var(--photo-djsc-green);
  line-height: 1;
  margin-bottom: 14px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   6. "Day in the Life" Chronological Story Set
   -------------------------------------------------------------------------- */
.photo-timeline {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.photo-timeline-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.photo-timeline-row:nth-child(even) {
  grid-template-columns: 0.9fr 1.1fr;
  direction: rtl;
}

.photo-timeline-row:nth-child(even) .photo-timeline-text {
  direction: ltr;
}

.photo-timeline-img {
  position: relative;
  border-radius: var(--photo-radius-lg);
  overflow: hidden;
  box-shadow: var(--photo-shadow);
  aspect-ratio: 16 / 11;
  background: #0f172a;
}

.photo-timeline-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.photo-timeline-img:hover img {
  transform: scale(1.04);
}

.photo-step-number {
  display: inline-block;
  font-family: var(--photo-font-bold);
  font-size: 13px;
  color: var(--photo-djsc-green-hover);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.photo-timeline-text h3 {
  font-family: var(--photo-font-heading);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  margin: 0 0 16px 0;
  color: var(--photo-text-dark);
  line-height: 1.25;
  font-weight: 400;
}

.photo-timeline-text p {
  font-size: 15.5px;
  color: #333333;
  line-height: 1.75;
  margin-bottom: 18px;
}

.photo-timeline-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.photo-timeline-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: #333333;
  font-family: var(--photo-font-bold);
}

.photo-timeline-features svg {
  color: var(--photo-djsc-green);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

/* --------------------------------------------------------------------------
   7. Interactive Portfolio Gallery Grid & Lightbox
   -------------------------------------------------------------------------- */
.photo-gallery-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.photo-gallery-filters button.gallery-filter-btn,
.gallery-filter-btn {
  background: #767676;
  border: none;
  color: #ffffff;
  font-family: var(--photo-font-bold);
  padding: 8px 22px;
  border-radius: 30px;
  font-size: 13.5px;
  cursor: pointer;
  transition: var(--photo-transition);
}

.photo-gallery-filters button.gallery-filter-btn:hover,
.photo-gallery-filters button.gallery-filter-btn:focus,
.photo-gallery-filters button.gallery-filter-btn:active,
.photo-gallery-filters button.gallery-filter-btn.active,
.gallery-filter-btn:hover,
.gallery-filter-btn:focus,
.gallery-filter-btn:active,
.gallery-filter-btn.active {
  background: var(--photo-text-dark) !important;
  color: #ffffff !important;
  border: none !important;
  outline: none;
}

.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.photo-gallery-item {
  position: relative;
  border-radius: var(--photo-radius);
  overflow: hidden;
  box-shadow: var(--photo-shadow);
  aspect-ratio: 3 / 2;
  cursor: pointer;
  background: #e2e8f0;
}

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

.photo-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photo-gallery-item:hover .photo-gallery-overlay {
  opacity: 1;
}

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

.photo-overlay-title {
  color: #ffffff !important;
  font-family: var(--photo-font-heading);
  font-size: 17px;
  margin: 0;
  padding: 0;
}

.photo-overlay-tag {
  color: var(--photo-djsc-green-bright);
  font-family: var(--photo-font-bold);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Lightbox Modal */
.photo-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.photo-lightbox.active {
  display: flex;
}

.photo-lightbox-content {
  position: relative;
  max-width: 92vw;
  max-height: 88vh;
  text-align: center;
}

.photo-lightbox-content img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  object-fit: contain;
}

.photo-lightbox-caption {
  color: #ffffff;
  margin-top: 14px;
  font-family: var(--photo-font-body);
  font-size: 15px;
}

.photo-lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 10px;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   8. Pricing & Packages Cards
   -------------------------------------------------------------------------- */
.photo-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  align-items: stretch;
}

.photo-pricing-card {
  background: var(--photo-bg-card);
  border: 1px solid var(--photo-border);
  border-radius: var(--photo-radius);
  padding: 44px 34px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--photo-transition);
  box-shadow: var(--photo-shadow);
}

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

.photo-pricing-card.featured {
  border: 2px solid var(--photo-djsc-green);
  box-shadow: 0 16px 35px -10px var(--photo-djsc-green-glow);
}

.photo-badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--photo-accent-pink);
  color: #ffffff;
  font-family: var(--photo-font-bold);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 5px 18px;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(255, 2, 131, 0.4);
}

.photo-card-header {
  border-bottom: 1px solid var(--photo-border);
  padding-bottom: 26px;
  margin-bottom: 26px;
  text-align: center;
}

.photo-card-header h3 {
  font-family: var(--photo-font-heading);
  font-size: 26px;
  margin: 0 0 8px 0;
  color: var(--photo-text-dark);
  font-weight: 400;
}

.photo-card-header p {
  color: #333333;
  font-size: 14px;
  margin: 0 0 16px 0;
}

.photo-price-box {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.photo-price-val {
  font-size: 48px;
  font-family: var(--photo-font-heading);
  color: #333333;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.photo-price-period {
  color: #333333;
  font-family: var(--photo-font-bold);
  font-size: 14px;
}

.photo-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 34px 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.photo-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: #333333;
}

.photo-card-features svg {
  color: var(--photo-djsc-green);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.photo-card-features li.highlight {
  font-family: var(--photo-font-bold);
  color: var(--photo-djsc-green-hover);
}

.photo-pricing-card .btn-card {
  display: block;
  text-align: center;
  padding: 14px 24px;
  border-radius: 30px;
  font-family: var(--photo-font-bold);
  font-size: 14px;
  text-decoration: none;
  transition: var(--photo-transition);
  border: none;
}

.photo-pricing-card.featured .btn-card {
  background: var(--photo-djsc-green);
  color: #0f172a !important;
  border: none;
}

.photo-pricing-card.featured .btn-card:hover {
  background: var(--photo-djsc-green-bright);
  border: none;
}

.photo-pricing-card:not(.featured) .btn-card {
  background: var(--photo-bg-soft);
  color: #333333 !important;
  border: none;
}

.photo-pricing-card:not(.featured) .btn-card:hover {
  background: var(--photo-text-dark);
  color: #ffffff !important;
  border: none;
}

/* --------------------------------------------------------------------------
   9. The "Dual Bundle" Bridge Banner
   -------------------------------------------------------------------------- */
.photo-bundle-bridge {
  background: linear-gradient(135deg, #333333 0%, #333333 100%);
  border-radius: var(--photo-radius-lg);
  padding: 64px 52px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.3);
  margin-top: 40px;
}

.photo-bundle-bridge::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.photo-bundle-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.photo-bundle-bridge h2 {
  font-family: var(--photo-font-heading);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  color: #ffffff;
  margin: 0 0 16px 0;
  line-height: 1.2;
  font-weight: 400;
}

.photo-bundle-tag {
  display: inline-block;
  background: rgba(34, 197, 94, 0.2);
  color: var(--photo-djsc-green-bright);
  border: none;
  padding: 5px 16px;
  border-radius: 20px;
  font-family: var(--photo-font-bold);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.photo-bundle-bridge p {
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.photo-bundle-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.photo-bundle-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #f1f5f9;
}

.photo-bundle-benefits svg {
  color: var(--photo-djsc-green-bright);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.photo-bundle-card-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--photo-radius);
  padding: 34px 28px;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.bundle-save-badge {
  display: inline-block;
  background: var(--photo-accent-pink);
  color: #ffffff;
  font-family: var(--photo-font-bold);
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(255, 2, 131, 0.4);
}

.bundle-price-compare {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 6px;
  text-decoration: line-through;
}

.bundle-price-main {
  font-family: var(--photo-font-heading);
  font-size: 46px;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 12px;
  font-weight: 700;
}

.bundle-price-note {
  font-size: 13.5px;
  color: #cbd5e1;
  margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   10. Reviews & Testimonials
   -------------------------------------------------------------------------- */
.photo-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.photo-review-card {
  background: var(--photo-bg-card);
  border: 1px solid var(--photo-border);
  border-radius: var(--photo-radius);
  padding: 36px 30px;
  box-shadow: var(--photo-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.photo-review-stars {
  color: #f59e0b;
  margin-bottom: 16px;
  display: flex;
  gap: 4px;
}

.photo-review-quote {
  font-family: var(--photo-font-heading);
  font-size: 17px;
  line-height: 1.65;
  color: var(--photo-text-dark);
  margin-bottom: 22px;
  font-style: italic;
  font-weight: 400;
}

.photo-review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--photo-border);
  padding-top: 16px;
  font-size: 13.5px;
  color: var(--photo-text-muted);
}

.photo-review-name {
  font-family: var(--photo-font-bold);
  color: var(--photo-text-dark);
}

.photo-review-venue {
  color: var(--photo-djsc-green-hover);
  font-family: var(--photo-font-bold);
}

/* --------------------------------------------------------------------------
   11. FAQs Section
   -------------------------------------------------------------------------- */
.photo-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 28px;
}

.photo-faq-item {
  background: var(--photo-bg-card);
  border: 1px solid var(--photo-border);
  border-radius: var(--photo-radius);
  padding: 32px 28px;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
}

.photo-faq-item h4 {
  font-family: var(--photo-font-heading);
  font-size: 20px;
  margin: 0 0 10px 0;
  padding: 0;
  color: var(--photo-text-dark);
  font-weight: 400;
}

.photo-faq-item p {
  color: var(--photo-text-body);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

/* --------------------------------------------------------------------------
   12. Dual Bundle Landing Page Specific Styles
   -------------------------------------------------------------------------- */
.dual-comparison-table {
  background: var(--photo-bg-card);
  border-radius: var(--photo-radius);
  border: 1px solid var(--photo-border);
  overflow: hidden;
  box-shadow: var(--photo-shadow);
  margin: 48px 0;
}

.dual-table-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  padding: 20px 28px;
  border-bottom: 1px solid var(--photo-border);
  align-items: center;
  font-size: 15px;
}

.dual-table-row.header {
  background: var(--photo-bg-soft);
  font-family: var(--photo-font-bold);
  color: var(--photo-text-dark);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.dual-table-row:last-child {
  border-bottom: none;
}

.dual-table-col.bundle-col {
  color: var(--photo-djsc-green-hover);
  font-family: var(--photo-font-bold);
}

.dual-timeline-sync {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.sync-card {
  background: #ffffff;
  border: 1px solid var(--photo-border);
  border-radius: var(--photo-radius);
  padding: 34px 26px;
  text-align: center;
  box-shadow: var(--photo-shadow);
}

.sync-card-time {
  display: inline-block;
  background: var(--photo-djsc-green-soft);
  color: var(--photo-djsc-green-hover);
  font-family: var(--photo-font-bold);
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  border: none;
}

.sync-card h4 {
  font-family: var(--photo-font-heading);
  font-size: 21px;
  margin: 0 0 8px 0;
  padding: 0;
  color: var(--photo-text-dark);
  font-weight: 400;
}

.sync-card p {
  font-size: 14px;
  color: var(--photo-text-body);
  line-height: 1.65;
  margin: 0;
  padding: 0;
}

/* --------------------------------------------------------------------------
   13. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .photo-timeline-row,
  .photo-timeline-row:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 30px;
    direction: ltr;
  }
  .photo-bundle-grid {
    grid-template-columns: 1fr;
  }
  .photo-bundle-bridge {
    padding: 40px 28px;
  }
}

@media (max-width: 680px) {
  .photo-section {
    padding: 60px 0;
  }
  .photo-wrapper {
    padding: 0 18px;
  }
  .photo-pricing-card {
    padding: 32px 22px;
  }
  .dual-table-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 20px;
  }
  .photo-faq-grid {
    grid-template-columns: 1fr;
  }
}
