/* ====================================
   CLARITY - CUSTOM STYLES
   Organized and optimized CSS for index.blade.php and qr.blade.php
   ==================================== */

/* ====================================
   1. CSS VARIABLES
   ==================================== */
:root {
  --clc-primary: #0d6efd;
  --clc-dark: #0f1217;
  --clc-white: #ffffff;
  --clc-white-15: rgba(255, 255, 255, 0.15);
  --clc-font-display: "Funnel Display", sans-serif;
  --clc-font-body: "Nunito", sans-serif;
}

/* ====================================
   2. GLOBAL STYLES
   ==================================== */
body {
  font-family: var(--clc-font-body);
  background-color: #252838;
  color: var(--clc-white);
}

h1, h2, h3, h4, h5, h6,
.clc-title,
.clc-title-xl {
  font-family: var(--clc-font-display);
}

html {
  scroll-behavior: smooth;
}

::selection {
  background-color: var(--clc-primary);
  color: var(--clc-white);
}

::-moz-selection {
  background-color: var(--clc-primary);
  color: var(--clc-white);
}

main {
  max-width: 420px;
  margin: auto;
}

/* ====================================
   3. TYPOGRAPHY
   ==================================== */
.clc-title {
  font-family: var(--clc-font-display);
  text-transform: none;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 3vw;
  font-weight: 400;
  line-height: 1.1em;
  display: inline-block;
}

.clc-title-xl {
  font-family: var(--clc-font-display);
  text-transform: uppercase;
  font-size: 9vw;
  line-height: 0.87em;
  font-weight: 400;
  letter-spacing: -5px !important;
}

.clc-text {
  font-family: var(--clc-font-body);
  font-size: 1.3vw;
  font-weight: 400;
  line-height: 1.5em;
  color: var(--clc-white);
}

.clc-text-small {
  font-family: var(--clc-font-body);
  font-size: 1vw;
  font-weight: 300;
  line-height: 1.4em;
}

.clc-text-display {
  font-family: var(--clc-font-display);
  font-size: 2vw;
  font-weight: 400;
  line-height: 1.3em;
  margin-bottom: 0;
}

.clc-image-card.text-block .clc-text {
  font-size: 1.2vw;
  font-weight: 400;
  line-height: 1.6em;
  letter-spacing: 0.02em;
}

/* Typography - Mobile (QR) */
.clc-title span:first-child {
  font-size: 12px;
  letter-spacing: 3px !important;
}

.clc-title br {
  display: none;
}

h2.h2 {
  font-size: 1.6rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -1px;
}

/* ====================================
   4. HEADER
   ==================================== */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

.logohover {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 5px;
}

.logohover li {
  position: relative;
  overflow: hidden;
}

.logohover li:first-child img {
  height: 40px;
}

.logohover li:last-child img {
  height: 20px;
}

/* ====================================
   5. HERO SECTION - DESKTOP (INDEX)
   ==================================== */
.clc-hero-section {
  text-align: center;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  padding-top: 6vw;
  padding-bottom: 6vw;
  display: flex;
  position: relative;
  overflow: hidden;
}

.clc-heading-container {
  grid-column-gap: 3vw;
  grid-row-gap: 3vw;
  filter: drop-shadow(0px 0px 80px var(--clc-dark));
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  display: flex;
  z-index: 10;
  position: relative;
}

.floating-care {
  position: absolute;
  top: 20px;
  left: 0;
  color: white;
  font-weight: 100;
  font-size: 1.2vw;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: initial;
}

.clc-arrow-right {
  width: 116px;
}

/* ====================================
   6. HERO SECTION - MOBILE (QR)
   ==================================== */
video {
  background-color: #000;
  height: auto;
  left: 50%;
  min-height: 100%;
  min-width: 100%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: -3;
  background-size: cover;
  width: 253%;
}

.hero--qr {
  height: 60vh;
  width: calc(100% - 20px);
  margin: 80px auto 0;
  border-radius: 4px;
  display: flex;
  align-items: flex-end;
  padding: 34px 20px;
}

.hero--qr h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin: 0;
}

/* ====================================
   7. GALLERY / IMAGE CLOUD EFFECT
   ==================================== */
.clc-gallery-wrap {
  pointer-events: none;
  width: 100%;
  height: 150vh;
  position: absolute;
  top: 0;
  left: 0;
  overflow: clip;
}

.clc-gallery-rows {
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
}

