:root {
  --primary-color: #4a6741;
  --secondary-color: #d4a373;
  --accent-color: #bc6c25;
  --bg-warm: #fdf8f1;
  --bg-warm-muted: #f5ede2;
  --text-main: #283618;
  --heading-font: 'Lora', serif;
  --body-font: 'Lato', sans-serif;
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.4);
}

body {
  background-color: var(--bg-warm);
  color: var(--text-main);
  font-family: var(--body-font);
  line-height: 1.7;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.display-3, .display-5 {
  letter-spacing: -0.03em;
}

.bg-warm-light {
  background-color: #fdfaf6;
}

.bg-warm-muted {
  background-color: var(--bg-warm-muted);
}

/* Navbar Customization */

.navbar {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-link {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: var(--text-main) !important;
  margin: 0 10px;
}

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

/* Hero Section */

.hero-content-background {
  background: rgba(255, 255, 255, 0.45);
}

.hero-section {
  min-height: 90vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(253, 248, 241, 0.7), rgba(253, 248, 241, 0.9));
  z-index: 1;
}

.hero-logo {
  animation: fadeInDown 1s ease-out;
}

/* Buttons */

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 12px 30px;
  font-weight: 700;
}

.btn-primary:hover {
  background-color: #3a5233;
  border-color: #3a5233;
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 700;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Features/Participate */

.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.hover-up {
  transition: transform 0.3s ease, shadow 0.3s ease;
}

.hover-up:hover {
  transform: translateY(-10px);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.1) !important;
}

/* Pricing */

.pricing-card {
  transition: all 0.3s ease;
}

.pricing-card.featured {
  background-color: #fff;
  transform: scale(1.05);
  z-index: 1;
}

/* Attendee Logos Ticker */

.logo-ticker {
  overflow: hidden;
  padding: 20px 0;
  white-space: nowrap;
  position: relative;
}

.logo-ticker:before, .logo-ticker:after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
}

.logo-ticker:before {
  left: 0;
  background: linear-gradient(to right, var(--bg-warm-light) 0%, rgba(253, 250, 246, 0) 100%);
}

.logo-ticker:after {
  right: 0;
  background: linear-gradient(to left, var(--bg-warm-light) 0%, rgba(253, 250, 246, 0) 100%);
}

.logo-ticker-track {
  display: flex;
  width: max-content;
  animation: scroll 60s linear infinite;
}

.logo-ticker-track:hover {
  animation-play-state: paused;
}

.logo-item {
  flex: 0 0 auto;
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.attendee-logo {
  max-height: 50px;
  max-width: 150px;
  object-fit: contain;
  transition: all 0.4s ease;
  filter: none !important;
  -webkit-filter: grayscale(0) !important;
  opacity: 1 !important;
}

.logo-item:hover .attendee-logo {
  transform: scale(1.05);
  filter: none !important;
}

/* Ensure no parent containers are applying filters */

.logo-ticker, .logo-ticker-track, .logo-item {
  filter: none !important;
  -webkit-filter: none !important;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Custom Components */

.program-block {
  margin-bottom: 2rem;
}

.gallery-item {
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.testimonial-card {
  transition: box-shadow 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15) !important;
}

/* Utility */

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.accent-text {
  color: var(--accent-color);
}

.gold-text {
  color: var(--secondary-color);
}

.brightness-0 {
  filter: brightness(0);
}

.invert {
  filter: invert(1);
}

.tracking-wider {
  letter-spacing: 2px;
}

/* Responsive Adjustments */

@media (max-width: 991px) {
  .pricing-card.featured {
    transform: scale(1);
  }
}

@media (max-width: 991px) {
  .hero-section {
    min-height: auto;
  }
}

/* Animations */

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -20%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

