/* ============================================================
   SINGING SANDS HERITAGE FESTIVAL — style.css
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --color-primary: #B22C3A;
  /* golden amber */
  --color-secondary: #33363a;
  /* deep forest green */
  --color-accent: #F26B35;
  /* terracotta orange */
  --color-dark: #1a1a1a;
  --color-text: #64656e;
  --color-light: #f7f3ec;
  /* warm off-white */
  --color-white: #ffffff;
  --color-blue: #2b6899;
  --color-green: #4a8c5c;
  --color-orange: #d9763b;

  --font-heading: "Averia Libre", system-ui;
  --font-body: "Open Sans", sans-serif;
  --font-alt: "Open Sans", sans-serif;

  --transition: all 0.35s ease;
  --radius: 4px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-white);
  font-size: 16px;
  line-height: 1.7;
}



a {
  text-decoration: none;
  color: inherit;
}

a:hvoer {
  color: var(--color-primary);
}

a.link-underline {
  text-decoration: underline;
  --bs-link-color-rgb: currentColor;
}

.color-primary {
  color: var(--color-primary) !important;
}

.color-accent {
  color: var(--color-accent) !important;
}

.color-secondary {
  color: var(--color-secondary) !important;
}

a:hover,
a.color-secondary:hover {
  color: var(--color-primary) !important;
}

.color-dark {
  color: var(--color-dark) !important;
}

/* ---------- Typography Helpers ---------- */
.heading-font {
  font-family: var(--font-heading);
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: #28303F;
  line-height: 1;
  margin-bottom: 0.5rem;
  padding-left: 50px;
  transition: all 0.4s ease-in-out;
}

.section-eyebrow:hover {
  padding-left: 80px;
}

.section-eyebrow .straight-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 34px;
  height: 2px;
  z-index: 50;
  background: var(--color-primary);
  transform: scaleX(1);
  transform-origin: bottom left;
  transition: all 0.4s ease-in-out;
}

.straight-line-wrapper:hover {
  padding-left: 80px;
}

.section-eyebrow:hover .straight-line {
  transform: scaleX(2);
  transform-origin: bottom left;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 3.75rem);
  font-weight: 500;
  color: var(--color-dark);
  line-height: 1.2;
}

.section-title-xl {
  font-size: clamp(2.4rem, 4.5vw, 3.2rem);
}

.section-title-lg {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.625rem);
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.section-body-text {
  line-height: 1.8;
  margin-bottom: 1rem;
}

.rounded-subtle {
  border-radius: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  padding: .75rem 1.5rem;
  font-size: 15px;
  border-radius: 3px;
  line-height: .9375rem;
}

.btn:focus {
  box-shadow: none;
}

.btn-primary-ss {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary-ss:hover,
.btn-accent-ss:hover {
  background-color: #fff;
  color: var(--color-primary);
  border-color:var(--color-primary);
}

.btn-accent-ss {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.btn-outline-ss {
  display: inline-block;
  background-color: transparent;
  color: var(--color-dark);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.7rem 2rem;
  border-radius: 2px;
  border: 2px solid var(--color-dark);
  transition: var(--transition);
}

.btn-outline-ss:hover {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.btn-light-ss {
  display: inline-block;
  background-color: transparent;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.8rem 2.5rem;
  border-radius: 2px;
  border: 2px solid var(--color-white);
  transition: var(--transition);
}

.btn-light-ss:hover {
  background-color: var(--color-white);
  color: var(--color-dark);
}


/* ---------- Navigation ---------- */
#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: space-between;

  height: 88px;
  background: rgba(26, 20, 16, 0.0);
  border-bottom: 1px solid transparent;
  transition:
    top 0.42s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.38s ease,
    background 0.38s ease,
    border-color 0.38s ease;

}

@media(min-width:992px) {
  .navbar-expand-lg .navbar-nav {
    margin: 0 auto
  }

  .navbar .dropdown:hover>.dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
  }

  #mainNav {
    padding: 0 48px;
  }

  .navbar-expand-lg .offcanvas .offcanvas-body {
    justify-content: end;
  }
}

@media(max-width:991px) {
  .navbar-nav .dropdown-menu {
    position: relative !important;
    transform: translate(0, 0) !important;
  }
}

#mainNav.hidden {
  top: -100px;
}

#mainNav.scrolled {
  height: 58px;
  background: rgba(255, 255, 255, 0.60);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-logo-scrolled {
  width: 70px
}

