/* Template 12 - Retro Memphis Design */
@import url("https://fonts.googleapis.com/css2?family=Righteous&family=Barlow:wght@400;500;600;700&display=swap");

:root {
  --color-yellow: #ffd93d;
  --color-pink: #ff6bcb;
  --color-cyan: #6bcf7c;
  --color-orange: #ff8b4d;
  --color-purple: #a084dc;

  --bg-primary: #fff8e7;
  --bg-secondary: #ffe8cc;
  --text-primary: #2d1b00;
  --text-secondary: #6b4423;
  --text-muted: #9b7653;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Barlow", sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  font-weight: 500;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
      45deg,
      transparent,
      transparent 35px,
      rgba(255, 107, 203, 0.03) 35px,
      rgba(255, 107, 203, 0.03) 70px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 35px,
      rgba(107, 207, 124, 0.03) 35px,
      rgba(107, 207, 124, 0.03) 70px
    );
  pointer-events: none;
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header - Memphis Style */
.site-header {
  background: var(--color-yellow);
  border-bottom: 5px solid var(--text-primary);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 8px 8px 0 rgba(45, 27, 0, 0.15);
  transform: skewY(-0.5deg);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: skewY(0.5deg);
}

.site-logo a {
  font-family: "Righteous", cursive;
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-primary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--color-pink);
  border: 3px solid var(--text-primary);
  box-shadow: 4px 4px 0 var(--text-primary);
}

.site-logo a:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--text-primary);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.site-nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  padding: 0.75rem 1.5rem;
  background: white;
  border: 3px solid var(--text-primary);
  display: inline-block;
  box-shadow: 3px 3px 0 var(--text-primary);
}

.site-nav a:hover {
  background: var(--color-cyan);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--text-primary);
}

/* Hero Section */
.section.head {
  padding: 8rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-pink) 100%);
  border: 5px solid var(--text-primary);
  margin: 2rem 0;
  box-shadow: 10px 10px 0 rgba(45, 27, 0, 0.2);
}

.section.head::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 3px dashed var(--text-primary);
  opacity: 0.3;
  animation: dashRotate 20s linear infinite;
}

@keyframes dashRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.section.head h1 {
  font-family: "Righteous", cursive;
  font-size: 4.5rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 5px 5px 0 var(--text-primary), 10px 10px 0 rgba(45, 27, 0, 0.3);
  animation: bounceTitle 2s ease-in-out infinite;
}

@keyframes bounceTitle {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.section.head p {
  font-size: 1.5rem;
  color: white;
  font-weight: 600;
  max-width: 1000px;
  margin: 0 auto;
  text-shadow: 2px 2px 0 var(--text-primary);
}

/* Section Styling */
.section {
  padding: 5rem 0;
}

.section header {
  text-align: center;
  margin-bottom: 4rem;
}

.section header h2 {
  font-family: "Righteous", cursive;
  font-size: 3.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

.section header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 10%;
  right: 10%;
  height: 8px;
  background: var(--color-pink);
  border: 2px solid var(--text-primary);
  transform: skewX(-10deg);
}

.section header p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 2rem auto 0;
  font-weight: 600;
}

/* Footer */
.footer {
  background: var(--color-purple);
  border-top: 5px solid var(--text-primary);
  padding: 3rem 0 1rem;
  margin-top: 5rem;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: repeating-linear-gradient(
    90deg,
    var(--color-yellow) 0px,
    var(--color-yellow) 20px,
    var(--color-pink) 20px,
    var(--color-pink) 40px,
    var(--color-cyan) 40px,
    var(--color-cyan) 60px
  );
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.footer-about {
  flex: 1;
  max-width: 400px;
}

.footer-tagline {
  color: white;
  line-height: 1.8;
  font-weight: 600;
  text-shadow: 2px 2px 0 var(--text-primary);
}

.footer-links ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  background: white;
  border: 2px solid var(--text-primary);
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 2px 2px 0 var(--text-primary);
}

.footer-links a:hover {
  background: var(--color-yellow);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--text-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 3px solid var(--text-primary);
}

.copyright a {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  text-shadow: 1px 1px 0 var(--text-primary);
}

/* Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px) rotate(-5deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
  }
}

.fade-in {
  opacity: 0;
  animation: slideInLeft 0.6s ease forwards;
}

.fade-in:nth-child(1) {
  animation-delay: 0.1s;
}
.fade-in:nth-child(2) {
  animation-delay: 0.2s;
}
.fade-in:nth-child(3) {
  animation-delay: 0.3s;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

body:not(.faq) h3,
:not(section.faq) h3 {
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: left;
  font-weight: 700;
  text-transform: uppercase;
}