.clc-gallery-rows.back {
  z-index: 1;
}

.clc-gallery-rows.back .clc-image-card {
  opacity: 0.85;
}

.clc-gallery-rows.front .clc-image-card {
  opacity: 1;
}

.clc-gallery-rows.front {
  grid-column-gap: 42vw;
  grid-row-gap: 42vw;
}

.clc-gallery-column {
  box-sizing: content-box;
  flex-flow: column;
  justify-content: flex-start;
  align-items: stretch;
  width: 14vw;
  display: flex;
  position: relative;
  will-change: transform;
}

.clc-image-card {
  aspect-ratio: 1;
  width: 100%;
  margin-bottom: 14vw;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  opacity: 1;
}

.clc-image-card img {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.clc-image-card.text-block {
  text-align: left;
  justify-content: center;
  align-items: center;
  width: 100%;
  display: flex;
}

.clc-image-card.offset-large {
  margin-left: -4vw;
  margin-right: 4vw;
}

.clc-image-card.offset-small {
  margin-left: -2vw;
  margin-right: 2vw;
}

.clc-gradient-overlay {
  background-image: linear-gradient(0deg, var(--clc-dark), rgba(15, 18, 23, 0));
  opacity: 1;
  width: 100%;
  height: 50vh;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 5;
}

/* ====================================
   8. CONTAINER & SECTION LAYOUT
   ==================================== */
.container-fluid {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  width: calc(100% - 12vw);
  padding-right: calc(var(--bs-gutter-x) * .5);
  padding-left: calc(var(--bs-gutter-x) * .5);
  margin-right: auto;
  margin-left: auto;
}

.clc-container-custom {
  width: 100%;
  padding-left: 6vw;
  padding-right: 6vw;
  position: relative;
}

.clc-section {
  width: 100vw;
  padding-top: 6vw;
  padding-bottom: 6vw;
  position: relative;
  color: var(--clc-white);
}

.section-mod {
  padding-top: 6vw;
  padding-bottom: 6vw;
}

.section-mod h2 {
  font-family: var(--clc-font-display);
  font-size: 3vw;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: white;
}

/* Mobile Overrides */
.clc-section {
  padding: 0 20px;
}

.clc-section,
.clc-stay-close-section {
  max-width: 100%;
}

.text-xs-left {
  text-align: left !important;
}

/* ====================================
   9. NEXT EVENTS SECTION - DESKTOP
   ==================================== */
.sticky-div h2 {
  font-family: var(--clc-font-display);
  font-size: 3vw;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: white;
}

.sticky-div p {
  font-family: var(--clc-font-body);
  font-size: 1.2vw;
  font-weight: 300;
  line-height: 1.6em;
  color: rgba(255,255,255,0.8);
}

.next--events--carousel {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 3vw;
}

.next--events--carousel li {
  position: relative;
  height: 80vh;
}

.next--events--carousel li a {
  text-decoration: none;
  display: block;
}

.next--events--carousel li a:hover div.nec--info img {
  transform: rotate(0deg);
}

.next--events--carousel p {
  font-size: 1.5rem;
  margin: 0;
  line-height: 1;
  color: white;
}

.nec--info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  padding: 0px 5px;
}

.clc-arrow-right2 {
  width: 20px;
  transform: rotate(-45deg);
  transition: transform 0.3s ease;
}

.parallax {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  filter: blur(4px);
  opacity: 0.5;
  transition: filter 0.6s ease, opacity 0.6s ease;
}

.parallax.in-view {
  filter: blur(0px);
  opacity: 1;
}

.parallax img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ====================================
   10. EVENTS SECTION - MOBILE (QR)
   ==================================== */
.events-section-professional {
  padding: 60px 0px;
}

.events-header {
  margin-bottom: 32px;
}

.events-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: -0.5px;
}

.events-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.event-card-app a {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  text-decoration: none;
  color: inherit;
  align-items: center;
}

.event-image-app {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 1;
  width: 180px;
  height: 104px;
}

.event-image-app img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-card-app:active .event-image-app img {
  transform: scale(0.98);
}

