:root {
  /* Wilddale Design System Colors */
  --header-bg: hsl(0 0% 15%);
  --gold-accent: hsl(38 45% 60%);
  --text-dark: hsl(0 0% 20%);
  --text-light: hsl(0 0% 95%);

  /* Primary Brand Colors from Wilddale */
  --color-brand: #885635; /* Dark Warm Brown */
  --color-brand-medium: #b07c50; /* Medium Warm Brown */
  --color-brand-light: #d8a476; /* Light Warm Brown / Sunset */
  --color-bg-dark: #2e2e35;
  --color-white: #ffffff;
  --color-charcoal: hsl(0 0% 17%);
  --color-sand: hsl(40 43% 85%);
  --color-cream: hsl(40 50% 96%);

  /* Fonts */
  --font-primary: "Quicksand", sans-serif;
  --font-secondary: "Montserrat", sans-serif;
  --font-serif: "Cormorant Garamond", serif;

  /* Spacing */
  --container-width: 1200px;
  --header-height: 80px;
  --radius: 50px;
}

/* Base Styles */
body {
  font-family: var(--font-primary);
  color: var(--color-charcoal);
  line-height: 1.7;
  margin: 0;
  padding: 0;
  background-color: var(--color-white);
  font-weight: 500;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--color-bg-dark);
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem,    5vw,   3.5rem); line-height: 1.1; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); line-height: 1.2; }
h3 { font-size: clamp(1.4rem,  2.5vw, 2rem);   line-height: 1.3; }
h4 { font-size: clamp(1.15rem, 2vw,   1.5rem); line-height: 1.4; }
h5 { font-size: clamp(1rem,    1.5vw, 1.2rem); line-height: 1.4; }
h6 { font-size: clamp(0.95rem, 1.2vw, 1rem);   line-height: 1.5; }

p {
  font-family: var(--font-primary);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  font-weight: 500;
  line-height: 1.75;
  color: var(--color-charcoal);
  margin-bottom: 1rem;
}

/* Beat Bootstrap's default specificity */
body h1, body h2, body h3, body h4, body h5, body h6 {
  font-family: var(--font-primary);
}
body p {
  font-family: var(--font-primary);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.75;
}

a {
  transition: color 0.3s ease;
  text-decoration: none;
}

a:hover {
  color: var(--color-brand);
  text-decoration: none;
}

/* Text Utilities */
.text-brand {
  color: var(--color-brand);
}

