/* Art in the Park Oakville — teal / purple theme
   Variable names are kept from the navy/gold version so both themes share the same rules:
   "navy" = purple (headings, dark panels), "gold" = teal (buttons, accents). */

:root {
  --aip-teal: #01a1b9;
  --aip-teal-deep: #007d90;
  --aip-teal-light: #8fe0eb;
  --aip-purple: #67184f;
  --aip-purple-dark: #4d1039;
  --aip-on-teal: #3a0b2b;
  --aip-navy: var(--aip-purple);
  --aip-navy-dark: var(--aip-purple-dark);
  --aip-gold: var(--aip-teal);
  --aip-gold-dark: var(--aip-teal-deep);
  --aip-cream: #eaf6f8;
  --aip-ink: #2a2a2a;
}

body {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  color: var(--aip-ink);
  background: #fff;
}

h1, h2, h3, .aip-display, .aip-heading, .aip-brand {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Navbar */

.aip-nav {
  background: var(--aip-navy);
}

.aip-brand {
  font-weight: 700;
  color: #fff !important;
}

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

.aip-nav .nav-link {
  color: rgba(255,255,255,.85);
}

.aip-nav .nav-link:hover, .aip-nav .nav-link.active {
  color: var(--aip-gold);
}

/* Hero — replace assets/img/hero.jpg with a show photo */

.aip-hero {
  min-height: 78vh;
  background: linear-gradient(135deg, rgba(0,125,144,.78), rgba(77,16,57,.8)), url('../img/hero.jpg') center / cover no-repeat, var(--aip-navy);
}

.aip-eyebrow {
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--aip-gold);
  font-weight: 600;
}

.aip-date-badge {
  border: 2px solid var(--aip-gold);
  border-radius: .75rem;
  padding: .75rem 1.5rem;
  background: rgba(58,11,43,.45);
}

.aip-date-badge strong {
  font-size: 1.4rem;
}

/* Buttons */

.btn-aip-gold {
  background: var(--aip-gold);
  border-color: var(--aip-gold);
  color: var(--aip-navy-dark);
  font-weight: 600;
}

.btn-aip-gold:hover {
  background: var(--aip-gold-dark);
  border-color: var(--aip-gold-dark);
  color: #fff;
}

/* At a glance strip */

.aip-glance {
  background: var(--aip-gold);
  color: var(--aip-navy-dark);
}

/* Sections */

.aip-cream {
  background: var(--aip-cream);
}

.aip-navy {
  background: var(--aip-navy);
}

.aip-heading {
  color: var(--aip-navy);
  font-weight: 700;
  margin-bottom: 1rem;
}

.aip-link {
  color: var(--aip-gold-dark);
  font-weight: 600;
  text-decoration: none;
}

.aip-link:hover {
  text-decoration: underline;
}

.aip-checklist li {
  margin-bottom: .5rem;
  padding-left: 1.75rem;
  position: relative;
}

.aip-checklist i {
  color: var(--aip-gold);
  position: absolute;
  left: 0;
  top: .15rem;
}

.aip-img {
  background: var(--aip-cream);
  min-height: 260px;
  object-fit: cover;
  width: 100%;
}

/* Update cards */

.aip-card {
  border: 0;
  border-top: 4px solid var(--aip-gold);
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
}

.aip-badge {
  background: var(--aip-navy);
}

/* Reviews */

.aip-reviews {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 3rem;
}

.aip-reviews .blockquote p {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  color: var(--aip-navy);
}

.aip-reviews .carousel-control-prev-icon, .aip-reviews .carousel-control-next-icon {
  filter: invert(1) grayscale(1);
}

/* Footer */

.aip-footer {
  background: var(--aip-navy-dark);
  color: rgba(255,255,255,.8);
}

.aip-footer a {
  color: var(--aip-gold);
  text-decoration: none;
}

.aip-social {
  font-size: 1.4rem;
  margin-left: .75rem;
}

/* =====================================================================
   Multi-page additions
   ===================================================================== */

