/* theme.css — FX Photo Booths luxury theme, layered OVER Bootstrap 5.
 *
 * Reproduces the original site's look (elegant gold + near-black on white,
 * refined serif display headings) using Bootstrap structure + these tokens.
 * Original heading face was the licensed "Balenciaga"; we substitute the
 * closest free editorial serif, Cormorant Garamond.
 */

:root {
  /* --- Brand palette (from capture/theme.json -> colors.palette) --- */
  --brand-gold:      #c1b061;   /* rgb(193,176,97) — signature gold */
  --brand-gold-soft: #d4c885;
  --brand-dark:      #222222;   /* rgb(34,34,34) — body text */
  --brand-black:     #0c0c0c;   /* header / footer / hero */
  --brand-primary:   #c1b061;
  --brand-secondary: #6a6a6a;
  --brand-light:     #f7f6f2;
  --brand-accent:    #c1b061;

  /* --- Typography --- */
  --font-base:    "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-heading: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-size-base: 1rem;

  /* --- Map brand tokens onto Bootstrap's CSS variables --- */
  --bs-primary: var(--brand-gold);
  --bs-primary-rgb: 193, 176, 97;
  --bs-body-font-family: var(--font-base);
  --bs-body-font-size: var(--font-size-base);
  --bs-body-color: var(--brand-dark);
  --bs-link-color: var(--brand-dark);
  --bs-link-hover-color: var(--brand-gold);
  --bs-border-radius: .25rem;
}

body {
  font-family: var(--font-base);
  color: var(--brand-dark);
  font-size: 1rem;
  line-height: 1.7;
}

/* --- Headings: elegant serif display --- */
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--brand-dark);
  line-height: 1.15;
}
h1, .h1 { font-size: clamp(2.4rem, 5vw, 4.3rem); }
h2, .h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 500; }
h3, .h3 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h4, .h4 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }

/* A recurring "section title" — centered elegant serif, like the original. */
.section-title {
  font-family: var(--font-heading);
  font-weight: 500;
  text-align: center;
  margin-bottom: 2.5rem;
}
.text-gold { color: var(--brand-gold) !important; }
.bg-gold { background-color: var(--brand-gold) !important; }
.bg-brand-black { background-color: var(--brand-black) !important; }

/* The signature "Create | Engage | Elevate" tagline. */
.brand-tagline {
  font-family: var(--font-heading);
  color: var(--brand-gold);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: .04em;
  text-align: center;
  font-weight: 500;
}

/* Keep headings legible on dark/colored sections. */
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6,
.bg-brand-black h1, .bg-brand-black h2, .bg-brand-black h3, .bg-brand-black h4,
.text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white h6 {
  color: #fff;
}

/* --- Links --- */
a { color: var(--brand-dark); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand-gold); }

/* --- Buttons ------------------------------------------------------------ */
/* Primary CTA is the black "GET A QUOTE" pill from the original. */
.btn { border-radius: .2rem; font-weight: 600; letter-spacing: .03em; padding: .6rem 1.5rem; }
.btn-dark, .btn-primary {
  --bs-btn-bg: var(--brand-black);
  --bs-btn-border-color: var(--brand-black);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--brand-gold);
  --bs-btn-hover-border-color: var(--brand-gold);
  --bs-btn-hover-color: #111;
  --bs-btn-active-bg: var(--brand-gold);
  --bs-btn-active-border-color: var(--brand-gold);
}
.btn-gold {
  --bs-btn-bg: var(--brand-gold);
  --bs-btn-border-color: var(--brand-gold);
  --bs-btn-color: #111;
  --bs-btn-hover-bg: #111;
  --bs-btn-hover-border-color: #111;
  --bs-btn-hover-color: #fff;
}
.btn-outline-dark {
  --bs-btn-color: var(--brand-dark);
  --bs-btn-border-color: var(--brand-dark);
  --bs-btn-hover-bg: var(--brand-black);
  --bs-btn-hover-border-color: var(--brand-black);
  --bs-btn-hover-color: #fff;
}
.btn-outline-light {
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-color: #111;
}

/* --- Header / navbar (dark, gold uppercase links) ----------------------- */
.site-navbar {
  background: var(--brand-black);
  padding-top: .5rem;
  padding-bottom: .5rem;
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.site-navbar .navbar-brand { padding: 0; margin-right: 1.5rem; }
.site-navbar .navbar-brand img { height: 60px; width: auto; }
.site-navbar .nav-link {
  color: #efe9d8;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .82rem;
  font-weight: 600;
  text-align: center;
  padding: .5rem .9rem;
}
.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus,
.site-navbar .nav-link.active,
.site-navbar .nav-item.show > .nav-link {
  color: var(--brand-gold);
}
.site-navbar .navbar-toggler {
  border-color: rgba(193,176,97,.5);
  color: var(--brand-gold);
}
.site-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23c1b061' stroke-width='2.2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.site-navbar .nav-phone {
  color: var(--brand-gold);
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}
.site-navbar .nav-phone:hover { color: var(--brand-gold-soft); }
/* Dropdown mega-menu */
.site-navbar .dropdown-menu {
  background: #151515;
  border: 1px solid rgba(193,176,97,.25);
  border-radius: .3rem;
  margin-top: .25rem;
  padding: .35rem;
}
.site-navbar .dropdown-item {
  color: #e7e1cf;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  font-weight: 600;
  border-radius: .2rem;
  padding: .5rem .8rem;
}
.site-navbar .dropdown-item:hover,
.site-navbar .dropdown-item:focus {
  background: rgba(193,176,97,.15);
  color: var(--brand-gold);
}
@media (min-width: 1200px) {          /* matches navbar-expand-xl */
  .site-navbar .nav-link { white-space: nowrap; }
  /* Hover-open dropdowns on desktop (feel of the original mega-menu). */
  .site-navbar .nav-item.dropdown:hover > .dropdown-menu { display: block; }
}

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--brand-black) center/cover no-repeat;
  color: #fff;
  padding: clamp(4rem, 12vw, 9rem) 0;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.55));
}
.hero > .container { position: relative; z-index: 2; }
.hero h1, .hero .hero-title {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.5);
  margin-bottom: 1rem;
}
.hero .lead { color: rgba(255,255,255,.9); }
/* Slim hero used on interior pages */
.hero--sm { padding: clamp(3rem, 8vw, 5.5rem) 0; }