.text-brand-gradient {
  background: linear-gradient(
    135deg,
    var(--color-brand) 0%,
    var(--color-brand-medium) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-gold {
  background: linear-gradient(135deg, hsl(41 50% 61%) 0%, hsl(40 43% 85%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Layout */
.container-custom {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.section-padding {
  padding: 5rem 0;
}

/* Wilddale Heading Styles */
.wilddale-heading {
  font-size: clamp(2.5rem, 5vw, 5.625rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-charcoal);
  font-family: var(--font-primary);
}

.wilddale-heading span {
  color: var(--color-brand-medium);
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-medium) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wilddale-text {
  line-height: 1.625;
  color: var(--color-charcoal);
  font-weight: 500;
  font-family: var(--font-primary);
}

.wilddale-badge {
  border-left: 4px solid var(--color-brand-medium);
  padding-left: 1.25rem;
  margin-bottom: 1rem;
  font-family: var(--font-primary);
}

/* Button Styles */
.btn-wilddale,
.btn4 {
  padding: 15px 30px;
  border-radius: 50px;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-medium) 100%);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-white);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(136, 86, 53, 0.3);
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.btn-wilddale:hover,
.btn4:hover {
  background: linear-gradient(
    135deg,
    var(--color-brand-medium) 0%,
    var(--color-brand-light) 100%
  );
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(136, 86, 53, 0.4);
  color: var(--color-white);
}

.btn5 {
  padding: 15px 30px;
  border-radius: 50px;
  background: transparent;
  border: 2px solid var(--color-brand-medium);
  color: var(--color-brand-medium);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.btn5:hover {
  background: var(--color-brand-medium);
  color: var(--color-white);
  border-color: var(--color-brand-medium);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(136, 86, 53, 0.4);
}

.btn-wilddale-outline {
  padding: 15px 30px;
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.btn-wilddale-outline:hover {
  background: var(--color-brand-medium);
  border-color: var(--color-brand-medium);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(136, 86, 53, 0.4);
}

.btn-wilddale-secondary {
  padding: 15px 30px;
  border-radius: 50px;
  background: transparent;
  border: 2px solid var(--color-charcoal);
  color: var(--color-charcoal);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.btn-wilddale-secondary:hover {
  background: var(--color-brand-medium);
  border-color: var(--color-brand-medium);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(136, 86, 53, 0.4);
}

/* Card Styles */
.camp-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.camp-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.camp-card-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.camp-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease-out;
}

.camp-card:hover .camp-card-image img {
  transform: scale(1.1);
}

.camp-card-title {
  color: var(--color-charcoal);
  font-weight: 700;
  font-size: 1.5rem;
  font-family: var(--font-primary);
}

.blog-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card {
  background: white;
  color: var(--color-charcoal);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-quote {
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.7;
}

.testimonial-author {
  color: var(--color-charcoal);
  margin-top: 1rem;
  font-weight: 600;
}

/* Hero Section Styles */
.hero-rich-text h1,
.hero-rich-text h2,
.hero-rich-text p {
  text-shadow:
    0 4px 20px rgba(0, 0, 0, 0.5),
    0 2px 10px rgba(0, 0, 0, 0.3);
  margin: 0;
  line-height: 1.1;
}

.hero-rich-text strong,
.hero-rich-text em {
  color: var(--color-brand-light);
  font-style: normal;
  font-weight: inherit;
  background: linear-gradient(
    135deg,
    var(--color-brand-light) 0%,
    #fff 50%,
    var(--color-brand-light) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

/* Animations */
@keyframes shimmer {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

@keyframes ken-burns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

@keyframes grain {
  0%,
  100% {
    transform: translate(0, 0);
  }
  10% {
    transform: translate(-5%, -10%);
  }
  20% {
    transform: translate(-15%, 5%);
  }
  30% {
    transform: translate(7%, -25%);
  }
  40% {
    transform: translate(-5%, 25%);
  }
  50% {
    transform: translate(-15%, 10%);
  }
  60% {
    transform: translate(15%, 0%);
  }
  70% {
    transform: translate(0%, 15%);
  }
  80% {
    transform: translate(3%, 35%);
  }
  90% {
    transform: translate(-10%, 10%);
  }
}

@keyframes hover-scale {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-up {
  animation: slideUp 0.6s ease-out forwards;
}

.animate-scale-in {
  animation: scaleIn 0.5s ease-out forwards;
}

.animate-ken-burns {
  animation: ken-burns 20s ease-out infinite alternate;
}

.animate-grain {
  animation: grain 8s steps(10) infinite;
}

.hover-scale:hover {
  animation: hover-scale 0.3s ease forwards;
}

/* Image Effects */
.image-zoom-hover {
  overflow: hidden;
}

.image-zoom-hover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease-out;
}

.image-zoom-hover:hover img {
  transform: scale(1.1);
}

/* Decorative Elements */
.divider-safari {
  position: relative;
  padding: 2rem 0;
}

.divider-safari::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 6rem;
  height: 2px;
  background: var(--color-brand-medium);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection */
::selection {
  background-color: var(--color-brand-light);
  color: var(--color-bg-dark);
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.5rem;
  }
  h4 {
    font-size: 1.25rem;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
}

/* Sidebar styling override for Bootstrap Wells */
.well {
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 25px;
    margin-bottom: 30px;
}

.well h4 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--color-bg-dark);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--color-brand);
    display: inline-block;
    padding-bottom: 5px;
}

.well .input-group .form-control {
    border-radius: 50px 0 0 50px;
    border: 1px solid #eee;
    box-shadow: none;
    height: 45px;
}

.well .input-group-btn .btn {
    border-radius: 0 50px 50px 0;
    background-color: var(--color-brand);
    border-color: var(--color-brand);
    color: white;
    height: 45px;
}

.well .list-unstyled li {
    margin-bottom: 10px;
    border-bottom: 1px solid #f9f9f9;
    padding-bottom: 10px;
}

.well .list-unstyled li:last-child {
    border-bottom: none;
}

.well .list-unstyled li a {
    color: #666;
    font-size: 15px;
    display: block;
    transition: all 0.3s;
}

.well .list-unstyled li a:hover {
    color: var(--color-brand);
    padding-left: 5px;
}

/* Form Styles */
.form-control {
    box-shadow: none;
    border-color: #eee;
}

.form-control:focus {
    border-color: var(--color-brand);
    box-shadow: none;
}

