/* CTA Section Styles */
:root {
  --primary-color: #2A3F3F; /* Dark Teal */
  --primary-dark: #1F2E2E; /* Darker shade of Dark Teal for contrast */
  --accent-color: #C9A053; /* Antique Gold */
  --accent-glow: rgba(201, 160, 83, 0.3); /* Antique Gold glow */
  --accent-dark: #A88743; /* Darker shade of Antique Gold for hover */
  --secondary-color: #8B3A3A; /* Rust Red */
  --tertiary-color: #C9A053; /* Using Antique Gold as tertiary color */
  --text-light: #FFFFF0; /* Ivory White */
  --text-dark: #333F48; /* Charcoal Grey */
  --bg-dark: #2A3F3F; /* Dark Teal */
  --card-bg-light: rgba(42, 63, 63, 0.8); /* Dark Teal with opacity */
  --radius-md: 12px;
  --transition-normal: 0.3s ease;
  --font-primary: 'Cinzel', Georgia, serif;
  --font-body: 'Lato', Arial, sans-serif;
}

.cta-section {
  padding: 4rem 0;
  text-align: center;
  background-color: var(--accent-secondary, var(--primary-dark)); /* Dark Teal from your variables */
  position: relative;
  overflow: hidden;
  z-index: 5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--text-light); /* Ivory White */
  margin-bottom: 2rem;
  text-shadow: 0 0 15px rgba(201, 160, 83, 0.2); /* Antique Gold shadow */
}

.cta-btn {
  display: inline-block;
  background-color: var(--secondary-color); /* Rust Red */
  color: var(--text-light); /* Ivory White */
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(51, 63, 72, 0.3); /* Using Charcoal Grey for shadow */
}

.cta-btn:hover,
.cta-btn:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(51, 63, 72, 0.4); /* Using Charcoal Grey for shadow */
  background-color: var(--tertiary-color); /* Antique Gold */
}

/* Add subtle patterns for visual interest */
.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 240, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.2;
  z-index: 1;
}

/* Add responsive styles */
@media (max-width: 768px) {
  .cta-section {
    padding: 3rem 0;
  }
  
  .cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .cta-btn {
    padding: 0.7rem 1.5rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cta-btn {
    transition: none;
  }
  
  .cta-btn:hover,
  .cta-btn:focus-visible {
    transform: none;
  }
}