.event-content-app {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.event-location-app {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: -0.5px;
  line-height: 1.5;
}

.event-date-app {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: #6B7280;
  font-weight: 500;
}

.event-date-app svg {
  width: 14px;
  height: 14px;
  color: #9CA3AF;
}

.event-register-btn-app {
  background: #464B5D;
  border-radius: 30px;
  padding: 8px 20px;
  color: white;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  align-self: flex-start;
  transition: all 0.2s ease;
  margin-top: 4px;
  -webkit-tap-highlight-color: transparent;
}

.event-register-btn-app:active {
  background: #353A4A;
  transform: scale(0.98);
}

.event-register-btn-app img {
  width: 14px;
  height: 14px;
}

.event-card-app:not(:last-child) {
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

/* ====================================
   11. RESOURCES / BOOKS SECTION
   ==================================== */
.list--books {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.list--books li {
  width: calc(33.33% - 20px);
}

body .list--books li {
  width: 100%;
}

.list--books li a {
  text-decoration: none;
  display: block;
}

.list--books li img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.list--books li p {
  font-size: 18px;
  color: white;
  font-family: var(--clc-font-body);
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Roll Up Effect (Desktop) */
.roll-up-effect {
  height: 20px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid white;
  display: inline-flex;
}

.roll-up-effect small {
  display: block;
  font-size: 16px;
  color: white;
  font-family: var(--clc-font-body);
  letter-spacing: 0.1em;
  transition: transform 0.4s ease;
}

.roll-up-effect small:first-child {
  transform: translateY(0);
}

.roll-up-effect small:last-child {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(100%);
}

.list--books li a:hover .roll-up-effect small:first-child {
  transform: translateY(-100%);
}

.list--books li a:hover .roll-up-effect small:last-child {
  transform: translateY(0);
}

/* Download Button (Mobile QR) */
.download-btn {
  background: #464B5D;
  border-radius: 30px;
  padding: 5px 15px;
  color: white;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 14px;
  display: inline-block;
  overflow: hidden;
  position: relative;
  height: 40px;
  line-height: 20px;
  -webkit-tap-highlight-color: transparent;
}

.download-btn-wrapper {
  display: inline-block;
  transition: transform 0.3s ease;
}

.download-btn:active .download-btn-wrapper {
  transform: translateY(-50%);
}

.download-btn small {
  display: block;
  height: 30px;
  line-height: 30px;
}

/* ====================================
   12. CTA BANNER - MOBILE (QR)
   ==================================== */
.cta-banner-professional {
  background: linear-gradient(135deg, #464B5D 0%, #5A5F73 100%);
  padding: 24px 20px;
  margin: 10px 10px;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.cta-banner-professional::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.cta-banner-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.cta-banner-text {
  text-align: center;
}

.cta-banner-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  display: block;
}

.cta-banner-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.4;
}

.cta-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-primary-btn {
  background: #fff;
  color: #464B5D;
  padding: 14px 24px;
  border-radius: 50px;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: block;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.cta-primary-btn:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cta-social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cta-social-links li a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-tap-highlight-color: transparent;
}

.cta-social-links li a:active {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(0.95);
}

/* ====================================
   13. STAY CLOSE / INSTAGRAM SECTION
   ==================================== */
.clc-stay-close-section {
  position: relative;
  width: 100vw;
  height: 120vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

body .clc-stay-close-section {
  height: 50vh;
  min-height: 100px;
}

.clc-instagram-collage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 0;
  z-index: 1;
}

.clc-insta-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.clc-insta-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.7);
}

.clc-stay-close-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #252838 0%, rgba(37, 40, 56, 0.8) 20%, rgba(37, 40, 56, 0.6) 40%, rgba(37, 40, 56, 0.6) 60%, rgba(37, 40, 56, 0.8) 80%, #252838 100%);
  z-index: 2;
  pointer-events: none;
}

.clc-stay-close-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4vw;
  width: 100%;
}

.clc-rotating-text-wrapper {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  position: relative;
}

.clc-rotating-text {
  display: inline-flex;
  align-items: center;
  gap: 3vw;
  font-family: var(--clc-font-display);
  font-size: 8vw;
  font-weight: 500;
  text-transform: uppercase;
  color: white;
  margin: 0;
  white-space: nowrap;
  will-change: transform;
}

.clc-rotate-item {
  display: inline-block;
  white-space: nowrap;
}

.clc-arrow-right3 {
  width: 116px;
}

.clc-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  background-color: white;
  color: #252838;
  font-family: var(--clc-font-display);
  font-size: 2.5vw;
  font-weight: 600;
  text-transform: uppercase;
  padding: 1.5vw 3vw;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.4s ease;
  letter-spacing: 0.05em;
}

