/* ============================================
   Life is Better with Charlie — styles.css
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --blue: #3B82F6;
  --blue-dark: #2563EB;
  --blue-light: #EBF5FF;
  --blue-bg: #DBEAFE;
  --yellow: #FBBF24;
  --yellow-dark: #D97706;
  --yellow-light: #FFFBEB;
  --yellow-bg: #FEF3C7;
  --coral: #F87171;
  --green: #34D399;
  --green-dark: #059669;
  --purple: #A78BFA;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --red-light: #FEE2E2;
  --red: #EF4444;
  --green-light: #D1FAE5;

  --font-heading: 'Fredoka', sans-serif;
  --font-body: 'Quicksand', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);

  --max-width: 1200px;
  --nav-height: 72px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--blue-dark);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--blue);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  z-index: 1000;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
  color: var(--white);
}

/* ---------- Screen Reader Only ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Focus Visible ---------- */
:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo:hover {
  color: var(--blue-dark);
}

.nav-logo-heart {
  color: var(--yellow);
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-700);
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
  background: var(--blue-light);
  color: var(--blue);
}

.nav-links a[aria-current="page"] {
  background: var(--blue);
  color: var(--white);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
  padding: 4px;
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
    border-top: 2px solid var(--blue-light);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
  }
}

/* ---------- Main Content ---------- */
main {
  flex: 1;
}

/* ---------- Sections ---------- */
.section {
  padding: 4rem 0;
}

.section--blue {
  background: var(--blue-light);
}

.section--yellow {
  background: var(--yellow-light);
}

.section--white {
  background: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-600);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* ---------- Hero ---------- */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero--home {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--yellow-light) 100%);
  padding: 6rem 0 5rem;
}

.hero--about {
  background: linear-gradient(135deg, var(--yellow-light) 0%, var(--blue-light) 100%);
}