.site-logo,
.site-header.scrolled .site-logo-scrolled {
  display: block;
}

.site-header.scrolled .site-logo,
.site-logo-scrolled {
  display: none;
}

#mainNav.scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
}

.nav-logo-icon {
  height: 48px;
  width: auto;
}

.nav-logo-text {
  height: 28px;
  width: auto;
}

.navbar-nav .nav-link {
  font-weight: 700;
  text-transform: uppercase;
  color: #303033 !important;
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--color-primary) !important;
}

.dropdown-menu {
  border: none;
  border-radius: 0;
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
  min-width: 180px;
}

.dropdown-item {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-dark);
  padding: 0.55rem 1.2rem;
  transition: var(--transition);
}

.dropdown-item:hover,
.dropdown-item:active {
  background-color: var(--color-primary);
  color: var(--color-white) !important;
}


/* ─── Row wrapper ─── */
.rows-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/*  swiper */
.swiper-pagination {
  position: relative !important;
  margin-top: 10px;
}

.swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
}

.swiper-pagination-bullet-active {
  background-color: var(--color-accent) !important;
}

/* ─── Lightbox ─── */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

#lightbox.active {
  display: flex;
}

.lb-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 94vw;
}

.lb-inner img {
  max-width: 88vw;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  border: 1px solid rgba(200, 169, 110, 0.2);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.75);
}

.lb-inner iframe {
  width: min(880px, 90vw);
  height: min(495px, 50.6vw);
  border: none;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.75);
}

.lb-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.65;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  transition: opacity 0.2s;
  line-height: 1;
}

.lb-close:hover {
  opacity: 1;
}

.lb-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
}

.lb-btn {
  background: transparent;
  border: 1px solid rgba(200, 169, 110, 0.4);
  color: var(--sand);
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 22px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.lb-btn:hover {
  background: var(--sand);
  color: var(--deep);
}

/* ─── Spacer ─── */
.spacer {
  height: 90px;
}

@media (max-width: 991px) {
  .spacer {
    height: 60px;
  }
}

@media (max-width: 767px) {
  .spacer {
    height: 48px;
  }

}

/* ─── Custom Typography ─── */
.fs-7 {
  font-size: 1.125rem;
}


/* ─── Responsive ─── */
@media (max-width: 768px) {
  .row-top .swiper-slide {
    height: 200px;
  }

  .row-bottom .swiper-slide {
    height: 150px;
  }

  .swiper-slide img {
    min-width: 180px;
    max-width: 320px;
  }

  .swiper-fade-left,
  .swiper-fade-right {
    width: 50px;
  }
}



/* ---------- Footer ---------- */
.site-footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 60px 0 0;
}


.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
}

.footer-social-link img {
  width: 32px;
  height: 32px;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-social-link:hover img {
  opacity: 1;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 13px;
  color: #838490;
}

.festival-office {
  margin-top: 30px;
}

.call {
  font-size: 20px;
}

.footer-list a {
  color: #fff;
  transition: var(--transition);
}

.address {
  color: #838490;
  font-size: 15px;
}

.footer-list a:hover {
  color: var(--color-primary);
}

.footer-address {
  font-size: 0.88rem;
  color: #888;
  line-height: 1.6;
  margin: 0;
}

.footer-partner-logo {
  max-height: 36px;
  width: auto;
  opacity: 0.9;
  transition: var(--transition);
}

.footer-partner-logo:hover {
  opacity: 1;
}

.supporter-logo {
  max-height: 36px;
  width: auto;
  opacity: 0.75;
  transition: var(--transition);
  filter: brightness(1.4);
}

.supporter-logo:hover {
  opacity: 1;
}

.featured-logo {
  max-height: 28px;
  width: auto;
  opacity: 0.7;
  transition: var(--transition);
  filter: brightness(1.5);
}

.featured-logo:hover {
  opacity: 1;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding: 1.2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: #838490;
}

.footer-bottom p {
  font-size: 0.78rem;

  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.78rem;
  color: #838490;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-social-link {
  background-color: var(--color-accent);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social-link svg {
  fill: #fff
}

.footer-social-link:hover {
  background-color: var(--color-primary);
}

/* ---------- Scroll Animations ---------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Offcanvas Navigation ---------- */
.offcanvas {
  height: 100vh !important;
  max-height: 100vh !important;
}

.offcanvas-body {
  overflow-y: auto;
}

/* ---------- AOS Animations ---------- */
.aos-animate {
  transition-property: opacity, transform;
}