html {
  scroll-padding-top: 80px;
}

a {
  color: var(--aip-navy);
}

.aip-section-pad {
  padding: 4rem 0;
}

/* Dropdown menus */

.aip-nav .dropdown-menu {
  border: 0;
  border-top: 3px solid var(--aip-gold);
  border-radius: 0 0 .5rem .5rem;
  box-shadow: 0 10px 24px rgba(0,0,0,.15);
}

.aip-nav .dropdown-item {
  padding: .5rem 1.25rem;
}

.aip-nav .dropdown-item:hover, .aip-nav .dropdown-item:focus {
  background: var(--aip-cream);
  color: var(--aip-navy);
}

.aip-nav .dropdown-item.active, .aip-nav .dropdown-item:active {
  background: var(--aip-navy);
  color: var(--aip-gold);
}

.aip-nav .dropdown-toggle.active {
  color: var(--aip-gold);
}

@media (max-width: 991.98px) {
  .aip-nav .dropdown-menu {
    background: var(--aip-navy-dark);
    box-shadow: none;
    border-top: 0;
  }
}

@media (max-width: 991.98px) {
  .aip-nav .dropdown-item {
    color: rgba(255,255,255,.8);
  }
}

@media (max-width: 991.98px) {
  .aip-nav .dropdown-item:hover, .aip-nav .dropdown-item:focus {
    background: transparent;
    color: var(--aip-gold);
  }
}

.aip-nav .btn-aip-gold {
  padding: .35rem 1rem;
}

/* Inner-page header */

.aip-page-hero {
  background: radial-gradient(circle at 85% 20%, rgba(1,161,185,.25), transparent 45%), linear-gradient(120deg, var(--aip-teal-deep) 0%, #00687a 45%, var(--aip-purple) 100%);
  color: #fff;
  padding: 3.5rem 0 3rem;
}

.aip-page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: .5rem;
}

.aip-page-hero .lead {
  color: rgba(255,255,255,.85);
  max-width: 46rem;
}

.aip-page-hero .breadcrumb {
  margin-bottom: .75rem;
  font-size: .9rem;
}

.aip-page-hero .breadcrumb a {
  color: var(--aip-gold);
  text-decoration: none;
}

.aip-page-hero .breadcrumb-item.active, .aip-page-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,.65);
}

/* Callouts */

.aip-callout {
  background: var(--aip-cream);
  border-left: 5px solid var(--aip-gold);
  border-radius: .5rem;
  padding: 1.25rem 1.5rem;
}

.aip-callout-navy {
  background: var(--aip-navy);
  color: #fff;
  border-radius: .75rem;
  padding: 1.5rem 1.75rem;
}

.aip-callout-navy a:not(.btn) {
  color: var(--aip-gold);
}

/* Accordions (FAQs) */

.aip-accordion .accordion-item {
  border: 0;
  border-bottom: 1px solid rgba(28,43,74,.12);
}

.aip-accordion .accordion-button {
  font-weight: 600;
  color: var(--aip-navy);
  padding: 1.1rem 1.25rem;
}

.aip-accordion .accordion-button:not(.collapsed) {
  background: var(--aip-cream);
  color: var(--aip-navy);
  box-shadow: none;
}

.aip-accordion .accordion-button:focus {
  box-shadow: 0 0 0 .2rem rgba(1,161,185,.35);
}

.aip-faq-group {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--aip-navy);
  margin: 2.5rem 0 1rem;
}

.aip-faq-group:first-child {
  margin-top: 0;
}

/* Side navigation for long pages */

.aip-sidenav {
  position: sticky;
  top: 90px;
}

.aip-sidenav .nav-link {
  color: var(--aip-ink);
  padding: .35rem 0 .35rem 1rem;
  border-left: 3px solid transparent;
}

.aip-sidenav .nav-link:hover, .aip-sidenav .nav-link.active {
  color: var(--aip-navy);
  border-left-color: var(--aip-gold);
  font-weight: 600;
}

/* Steps */