.hero--education {
  background: linear-gradient(135deg, var(--blue-light) 0%, #EDE9FE 100%);
}

.hero--contact {
  background: linear-gradient(135deg, #FEF3C7 0%, var(--blue-light) 100%);
}

.hero__title {
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: var(--gray-600);
  max-width: 620px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 2;
}

.hero__emoji {
  font-size: clamp(2.5rem, 6vw, 4rem);
  display: block;
  margin-bottom: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--blue-dark);
  color: var(--white);
}

.btn--secondary {
  background: var(--yellow);
  color: var(--gray-900);
}

.btn--secondary:hover {
  background: var(--yellow-dark);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn--outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.card__title {
  margin-bottom: 0.5rem;
}

.card__text {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* Card grid */
.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card-grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* ---------- Feature Cards (Home) ---------- */
.feature-card {
  text-align: center;
  padding: 2.5rem 2rem;
}

.feature-card .card__icon {
  font-size: 3rem;
}

.feature-card .btn {
  margin-top: 1rem;
}

/* ---------- Coloring Page Preview ---------- */
.coloring-preview {
  width: 100%;
  max-width: 240px;
  border-radius: var(--radius-md);
  border: 2px solid var(--gray-200);
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-sm);
}

/* ---------- Quote Block ---------- */
.quote-block {
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.quote-block__text {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.quote-block__author {
  font-size: 1rem;
  opacity: 0.9;
}

.quote-block__icon {
  font-size: 3rem;
  opacity: 0.3;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}

/* ---------- Instagram Teaser ---------- */
.insta-teaser {
  text-align: center;
}

.insta-teaser__handle {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.insta-teaser__handle:hover {
  color: var(--blue-dark);
}

/* ---------- Hero Photo ---------- */
.hero-photo {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-xl);
  border: 4px solid var(--yellow);
  box-shadow: var(--shadow-lg);
  margin: 0 auto 2rem;
  object-fit: cover;
}

.hero-photo--home {
  width: 280px;
  height: 360px;
  max-width: none;
  border-radius: var(--radius-xl);
  object-fit: cover;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

/* ---------- Gallery Images ---------- */
.gallery-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 3px solid var(--yellow);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-img:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ---------- Photo Placeholder ---------- */
.photo-placeholder {
  border-radius: var(--radius-lg);
  border: 3px dashed var(--yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--gray-600);
  font-weight: 600;
  font-size: 0.9rem;
  min-height: 300px;
}

.photo-placeholder--hero {
  width: 100%;
  max-width: 500px;
  min-height: 400px;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg, var(--blue-bg), var(--yellow-bg));
}

.photo-placeholder--small {
  min-height: 200px;
}

.photo-placeholder__icon {
  font-size: 3rem;
  opacity: 0.5;
}

.photo-placeholder__text {
  font-family: var(--font-heading);
}

/* Photo gallery */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.photo-gallery .photo-placeholder {
  min-height: 220px;
}

.photo-gallery .photo-placeholder:nth-child(1) {
  background: linear-gradient(135deg, #BFDBFE, #93C5FD);
}
.photo-gallery .photo-placeholder:nth-child(2) {
  background: linear-gradient(135deg, #FDE68A, #FCD34D);
}
.photo-gallery .photo-placeholder:nth-child(3) {
  background: linear-gradient(135deg, #C4B5FD, #A78BFA);
}
.photo-gallery .photo-placeholder:nth-child(4) {
  background: linear-gradient(135deg, #FCA5A5, #F87171);
}
.photo-gallery .photo-placeholder:nth-child(5) {
  background: linear-gradient(135deg, #6EE7B7, #34D399);
}
.photo-gallery .photo-placeholder:nth-child(6) {
  background: linear-gradient(135deg, #FBCFE8, #F9A8D4);
}

/* ---------- Fun Facts Grid ---------- */
.fun-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.fun-fact {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}

.fun-fact:hover {
  transform: translateY(-3px);
}

.fun-fact__icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.fun-fact__label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  display: block;
}

.fun-fact__value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--gray-900);
}

/* ---------- Myth vs Reality ---------- */
.myth-reality-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 600px) {
  .myth-reality-pair {
    grid-template-columns: 1fr;
  }
}

.myth-card,
.reality-card {
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.myth-card {
  background: var(--red-light);
  border-left: 4px solid var(--red);
}

.reality-card {
  background: var(--green-light);
  border-left: 4px solid var(--green);
}

.myth-card__label,
.reality-card__label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  display: block;
}

.myth-card__label {
  color: var(--red);
}

.reality-card__label {
  color: var(--green-dark);
}

.myth-card__text,
.reality-card__text {
  color: var(--gray-800);
  font-size: 0.95rem;
}

/* ---------- Friendship Tips ---------- */
.tip-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tip {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.tip__number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  background: var(--blue);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tip__text {
  color: var(--gray-700);
  padding-top: 0.35rem;
}

.tip__text strong {
  color: var(--gray-900);
}

/* ---------- Resources ---------- */
.resource-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.resource-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  color: var(--blue);
  transition: transform 0.2s, box-shadow 0.2s;
}

.resource-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--blue-dark);
}

.resource-link__icon {
  font-size: 1.5rem;
}

/* ---------- About Kristy (Contact page) ---------- */
.about-kristy {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .about-kristy {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-kristy .photo-placeholder {
    max-width: 280px;
    margin: 0 auto;
  }
}

/* ---------- What to Expect ---------- */
.expect-list {
  max-width: 700px;
  margin: 0 auto;
}

.expect-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  font-size: 1.05rem;
  color: var(--gray-700);
}

.expect-list li::before {
  content: '✓';
  font-weight: 700;
  color: var(--green);
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ---------- Speaking Topics ---------- */
.topic-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border-top: 4px solid var(--blue);
}

.topic-card:nth-child(2) {
  border-top-color: var(--yellow);
}

.topic-card:nth-child(3) {
  border-top-color: var(--coral);
}

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial__quote-icon {
  font-size: 2.5rem;
  color: var(--blue);
  opacity: 0.2;
  position: absolute;
  top: 1rem;
  left: 1.25rem;
}

.testimonial__text {
  font-style: italic;
  color: var(--gray-700);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.testimonial__author {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--gray-900);
  font-size: 0.95rem;
}

/* ---------- Contact Info ---------- */
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

/* ---------- Wave Divider ---------- */
.wave-divider {
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.wave-divider svg {
  width: 100%;
  height: auto;
  display: block;
}

.wave-divider--blue svg path {
  fill: var(--blue-light);
}

.wave-divider--yellow svg path {
  fill: var(--yellow-light);
}

.wave-divider--white svg path {
  fill: var(--white);
}

/* ---------- Confetti Container ---------- */
.confetti-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  opacity: 0.7;
  animation: confetti-fall 6s linear infinite;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(-10%) rotate(0deg);
    opacity: 0.7;
  }
  100% {
    transform: translateY(110vh) rotate(720deg);
    opacity: 0;
  }
}

/* ---------- Floating Decorations ---------- */
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  animation: float 8s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
  width: 80px;
  height: 80px;
  background: var(--blue);
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.floating-shape:nth-child(2) {
  width: 60px;
  height: 60px;
  background: var(--yellow);
  top: 20%;
  right: 10%;
  animation-delay: 2s;
}

.floating-shape:nth-child(3) {
  width: 50px;
  height: 50px;
  background: var(--coral);
  bottom: 20%;
  left: 15%;
  animation-delay: 4s;
}

.floating-shape:nth-child(4) {
  width: 70px;
  height: 70px;
  background: var(--purple);
  bottom: 15%;
  right: 8%;
  animation-delay: 1s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-200);
  padding: 3rem 0 2rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-logo span {
  color: var(--yellow);
}

.footer-tagline {
  color: var(--gray-200);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--gray-200);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-social {
  margin-bottom: 1.5rem;
}

.footer-social a {
  color: var(--gray-200);
  font-size: 1.1rem;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--yellow);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--gray-600);
}

.footer-heart {
  color: var(--coral);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 2.5rem;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.gallery-img {
  cursor: pointer;
}

/* ---------- Noscript ---------- */
noscript .noscript-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem;
  background: var(--yellow-light);
  border-bottom: 2px solid var(--yellow);
  font-weight: 600;
}

noscript .noscript-nav a {
  color: var(--gray-800);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }

  .hero--home {
    padding: 4rem 0 3.5rem;
  }

  .quote-block {
    padding: 2rem 1.5rem;
  }

  .card {
    padding: 1.5rem;
  }

  .fun-facts {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .confetti-piece,
  .floating-shape {
    display: none;
  }

  .card:hover,
  .btn:hover,
  .fun-fact:hover,
  .resource-link:hover {
    transform: none;
  }
}
