/* ================================
   DJ Ballallday — Luxury Wedding Theme
   Palette: Charcoal, Ivory, Soft Silver, (optional) Champagne Gold
   Fonts: Playfair Display (headings) + Inter (body)
   ================================ */

/* Root tokens */
:root {
  --bg: #0e0f11;            /* deep charcoal */
  --surface: #121418;       /* card */
  --surface-2: #16191e;     /* darker section */
  --text: #f4f5f6;          /* near-white */
  --muted: #cfd3d8;         /* soft silver text */
  --line: rgba(255,255,255,0.08); /* hairline borders */
  --ring: rgba(255,255,255,0.12);
  --ivory: #f7f7f4;         /* ivory for light accents */
  --shadow: 0 8px 24px rgba(0,0,0,0.35);

  /* Optional luxe accent (subtle). Set to transparent to disable. */
  --accent-gold: #d8c690;   /* champagne gold */
  --accent-gold-soft: rgba(216,198,144,0.22);
}

/* Global reset / base */
* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  padding: 0;
  background: radial-gradient(1200px 800px at 70% -10%, rgba(216,198,144,0.07), transparent 60%),
              radial-gradient(900px 600px at 10% 120%, rgba(255,255,255,0.05), transparent 60%),
              var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
}

/* Smooth type & motion */
h1, h2, h3 { 
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  letter-spacing: 0.2px;
  margin: 0.2em 0 0.4em;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 1.8rem + 1.2vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2.2rem); font-weight: 600; }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); font-weight: 600; }

p, label { color: var(--muted); font-size: 1.05rem; }

/* Hairline dividers & subtle gold accent line */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  margin: 24px 0;
}
.accent-line {
  width: 80px;
  height: 2px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  border-radius: 2px;
}

/* Layout containers (keeps your existing classes) */
.box, .content-box, .section {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  padding: clamp(20px, 3vw, 36px);
  margin: 22px auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  max-width: 980px;
  width: min(92%, 980px);
  position: relative;
  overflow: hidden;
}

/* Subtle top accent border for “boujee” feel */
.box::before, .content-box::before, .section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 10%, var(--accent-gold), transparent 90%);
  opacity: 0.55;
  pointer-events: none;
}

/* Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(18,20,24,0.85), rgba(18,20,24,0.55));
  border-bottom: 1px solid var(--line);
}
header .inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px clamp(14px, 3vw, 24px);
  display: flex;
  align-items: center;
  gap: 16px;
}
header img {
  height: 40px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}
header h1 {
  font-size: 1.25rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  margin: 0;
  color: var(--ivory);
  letter-spacing: 0.3px;
}

nav {
  margin-left: auto;
  display: flex;
  gap: clamp(10px, 2vw, 22px);
}
nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}
nav a:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.04);
  border-color: var(--line);
}
nav a:active { transform: translateY(0); }

/* Hero (optional utility if you add a hero section) */
.hero {
  max-width: 1100px;
  margin: 24px auto 8px;
  padding: clamp(20px, 3vw, 36px);
  display: grid;
  gap: 16px;
}
.hero .title {
  text-align: center;
}
.hero .subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 780px;
  margin: 0 auto;
}

/* Slideshow (luxury restyle) */
.slideshow-container {
  width: min(92%, 980px);
  height: clamp(280px, 48vw, 520px);
  margin: 22px auto;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #0d0f12;
  box-shadow: var(--shadow);
}
.slide {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain; /* keep your original behavior to preserve image framing */
  background: radial-gradient(600px 300px at 50% 10%, rgba(216,198,144,0.05), transparent 60%);
  border-radius: 18px;
}

/* Slideshow arrows (subtle, elegant) */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  padding: 10px 14px;
  color: var(--text);
  font-weight: 600;
  font-size: 22px;
  user-select: none;
  background-color: rgba(18,20,24,0.65);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(4px);
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
  z-index: 10;
}
.prev { left: 14px; }
.next { right: 14px; }
.prev:hover, .next:hover {
  background-color: rgba(18,20,24,0.85);
  border-color: var(--ring);
  transform: translateY(-1px);
}

/* Elegant “glow” text replaced with refined highlight */
.glow-text {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--ivory) !important;
  font-size: clamp(1.4rem, 1.1rem + 0.9vw, 2rem);
  text-align: center;
  margin-top: 12px;
  letter-spacing: 0.3px;
}

/* Forms (exclude slideshow arrows from full-width button rule) */
input, textarea, select, button:not(.prev):not(.next) {
  width: 100%;
  padding: 12px 14px;
  margin-top: 10px;
  margin-bottom: 18px;
  border-radius: 12px;
  font-size: 1rem;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  color: var(--text);
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}
input::placeholder, textarea::placeholder { color: #aeb4ba; }
input:focus, textarea:focus, select:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.05), inset 0 1px 0 rgba(255,255,255,0.03);
  background: rgba(255,255,255,0.04);
}

/* Buttons */
button {
  background: linear-gradient(180deg, var(--ivory), #e8e8e3);
  color: #1b1c1f;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
}
button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.3);
  filter: saturate(1.02);
}
button:active { transform: translateY(0); }

/* Luxe outlined button (use .btn-outline on <button>) */
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.04);
  border-color: var(--ring);
}

/* Small “Pay Now” / tag button variant */
.btn-sm {
  font-size: 0.95rem;
  padding: 10px 12px;
  border-radius: 10px;
}

/* Links in body copy */
a {
  color: var(--ivory);
  text-underline-offset: 3px;
}
a:hover { text-decoration: underline; }

/* Footer */
footer {
  max-width: 1100px;
  margin: 30px auto 60px;
  padding: 16px clamp(14px, 3vw, 24px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  text-align: center;
}

/* Utility: soft card rows */
.grid {
  display: grid;
  gap: clamp(14px, 2.4vw, 22px);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Responsive */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  header .inner { gap: 12px; }
  nav { gap: 10px; }
  .slideshow-container { height: clamp(220px, 52vw, 340px); }
}

/* Optional: gold accents for key CTAs or headings (add class .gold) */
.gold { color: var(--accent-gold); }
.gold-border { border-color: var(--accent-gold-soft) !important; }

/* --- Extra safety: ensure button arrows never go full-width --- */
button.prev, button.next {
  width: auto !important;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* --- Fix: remove white bubbles behind slideshow arrows --- */
.prev, .next,
button.prev, button.next {
  background: rgba(18,20,24,0.65) !important; /* dark semi-transparent */
  border: 1px solid var(--line) !important;
  color: var(--text) !important;
  border-radius: 50% !important;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  box-shadow: none !important;
}
.prev:hover, .next:hover,
button.prev:hover, button.next:hover {
  background: rgba(18,20,24,0.85) !important;
  border-color: var(--ring) !important;
}