.clc-follow-btn:hover {
  background-color: #f0f0f0;
  color: #252838;
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.clc-instagram-icon {
  width: 2.5vw;
  height: 2.5vw;
  flex-shrink: 0;
}

.clc-instagram-icon rect,
.clc-instagram-icon circle {
  stroke: #252838;
}

.clc-instagram-icon circle:last-child {
  fill: #252838;
}

/* ====================================
   14. CONTACT SECTION
   ==================================== */
.clc-contact-title {
  position: relative;
  font-size: 2.5rem !important;
  line-height: 1;
  letter-spacing: 0px !important;
}

.clc-contact-title span.one {
  position: relative;
  right: -160px;
}

.clc-contact-title span.two {
  position: relative;
  right: 140px;
}

/* Mobile override */
.clc-contact-title {
  font-size: 2.5rem !important;
}

.clc-contact-title span.one {
  position: relative;
  right: 0px;
}

.clc-contact-title span.two {
  position: relative;
  right: 0px;
}

.clc-contact-left {
  position: relative;
}

.clc-contact-intro-text {
  max-width: 80%;
}

.clc-contact-intro-text .clc-text {
  font-size: 1.3vw;
  line-height: 1.5em;
}

.clc-contact-form {
  width: 100%;
}

.clc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
  background-color: rgba(44, 50, 65, 0.3);
}

body .clc-form-grid {
  grid-template-columns: 1fr;
  gap: 0;
}

.clc-form-cell {
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.clc-form-cell:nth-child(2n) {
  border-right: none;
}

.clc-form-cell-full {
  grid-column: 1 / -1;
  border-right: none;
  border-bottom: none;
  height: 200px;
}

.clc-form-input {
  background-color: transparent;
  border: none;
  color: var(--clc-white);
  font-family: var(--clc-font-body);
  font-size: 1vw;
  padding: 2rem 1.5rem;
  width: 100%;
  transition: background-color 0.3s ease;
}

.clc-form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.clc-form-input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.05);
}

.clc-form-textarea {
  resize: none;
  min-height: 200px;
  font-family: var(--clc-font-body);
}

.clc-form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.clc-link {
  border: 0px;
  border-bottom: 1px solid var(--clc-white);
  color: var(--clc-white);
  cursor: pointer;
  background-color: transparent;
  height: 2.5vw;
  padding: 0.5vw 0 0;
  font-size: 1vw;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
  font-family: var(--clc-font-body);
}

.clc-link:hover {
  padding-top: 0;
  color: var(--clc-white);
}

.clc-submit-btn {
  display: inline-block;
  margin-top: 1rem;
}

.clc-form-success,
.clc-form-error {
  margin-top: 2rem;
  padding: 2rem;
  border-radius: 8px;
}

.clc-form-success {
  background-color: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.clc-form-error {
  background-color: rgba(244, 67, 54, 0.1);
  border: 1px solid rgba(244, 67, 54, 0.3);
}

/* ====================================
   15. FOOTER
   ==================================== */
.clc-footer {
  width: 100vw;
  padding: 4vw 0;
}

body .clc-footer .col-md-6.text-md-end {
  text-align: left !important;
}

.clc-footer-logo img {
  max-width: 150px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.clc-footer-logo:hover img {
  opacity: 1;
}

.clc-footer-text {
  font-family: var(--clc-font-body);
  font-size: 0.9vw;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.clc-footer-divider {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 0.5rem;
}

.clc-heart-icon {
  display: inline-block;
  animation: heartbeat 1.5s ease-in-out infinite;
  transform-origin: center;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.2);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.2);
  }
  56% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}

.clc-footer-link {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  font-size: inherit;
  font-family: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  padding-bottom: 0;
  display: inline;
}

.clc-footer-link:hover {
  color: white;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

/* ====================================
   16. ANIMATIONS
   ==================================== */

/* Gallery scroll animation */
@keyframes clc-scroll-up {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(0, -50%, 0);
  }
}

.clc-gallery-rows.front .clc-gallery-column:nth-child(1) {
  animation: clc-scroll-up 40s linear infinite;
}

.clc-gallery-rows.front .clc-gallery-column:nth-child(2) {
  animation: clc-scroll-up 50s linear infinite;
}

.clc-gallery-rows.back .clc-gallery-column:nth-child(1) {
  animation: clc-scroll-up 60s linear infinite;
}

