/* ============================================================
   Manny Adeniji Photos — global stylesheet
   ============================================================ */

:root {
  --bg: #0e0d0c;
  --bg-alt: #141210;
  --text: #f4efe7;
  --muted: #a89f91;
  --accent: #c9a875;      /* warm champagne/gold */
  --accent-hover: #dcbd87;
  --line: rgba(244, 239, 231, 0.12);
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1280px;
  --radius: 2px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }
p.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: inline-block;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 2rem;
}
section { padding: 6rem 0; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .3s ease, padding .3s ease;
}
.site-header.scrolled {
  background: rgba(14, 13, 12, 0.92);
  backdrop-filter: blur(10px);
  padding: 0.75rem 2rem;
  border-bottom: 1px solid var(--line);
}
.site-header .brand img {
  height: 48px;
  width: auto;
  transition: height .3s ease;
}
.site-header.scrolled .brand img { height: 36px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-list a {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.5rem 0;
  position: relative;
}
.nav-list a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .25s ease;
}
.nav-list a:hover::after,
.nav-list a.active::after { width: 100%; }

.nav-list .cta a {
  border: 1px solid var(--accent);
  padding: 0.6rem 1.2rem;
  color: var(--accent);
}
.nav-list .cta a:hover {
  background: var(--accent);
  color: var(--bg);
}
.nav-list .cta a::after { display: none; }

/* Dropdown (Photography) */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(14, 13, 12, 0.98);
  border: 1px solid var(--line);
  min-width: 200px;
  padding: 0.5rem 0;
  opacity: 0; visibility: hidden;
  transition: all .2s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown li { list-style: none; }
.dropdown a {
  display: block;
  padding: 0.75rem 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.dropdown a:hover { background: rgba(201, 168, 117, 0.08); }
.dropdown a::after { display: none; }

/* ---------- Hero / Cover slideshow ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero .slides {
  position: absolute;
  inset: 0;
}
.hero .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
  transform: scale(1.05);
  animation: kenBurns 12s ease-in-out infinite alternate;
}
.hero .slide.active { opacity: 1; }
@keyframes kenBurns {
  from { transform: scale(1.0); }
  to   { transform: scale(1.12); }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.15) 40%,
    rgba(0,0,0,0.55) 100%
  );
  z-index: 1;
}
.hero .hero-content {
  position: relative;
  z-index: 2;
  padding: 0 1.5rem;
  max-width: 900px;
}
.hero .logo-mark {
  width: clamp(180px, 30vw, 300px);
  margin: 0 auto 2rem;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  margin-bottom: 1rem;
}
.hero .hero-tag {
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.9;
}
.hero .scroll-cue {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.7;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

/* Slideshow dots */
.hero .dots {
  position: absolute;
  bottom: 5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; gap: 0.5rem;
}
.hero .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none; cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.hero .dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* ---------- Page hero (non-home) ---------- */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center top;
  text-align: center;
  margin-top: 0;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(14, 13, 12, 0.55);
}
.page-hero .hero-content {
  position: relative; z-index: 2;
  padding-top: 5rem;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}
.page-hero .breadcrumb {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0.5rem;
}

/* ---------- Intro / text block ---------- */
.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-title h2 { margin-bottom: .5rem; }
.section-title .divider {
  width: 60px; height: 1px;
  background: var(--accent);
  margin: 1.5rem auto 0;
}

/* ---------- Gallery grids ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .gallery-grid.three { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .gallery-grid.three { grid-template-columns: 1fr; }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  color: var(--text);
  opacity: 0;
  transform: translateY(10px);
  transition: all .35s ease;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.gallery-item:hover .caption { opacity: 1; transform: translateY(0); }

/* ---------- Category cards (photography hub) ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .category-grid { grid-template-columns: 1fr; }
}
.category-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  display: block;
  color: var(--text);
}
.category-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 1s ease;
}
.category-card:hover img { transform: scale(1.06); }
.category-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.75) 100%);
}
.category-card .card-body {
  position: absolute;
  left: 2rem; right: 2rem; bottom: 2rem;
  z-index: 2;
}
.category-card h3 {
  font-size: 1.75rem;
  margin-bottom: 0.4rem;
}
.category-card .btn-text {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  position: relative;
  padding-bottom: 4px;
}
.category-card .btn-text::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 30px; height: 1px;
  background: var(--accent);
  transition: width .3s ease;
}
.category-card:hover .btn-text::after { width: 100%; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.about-photo {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
}
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { margin-bottom: 1.25rem; color: var(--muted); }
.about-text .sig {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  margin-top: 1rem;
  color: var(--accent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  cursor: pointer;
  transition: all .25s ease;
  text-decoration: none;
  font-family: var(--sans);
}
.btn:hover {
  background: var(--accent);
  color: var(--bg);
}
.btn.primary {
  background: var(--accent);
  color: var(--bg);
}
.btn.primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* ---------- Form ---------- */
.form-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 700px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  padding: 0.75rem 0;
  font-family: var(--sans);
  font-size: 1rem;
  transition: border-color .2s ease;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.form-field select option { background: var(--bg); color: var(--text); }