.aip-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.aip-steps > li {
  position: relative;
  padding: 0 0 1.75rem 3.75rem;
}

.aip-steps > li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: -.15rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--aip-navy);
  color: var(--aip-gold);
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aip-steps h3 {
  font-size: 1.2rem;
  margin-bottom: .35rem;
}

/* Info tiles */

.aip-tile {
  background: #fff;
  border-radius: .75rem;
  padding: 1.5rem;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
}

.aip-tile > i {
  font-size: 1.75rem;
  color: var(--aip-gold);
  display: block;
  margin-bottom: .5rem;
}

.aip-tile h3 {
  font-size: 1.15rem;
  color: var(--aip-navy);
}

.aip-price {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  color: var(--aip-navy);
  font-weight: 700;
  line-height: 1;
}

/* Tables */

.aip-table thead th {
  background: var(--aip-navy);
  color: #fff;
  font-weight: 600;
  border: 0;
  white-space: nowrap;
}

.aip-table [data-sort] {
  cursor: pointer;
  user-select: none;
}

.aip-table [data-sort]::after {
  content: ' \2195';
  opacity: .5;
  font-size: .8em;
}

.aip-table [aria-sort="ascending"]::after {
  content: ' \2191';
  opacity: 1;
}

.aip-table [aria-sort="descending"]::after {
  content: ' \2193';
  opacity: 1;
}

.aip-table td {
  vertical-align: middle;
}

.aip-site a {
  color: var(--aip-gold-dark);
  text-decoration: none;
  word-break: break-word;
}

.aip-site a:hover {
  text-decoration: underline;
}

.aip-booth {
  display: inline-block;
  min-width: 2.6rem;
  padding: .2rem .5rem;
  border-radius: .4rem;
  background: var(--aip-cream);
  color: var(--aip-navy);
  font-weight: 700;
  text-decoration: none;
}

.aip-booth:hover {
  background: var(--aip-gold);
}

/* Filter chips */

.aip-chip {
  border: 1px solid var(--aip-navy);
  color: var(--aip-navy);
  border-radius: 2rem;
  padding: .3rem .9rem;
}

.aip-chip:hover {
  background: var(--aip-cream);
}

.aip-chip.active {
  background: var(--aip-navy);
  color: var(--aip-gold);
}

/* Blog cards */