/* Fade up effect (GSAP controlled) */
.clc-fade-up {
  /* GSAP handles the animation */
}

.clc-animate-fade-in {
  /* GSAP handles the animation */
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .clc-gallery-column {
    animation: none !important;
    transform: none !important;
  }

  .clc-animate-fade-in {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ====================================
   17. UTILITY CLASSES
   ==================================== */
.clc-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1;
}

.clc-cover.tone-down {
  filter: saturate(70%) brightness(0.9);
  opacity: 0.9;
}

.mb-40 {
  margin-bottom: 40px;
}

.mobile-on {
  display: none;
}

/* ====================================
   18. QR PAGE - FORCE MOBILE VIEW
   Force mobile view on all screen sizes for QR page
   ==================================== */

/* Detect QR page by checking for hero--qr or events-section-professional */
body:has(.hero--qr),
body:has(.events-section-professional) {
  /* Force mobile viewport behavior */
  overflow-x: hidden;
}

/* Container wrapper to simulate mobile screen */
body:has(.hero--qr) main,
body:has(.events-section-professional) main {
  max-width: 100%;
  margin: 0 auto;
  background-color: #252838;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Force all sections to behave like mobile */
body:has(.hero--qr) .container-fluid,
body:has(.events-section-professional) .container-fluid {
  width: 100% !important;
  padding: 0 20px !important;
  max-width: none !important;
}

body:has(.hero--qr) .clc-section,
body:has(.events-section-professional) .clc-section {
  padding: 0 20px !important;
  max-width: 100% !important;
}

/* Force mobile typography */
body:has(.hero--qr) h2.h2,
body:has(.events-section-professional) h2.h2 {
  font-size: 1.6rem !important;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -1px;
}

body:has(.hero--qr) .clc-title span:first-child,
body:has(.events-section-professional) .clc-title span:first-child {
  font-size: 12px !important;
  letter-spacing: 3px !important;
}

body:has(.hero--qr) .clc-title br,
body:has(.events-section-professional) .clc-title br {
  display: none;
}

/* Force mobile contact styles */
body:has(.hero--qr) .clc-contact-title,
body:has(.events-section-professional) .clc-contact-title {
  font-size: 2.5rem !important;
  line-height: 1 !important;
  letter-spacing: 0px !important;
}

body:has(.hero--qr) .clc-contact-title span.one,
body:has(.events-section-professional) .clc-contact-title span.one {
  position: relative;
  right: 0px !important;
}

body:has(.hero--qr) .clc-contact-title span.two,
body:has(.events-section-professional) .clc-contact-title span.two {
  position: relative;
  right: 0px !important;
}

/* Force mobile form grid */
body:has(.hero--qr) .clc-form-grid,
body:has(.events-section-professional) .clc-form-grid {
  grid-template-columns: 1fr !important;
  gap: 0 !important;
}

/* Force mobile footer */
body:has(.hero--qr) .clc-footer .col-md-6.text-md-end,
body:has(.events-section-professional) .clc-footer .col-md-6.text-md-end {
  text-align: left !important;
}

/* Force mobile header logo */
body:has(.hero--qr) .logohover li:first-child img,
body:has(.events-section-professional) .logohover li:first-child img {
  height: 40px;
}

body:has(.hero--qr) .logohover li:last-child img,
body:has(.events-section-professional) .logohover li:last-child img {
  height: 20px;
}

/* Force mobile resources */
body:has(.hero--qr) .list--books li,
body:has(.events-section-professional) .list--books li {
  width: 100% !important;
}

/* Force mobile stay close */
body:has(.hero--qr) .clc-stay-close-section,
body:has(.events-section-professional) .clc-stay-close-section {
  height: 50vh !important;
  min-height: 100px;
}

/* Show mobile-only elements */
body:has(.hero--qr) .mobile-on,
body:has(.events-section-professional) .mobile-on {
  display: block !important;
}

/* Hide desktop-only elements */
body:has(.hero--qr) .mobile-off,
body:has(.events-section-professional) .mobile-off {
  display: none !important;
}

/* Force text alignment */
body:has(.hero--qr) .text-xs-left,
body:has(.events-section-professional) .text-xs-left {
  text-align: left !important;
}

/* Ensure main container uses mobile layout */
body:has(.hero--qr) main,
body:has(.events-section-professional) main {
  max-width: 420px !important;
  margin: auto !important;
}

/* ====================================
   19. EVENT DETAIL PAGE STYLES
   Individual event pages (Nashville, Salt Lake, etc.)
   ==================================== */

/* Force mobile view for event pages */
body:has(.event-hero-section) {
  overflow-x: hidden;
}

body:has(.event-hero-section) main {
  max-width: 420px !important;
  margin: 0 auto !important;
  background-color: #252838;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Event Hero Section */
.event-hero-section {
  position: relative;
  width: 100%;
    height: 25vh;
    min-height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 40px 20px;
  margin-top: 80px;
  overflow: hidden;
}

.event-hero-title {
  font-family: var(--clc-font-display);
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -1px;
}

/* Event Info Section */
.event-info-section {
  padding: 40px 20px;
  background-color: #252838;
}

.event-info-container {
  width: 100%;
}

.event-location-title {
  font-family: var(--clc-font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: white;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.mb-20 {
  margin-bottom: 20px !important;
}

.mb-40 {
  margin-bottom: 40px !important;
}

.event-details {
  margin-bottom: 25px;
}

.event-venue {
  font-family: var(--clc-font-body);
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
  margin: 0;
}

.event-description {
  margin-bottom: 30px;
}

.event-description p {
  font-family: var(--clc-font-body);
  font-size: 18px;
  font-weight: 400;
  color: white;
  line-height: 1.5;
  margin: 0;
}

.event-register-btn {
  display: inline-block;
  background: #464B5D;
  color: white;
  padding: 8px 20px;
  border-radius: 30px;
  text-transform: uppercase;
  text-decoration: none;
  font-family: var(--clc-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.event-register-btn:hover {
  background: #353A4A;
  color: white;
}

.event-register-btn:active {
  background: #353A4A;
  transform: scale(0.98);
  color: white;
}

/* Schedule Section */
.event-schedule-section {
  padding: 40px 20px;
  background-color: #252838;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-title {
  font-family: var(--clc-font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: white;
  margin: 0 0 25px 0;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.schedule-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-time {
  font-family: var(--clc-font-body);
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  min-width: 80px;
}

.schedule-activity {
  font-family: var(--clc-font-body);
  font-size: 16px;
  font-weight: 400;
  color: white;
  flex: 1;
  text-align: right;
}

/* Speakers Section */
.event-speakers-section {
  padding: 40px 20px 60px;
  background-color: #252838;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.speakers-section-title {
  font-family: var(--clc-font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: white;
  margin: 0 0 30px 0;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.speaker-card {
  margin-bottom: 80px;
}

.speaker-card:last-of-type {
  margin-bottom: 30px;
}

.speaker-image {
  margin-bottom: 20px; 
}

.speaker-image img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.2);
}
 

.speaker-name-full {
  font-family: var(--clc-font-display);
  font-size: 22px;
  font-weight: 700;
  color: white;
  margin: 0 0 8px 0;
}

.speaker-title {
  font-family: var(--clc-font-body);
  font-size: 16px;
  font-weight: 500;
  color: #6B7280;
  margin: 0 0 15px 0;
  line-height: 1.4;
}

.speaker-bio {
  font-family: var(--clc-font-body);
  font-size: 18px;
  font-weight: 400;
  color: white;
  line-height: 1.5;
  margin: 0;
  text-align: left;
}

/* ====================================
   20. BOTTOM NAVIGATION MENU (APP STYLE)
   Mobile navigation bar with smooth animations
   ==================================== */

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(37, 40, 56, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 420px;
  margin: 0 auto;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.bottom-nav.visible {
  transform: translateY(0);
}

.bottom-nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 12px 20px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  padding: 8px 20px;
  border-radius: 12px;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

.bottom-nav-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bottom-nav-item:active::before {
  opacity: 1;
}

.bottom-nav-item.active {
  color: white;
}

.bottom-nav-item.active .bottom-nav-icon {
  transform: scale(1.1);
}

.bottom-nav-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.bottom-nav-label {
  font-family: var(--clc-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* Force bottom nav on mobile view for all pages */
body:has(.hero--qr) .bottom-nav,
body:has(.events-section-professional) .bottom-nav,
body:has(.event-hero-section) .bottom-nav {
  display: block;
}

/* Add padding to body to prevent content from being hidden behind nav */
body:has(.bottom-nav) main {
  padding-bottom: 80px;
}

/* Smooth scroll behavior for anchor links */
html {
  scroll-behavior: smooth;
}