.form-submit { text-align: center; margin-top: 1rem; }
.form-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 1.5rem;
}
.form-success, .form-error {
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--accent);
  background: rgba(201, 168, 117, 0.08);
  display: none;
}
.form-error { border-left-color: #d66; background: rgba(214, 102, 102, 0.08); }

/* ---------- Galleries index ---------- */
.gallery-login {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2rem;
  border: 1px solid var(--line);
}
.gallery-login h2 { margin-bottom: 1rem; }
.gallery-login p { color: var(--muted); margin-bottom: 2rem; }
.gallery-login .form-row { grid-template-columns: 1fr; }

.gallery-grid-client {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.5rem;
}
.gallery-grid-client img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  cursor: pointer;
  transition: opacity .2s ease;
}
.gallery-grid-client img:hover { opacity: 0.88; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}
.lightbox .close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-size: 2rem;
  color: var(--text);
  background: none; border: none;
  cursor: pointer;
}
.lightbox .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: var(--text);
  font-size: 2.5rem;
  padding: 1rem;
  cursor: pointer;
  opacity: 0.7;
}
.lightbox .nav-btn:hover { opacity: 1; }
.lightbox .prev { left: 1rem; }
.lightbox .next { right: 1rem; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.site-footer .footer-brand img {
  height: 50px;
  margin: 0 auto 1.5rem;
  opacity: 0.85;
}
.site-footer .socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.site-footer .socials a {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.site-footer .copy { font-size: 0.75rem; letter-spacing: 0.1em; }

/* ---------- Mobile nav ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; z-index: 110; }
  .nav-list {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 360px;
    height: 100vh;
    background: var(--bg-alt);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    transition: right .3s ease;
    border-left: 1px solid var(--line);
  }
  .nav-list.open { right: 0; }
  .nav-list li { width: 100%; }
  .dropdown {
    position: static;
    transform: none;
    opacity: 1; visibility: visible;
    background: transparent;
    border: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
  }
  .dropdown a { padding: 0.5rem 0; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* ============================================================
   Packages / Pricing page
   ============================================================ */
.service-section { margin-bottom: 5rem; }
.service-section:last-of-type { margin-bottom: 2rem; }
.service-section .service-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}
.service-section .service-intro h2 { margin-bottom: .75rem; }
.service-section .service-intro .divider {
  width: 60px; height: 1px;
  background: var(--accent);
  margin: 1.25rem auto 1.25rem;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .package-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

.package-card {
  border: 1px solid var(--line);
  padding: 2.25rem 1.75rem;
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  transition: border-color .25s ease, transform .25s ease;
  position: relative;
}
.package-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.package-card.featured {
  border-color: var(--accent);
}
.package-card.featured::before {
  content: "Most popular";
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  padding: 0.25rem 0.85rem;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  white-space: nowrap;
  font-weight: 500;
}

.package-card .tier-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: inline-block;
}
.package-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-bottom: .25rem;
  font-weight: 400;
}
.package-card .tier-sub {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.45;
}
.package-card .price {
  font-family: var(--serif);
  font-size: 2.5rem;
  color: var(--text);
  line-height: 1.05;
  margin-bottom: .35rem;
}
.package-card .price-break {
  font-size: .72rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
  letter-spacing: .03em;
}

.package-card ul.features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  flex-grow: 1;
  border-top: 1px solid var(--line);
}
.package-card ul.features li {
  font-size: .88rem;
  color: var(--text);
  padding: .65rem 0 .65rem 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--line);
  line-height: 1.45;
}
.package-card ul.features li::before {
  content: "";
  position: absolute;
  left: 2px; top: 1.05rem;
  width: 6px; height: 10px;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(45deg);
}
.package-card .btn {
  width: 100%;
  text-align: center;
  margin-top: auto;
}

/* Add-ons grid */
.addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}
.addon-card {
  border: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 1.5rem 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease;
}
.addon-card:hover { border-color: var(--accent); }
.addon-card h4 {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin-bottom: .35rem;
  font-weight: 400;
}
.addon-card .addon-price {
  font-size: .85rem;
  color: var(--accent);
  letter-spacing: .05em;
  margin-bottom: .75rem;
  font-family: var(--sans);
}
.addon-card p {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Inclusions list (what's always included) */
.inclusions-block {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
  border: 1px solid var(--line);
  background: var(--bg-alt);
}
.inclusions-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .85rem 2.5rem;
  margin: 0;
}
@media (max-width: 700px) {
  .inclusions-list { grid-template-columns: 1fr; }
}
.inclusions-list li {
  padding: 0 0 0 1.75rem;
  position: relative;
  color: var(--text);
  font-size: .92rem;
  line-height: 1.55;
}
.inclusions-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
  font-weight: 600;
  font-size: 1.05rem;
}

/* Pricing notes */
.pricing-note {
  text-align: center;
  color: var(--muted);
  font-size: .88rem;
  max-width: 720px;
  margin: 2rem auto 0;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--line);
  line-height: 1.6;
}
.pricing-note strong { color: var(--text); }

/* ---------- 404 page ---------- */
.error-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
}
.error-hero .error-code {
  font-family: var(--serif);
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.error-hero h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 1rem;
}
.error-hero p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 2rem;
}
.error-hero .btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Thank-you page ---------- */
.thankyou-section {
  min-height: 50vh;
  display: flex;
  align-items: center;
  text-align: center;
}
.thankyou-section .checkmark {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  animation: popIn .5s ease;
}
.thankyou-section .checkmark::after {
  content: "\2713";
  font-size: 2rem;
  color: var(--accent);
}
@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}
.thankyou-section h1 { margin-bottom: 1rem; }
.thankyou-section p { color: var(--muted); max-width: 540px; margin: 0 auto 1rem; }
.thankyou-section .btn-group {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  margin-top: 2rem;
}