.aip-post .card-img-top {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Forms */

.form-control:focus, .form-select:focus {
  border-color: var(--aip-gold);
  box-shadow: 0 0 0 .2rem rgba(1,161,185,.25);
}

.aip-form-embed {
  width: 100%;
  min-height: 1400px;
  border: 0;
  background: #fff;
  border-radius: .75rem;
}

/* Social embed slots */

.aip-embed-slot {
  border: 2px dashed rgba(28,43,74,.25);
  border-radius: .75rem;
  padding: 2rem;
  text-align: center;
  background: #fff;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.aip-fb-wrap {
  max-width: 500px;
  margin: 0 auto;
}

.aip-fb-wrap iframe {
  width: 100%;
  height: 720px;
  border: 0;
  background: #fff;
  border-radius: .75rem;
}

/* Map figure */

.aip-map-img {
  border-radius: .75rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  background: var(--aip-cream);
  width: 100%;
}

/* Footer */

.aip-footer h2 {
  font-size: 1rem;
  color: #fff;
  letter-spacing: .05em;
  margin-bottom: .75rem;
}

.aip-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aip-footer li {
  margin-bottom: .35rem;
}

.aip-footer .aip-social {
  margin: 0 .75rem 0 0;
}

.aip-footer hr {
  border-color: rgba(255,255,255,.15);
}

/* Print: tidy for the artist info sheet */

/* Artist list: stacked rows on phones */

@media (max-width: 767.98px) {
  .aip-table-stack thead {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .aip-table-stack, .aip-table-stack tbody {
    display: block;
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .aip-table-stack tr {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: .75rem;
    row-gap: .15rem;
    padding: .9rem .25rem;
    border-bottom: 1px solid rgba(28,43,74,.12);
  }
}

@media (max-width: 767.98px) {
  .aip-table-stack td {
    display: block;
    border: 0;
    padding: 0;
    grid-column: 1;
  }
}

@media (max-width: 767.98px) {
  .aip-table-stack td:nth-child(2) {
    font-size: .9rem;
  }
}

@media (max-width: 767.98px) {
  .aip-table-stack td:nth-child(3) {
    font-size: .9rem;
  }
}

@media (max-width: 767.98px) {
  .aip-table-stack td:nth-child(4) {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
  }
}

/* Juicer social feed */

.aip-juicer {
  min-height: 400px;
}

.aip-juicer-frame {
  display: block;
  width: 100%;
  max-width: 1000px;
  height: 1000px;
  margin: 0 auto;
  border: 0;
}

/* =====================================================================
   Teal / purple theme adjustments (contrast-checked)
   ===================================================================== */

.aip-nav {
  background: var(--aip-teal-deep);
}

.aip-brand span {
  color: #c9f1f7;
}

.aip-nav .nav-link {
  color: rgba(255,255,255,.9);
}

.aip-nav .nav-link:hover, .aip-nav .nav-link.active, .aip-nav .dropdown-toggle.active {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--aip-teal-light);
  text-decoration-thickness: 2px;
  text-underline-offset: .4rem;
}

.aip-nav .dropdown-menu {
  border-top-color: var(--aip-purple);
}

.aip-nav .dropdown-item.active, .aip-nav .dropdown-item:active {
  background: var(--aip-purple);
  color: #fff;
}

.aip-nav .dropdown-item:hover, .aip-nav .dropdown-item:focus {
  background: var(--aip-cream);
  color: var(--aip-purple);
}

@media (max-width: 991.98px) {
  .aip-nav .dropdown-menu {
    background: #006a7a;
  }
}

@media (max-width: 991.98px) {
  .aip-nav .dropdown-item {
    color: rgba(255,255,255,.9);
  }
}

@media (max-width: 991.98px) {
  .aip-nav .dropdown-item:hover, .aip-nav .dropdown-item:focus {
    background: transparent;
    color: #fff;
  }
}

@media (max-width: 991.98px) {
  .aip-nav .dropdown-item.active {
    background: transparent;
    color: #fff;
    font-weight: 600;
  }
}

.aip-eyebrow {
  color: var(--aip-teal-light);
}

.aip-date-badge {
  border-color: var(--aip-teal-light);
}

.btn-aip-gold {
  color: var(--aip-on-teal);
}

.btn-aip-gold:hover {
  color: #fff;
}

.aip-glance {
  background: var(--aip-teal);
  color: var(--aip-on-teal);
}

.aip-navy {
  background: linear-gradient(120deg, var(--aip-purple) 0%, var(--aip-purple-dark) 100%);
}

.aip-navy .btn-aip-gold:hover {
  background: #fff;
  border-color: #fff;
  color: var(--aip-purple);
}

.aip-page-hero .breadcrumb a {
  color: #c9f1f7;
}

.aip-callout-navy a:not(.btn) {
  color: var(--aip-teal-light);
}

.aip-chip.active {
  color: #fff;
}

.aip-steps > li::before {
  color: #fff;
  background: var(--aip-purple);
  box-shadow: 0 0 0 3px var(--aip-teal);
}

.aip-booth:hover {
  background: var(--aip-teal);
  color: var(--aip-on-teal);
}

.aip-footer {
  background: var(--aip-purple-dark);
}

.aip-footer a {
  color: var(--aip-teal-light);
}

.aip-footer .aip-brand span, .aip-footer [style*="--aip-gold"] {
  color: var(--aip-teal-light) !important;
}

/* ===== FAQ EDIT MODE =====
   To edit FAQ answers in Bootstrap Studio: delete the two characters  /*  at the
   start of the next line. All answers open up on the canvas so you can edit them.
   When finished, put the  /*  back so the answers fold shut again. */

/* .aip-accordion .accordion-collapse { display: block !important; } */

