/**
 * AroundManchester.com - Coming Soon Page Stylesheet
 * Page-specific styles for page-not-exist.html (coming soon page)
 * 
 * @charset UTF-8
 * @author AroundManchester.com Development Team
 * @version 1.0
 */

@charset "UTF-8";

/* === PAGE: COMING SOON (page-not-exist.html) === */

/* Preserve original header spacing for district placeholder pages */
.site-header {
  padding: 12px 16px;
}

/* Preserve original header description spacing for district placeholder pages */
.site-header__description {
  line-height: 1.4;
  padding: 6px 14px;
  margin: 6px auto 0;
}

.site-header__description > p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.35;
}

/* === HERO SECTION === */
/* Use more specific selector to override any base styles */
main .hero {
  background: linear-gradient(135deg, #4a6bb5, #3a5a95);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

main .hero__title {
  font-size: 2.5rem;
  margin: 0 0 20px;
  font-weight: 700;
  color: #fff;
}

main .hero__text {
  font-size: 1.2rem;
  margin: 0 auto 30px;
  max-width: 700px;
  line-height: 1.6;
  color: #fff;
}

main .hero__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  opacity: 0.9;
}

/* === BUTTON OVERRIDE === */
/* More specific selector to override components.css .button class */
main .hero .button {
  background: #28a745 !important;
  color: #fff !important;
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  margin-top: 10px;
  cursor: pointer;
  box-shadow: none;
}

main .hero .button:hover {
  background: #218838 !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

main .hero .button:focus,
main .hero .button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  background: #218838 !important;
}

/* === INFO SECTION === */
main .info-section {
  max-width: 800px;
  margin: 40px auto;
  padding: 30px 20px;
  text-align: center;
  background: #fff;
}

main .info-section h2 {
  font-size: 1.8rem;
  color: #333;
  margin: 0 0 15px;
  font-weight: 700;
}

main .info-section p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
  margin: 0 0 20px;
}

main .info-section p:last-child {
  margin-bottom: 0;
}

/* === BODY RESET === */
body {
  margin: 0;
  padding: 0;
}

/* === RESPONSIVE: TABLET & MOBILE === */
@media (max-width: 768px) {
  main .hero {
    padding: 40px 20px;
    min-height: 300px;
  }

  main .hero__title {
    font-size: 1.8rem;
  }

  main .hero__text {
    font-size: 1rem;
  }

  main .hero__icon {
    width: 60px;
    height: 60px;
  }

  main .info-section {
    padding: 20px 15px;
  }

  main .info-section h2 {
    font-size: 1.5rem;
  }

  main .info-section p {
    font-size: 1rem;
  }
}

/* === REDUCED MOTION SUPPORT === */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  main .hero .button {
    transition: background 0.01ms ease;
  }
}

/* === HIGH CONTRAST MODE SUPPORT === */
.high-contrast main .hero {
  background: #000000;
  color: #ffffff;
}

.high-contrast main .hero__title,
.high-contrast main .hero__text {
  color: #ffffff;
}

.high-contrast main .hero .button {
  background: #000000 !important;
  border: 2px solid #ffffff;
  color: #ffffff !important;
}

.high-contrast main .hero .button:hover {
  background: #ffffff !important;
  color: #000000 !important;
  transform: none;
}

.high-contrast main .hero .button:focus-visible {
  outline: 3px solid #000000;
  outline-offset: 2px;
}

.high-contrast main .info-section {
  background: #ffffff;
  border: 2px solid #000000;
}

.high-contrast main .info-section h2,
.high-contrast main .info-section p {
  color: #000000;
}

/* === WCAG 2.2 AA FOCUS INDICATORS === */
:focus {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

/* === HIGH CONTRAST MODE FOCUS INDICATORS === */
.high-contrast :focus-visible {
  outline: 3px solid #000000 !important;
  outline-offset: 2px !important;
}