/* Black accent band ("Fun, Entertaining & Memorable!") */
.accent-band {
  background: var(--brand-black);
  color: #fff;
  text-align: center;
  padding: 2.25rem 0;
}
.accent-band .band-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
}

/* --- Cards --------------------------------------------------------------- */
.card { border: 1px solid #ece9e0; border-radius: .35rem; box-shadow: 0 6px 24px rgba(0,0,0,.05); }
.card-title { font-family: var(--font-heading); font-weight: 500; }
.experience-card .card-title { text-align: center; }
/* Overlay-style image card (Corporate / Wedding / Galas tiles) */
.overlay-card {
  position: relative;
  border-radius: .35rem;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.overlay-card img,
.overlay-card picture > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.overlay-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.75));
}
.overlay-card .overlay-body { position: relative; z-index: 2; padding: 1.5rem; width: 100%; }
.overlay-card .overlay-title { font-family: var(--font-heading); color: #fff; font-size: 1.6rem; margin-bottom: .75rem; }

/* --- Sections ------------------------------------------------------------ */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--brand-light); }
.section-dark { background: var(--brand-black); color: #fff; }
.section-dark p { color: rgba(255,255,255,.82); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; font-weight: 700; color: var(--brand-gold); }

/* Stat counters (About "Our Experience") */
.stat-num { font-family: var(--font-heading); font-size: clamp(2.4rem,5vw,3.5rem); color: var(--brand-gold); line-height: 1; }
.stat-label { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; }

/* --- Footer -------------------------------------------------------------- */
.site-footer {
  background: var(--brand-black);
  color: #cfcabb;
  padding-top: 3rem;
}
.site-footer .footer-tagline { color: var(--brand-gold); }
.site-footer h5, .site-footer .footer-heading {
  color: var(--brand-gold);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 1rem;
}
.site-footer a:not(.btn) { color: #cfcabb; }
.site-footer a:not(.btn):hover,
.site-footer a:not(.btn):focus { color: var(--brand-gold); }
.site-footer .footer-links a { display: block; padding: .2rem 0; font-size: .95rem; }
.site-footer .social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(193,176,97,.4);
  color: var(--brand-gold); margin: .2rem .35rem .2rem 0; font-size: 1.05rem;
}
.site-footer .social-icons a:hover { background: var(--brand-gold); color: #111; }
.site-footer .btn-link { color: var(--brand-gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding: 1.25rem 0; font-size: .85rem; }

/* --- Forms --------------------------------------------------------------- */
.form-control, .form-select { border-radius: .2rem; padding: .6rem .8rem; border-color: #d8d5cb; }
.form-control:focus, .form-select:focus {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 .2rem rgba(193,176,97,.2);
}
.form-label { font-weight: 600; font-size: .9rem; }

/* --- Image fit helpers (see skill guidance) ------------------------------ */
picture { display: contents; }
.ratio > picture > img,
.ratio > img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
img { max-width: 100%; height: auto; }
/* Default image fit is CONTAIN so gallery/booth photos are never cropped.
   Full-bleed design elements (overlay-card tiles, team headshots) opt back into
   cover via their own higher-specificity rules (.overlay-card img/.team-photo img). */
.object-cover   { object-fit: contain; }
.object-contain { object-fit: contain; background: transparent; }
.card img, .feature-card img { object-fit: contain; max-width: 100%; }
.photo-frame { background: transparent; border-radius: .5rem; overflow: hidden; }
.photo-frame img { width: 100%; height: 100%; object-fit: contain; }
.photo-frame--square { aspect-ratio: 1 / 1; }
@media (max-width: 767.98px) {
  .photo-frame:not(.photo-frame--square) { height: auto !important; aspect-ratio: 4 / 3; }
}
/* Rounded portrait for team members */
.team-photo { aspect-ratio: 1/1; border-radius: .4rem; overflow: hidden; background: #efeced; }
.team-photo img { width:100%; height:100%; object-fit: cover; }

/* Logo strip (clients) */
.logo-strip img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: all .2s ease; }
.logo-strip img:hover { filter: none; opacity: 1; }
