/* Reset and Base */
:root {
  --white: #f9f9f9;
  --black: #ff7a7a;
  --gray: #ff5d5d;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-600: #475569;
  --text-color: #334155;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  color: var(--text-color);
  line-height: 1.5;
  background-image: url("../images/DSC05092.jpg");
}

.container:has(> article) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1em;
}

article h3 {
  white-space: nowrap;
}

article img {
  width: 100%;
  height: 10em;
  object-fit: cover;
  pointer-events: none;
}

img .large {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  pointer-events: none;
}

/* Header */
.header {
  background-color: var(--black);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.header a {
  text-decoration: none;
  color: inherit;
}

.header ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

main {
  /* padding: 0 1em; Removed as we handle padding in specific classes */
}

/* Header Top Row - Branding & Hamburger */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  width: 100%;
  position: relative;
}

/* Header Branding */
.header-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1.2;
  flex-grow: 1;
}

.header-branding span {
  display: none;
}

.header-logo-img {
  height: 45px;
  width: auto;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .header-branding {
    font-size: 0.85rem;
  }

  .header-branding span {
    display: block;
    white-space: nowrap;
  }
}

@media (min-width: 1024px) {
  .header-branding {
    font-size: 0.95rem;
  }
}

/* Navigation Menu Container - Row 2 */
.nav {
  display: none;
  flex-direction: column;
  gap: 0;
  width: 100%;
  background-color: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav.show {
  display: flex;
}

.menu,
.menu-secondary {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu li,
.menu-secondary li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0;
  padding: 0;
  position: relative;
}

.menu li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-secondary li:last-child {
  border-bottom: none;
}

.menu a,
.menu-secondary a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--white);
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.menu a {
  font-weight: 500;
}

.menu-secondary {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
}

.menu-secondary a {
  font-size: 0.8rem;
  color: #d1d5db;
  padding-left: 2.5rem;
  font-weight: normal;
}

.menu-item-with-submenu > .menu-secondary {
  display: none;
}

.menu-item-with-submenu:hover > .menu-secondary,
.menu-item-with-submenu:focus-within > .menu-secondary {
  display: flex;
}

/* On mobile, show secondary menu by default */
@media (max-width: 767px) {
  .menu-item-with-submenu > .menu-secondary {
    display: flex !important;
  }
}

.menu a:hover,
.menu-secondary a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--gray);
}

/* Mobile Menu Toggle */
.side-menu {
  display: none;
}

/* Show nav when checkbox is checked - using adjacent sibling from header-top */
.header-top:has(.side-menu:checked) ~ .nav {
  display: flex !important;
}

.header-top:has(.side-menu:checked) .hamb .hamb-line {
  background: transparent;
}

.header-top:has(.side-menu:checked) .hamb .hamb-line::before {
  transform: rotate(-45deg);
  top: 0;
}

.header-top:has(.side-menu:checked) .hamb .hamb-line::after {
  transform: rotate(45deg);
  top: 0;
}

/* Hamburger Menu Icon */
.hamb {
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: none;
  border: none;
  z-index: 101;
}

.hamb-line {
  background: var(--white);
  display: block;
  height: 2px;
  width: 24px;
  position: relative;
  transition: all 0.2s ease-out;
}

.hamb-line::before,
.hamb-line::after {
  background: var(--white);
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  width: 100%;
  transition: all 0.2s ease-out;
}

.hamb-line::before {
  top: -6px;
}

.hamb-line::after {
  top: 6px;
}

/* Desktop Navigation */
@media (min-width: 768px) {
  .header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header-branding {
    flex-grow: 0;
  }

  .header-branding span {
    display: block;
  }

  .nav {
    display: flex;
    flex-direction: row;
    border-top: none;
    border-bottom: none;
    width: 100%;
    background-color: transparent;
    align-items: stretch;
    padding: 0;
  }

  .menu {
    display: flex;
    flex-direction: row;
    gap: 0;
    flex-grow: 1;
    margin: 0;
    padding: 0;
  }

  .menu li {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
  }

  .menu li:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .menu a {
    padding: 0.75rem 1.2rem;
    font-size: 0.9rem;
    color: var(--white);
    font-weight: 500;
    white-space: nowrap;
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease;
  }

  .menu a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
  }

  .menu-item-with-submenu {
    position: relative;
  }

  .menu-item-with-submenu > .menu-secondary {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    flex-direction: column;
    width: 200px;
    background-color: var(--black);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    z-index: 10;
  }

  .menu-item-with-submenu:hover > .menu-secondary,
  .menu-item-with-submenu:focus-within > .menu-secondary {
    display: flex;
  }

  .menu-item-with-submenu > .menu-secondary li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    display: block;
  }

  .menu-item-with-submenu > .menu-secondary li:last-child {
    border-bottom: none;
  }

  .menu-item-with-submenu > .menu-secondary a {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    color: #d1d5db;
    white-space: nowrap;
    display: block;
    transition: background-color 0.2s ease;
    padding-left: 1rem;
  }

  .menu-item-with-submenu > .menu-secondary a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--gray);
  }

  .hamb {
    display: none;
  }
}

/* --- New Styles to Replace Tailwind --- */

/* Common Utilities */
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.grow {
  flex-grow: 1;
}

/* Landing Page (index.html) */
.landing-body {
  background-image: url("../images/DSC05092.jpg");
  background-size: cover;
  height: 100vh;
  overflow: hidden;
}

.landing-logo-section img {
  max-width: 100%;
  width: 80vw;
  max-width: 20rem;
  margin: 0 auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

@media (min-width: 768px) {
  .landing-logo-section img {
    width: 60vw;
    max-width: 48rem;
    padding: 2.5rem;
  }
}

.landing-content-section {
  height: 75%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.landing-cta {
  display: inline-block;
  border-radius: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  font-size: 0.75rem;
  padding: 2.5rem;
  background-color: rgba(220, 38, 38, 0.6); /* red-600/60 */
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: all 0.3s;
}

.landing-cta a {
  text-decoration: none;
}

.landing-cta:hover {
  background-color: rgb(220, 38, 38);
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

.landing-title {
  color: white;
  font-weight: 600;
  font-size: 1.25rem;
  padding-bottom: 2rem;
  margin: 0;
}

@media (min-width: 768px) {
  .landing-title {
    font-size: 3rem;
  }
}

/* Subpages (agenda, club, etc.) */
.page-body {
  background-color: var(--slate-100);
}

@media (min-width: 768px) {
  .page-body {
    background-image: url("../images/DSC05092.jpg");
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 5rem 0;
  }
}

.page-wrapper {
  max-width: 64rem;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  min-height: 80vh; /* Ensure it takes some height */
}

@media (min-width: 768px) {
  .page-wrapper {
    width: 83.33%;
  }
}

/* Header Internal Elements */
.header-branding {
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--slate-600);
  padding: 0 1.5rem;
  line-height: 1.2;
}

.header-branding a {
  color: inherit;
  text-decoration: none;
}

.header-branding h1 {
  margin: 0.5rem 0;
  font-size: inherit;
}

.header-logo-img {
  height: 3rem;
}

@media (min-width: 640px) {
  .header-branding {
    font-size: 1.125rem;
  }
}

/* Main Content */
.main-content {
  padding: 1.5rem;
  flex-grow: 1;
}

@media (min-width: 768px) {
  .main-content {
    padding: 3rem;
  }
}

/* Typography / Prose Replacement */
.content-prose {
  max-width: none;
}

.content-prose h1 {
  font-size: 2.25rem;
  margin-bottom: 0.888em;
  margin-top: 0;
  font-weight: 800;
  line-height: 1.1111111;
}

.content-prose h2 {
  font-size: 1.5rem;
  margin-top: 2em;
  margin-bottom: 1em;
  line-height: 1.3333333;
  font-weight: 700;
}

.content-prose h3 {
  font-size: 1.25rem;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  line-height: 1.6;
  font-weight: 600;
}

.content-prose p {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.content-prose ul {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  list-style-type: disc;
  padding-left: 1.625em;
}

.content-prose a {
  color: var(--black);
  text-decoration: underline;
  font-weight: 500;
}

/* Footer */
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  background-color: var(--slate-50);
  font-size: 0.875rem;
}

.footer-copy {
  flex-grow: 1;
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.social-label {
  font-weight: 600;
  margin-right: 0.5rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--text-color);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.2s;
  font-size: 1.125rem;
  min-height: 48px;
  min-width: 48px;
}

.social-link:hover {
  background-color: var(--black);
  transform: translateY(-2px);
}

.social-link:focus {
  outline: 2px solid var(--black);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .site-footer {
    font-size: 1rem;
  }
}

/* Navigation Improvements */

/* Sticky Header */
.header.sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}

/* Active Navigation Link */
.menu li.active > a {
  font-weight: 700;
  color: var(--white);
  border-bottom: 3px solid var(--white);
  padding-bottom: 0.5rem;
}

/* Sitemap Styles */
.sitemap {
  margin: 2rem 0;
}

.sitemap-section {
  margin-bottom: 2.5rem;
}

.sitemap-section h2 {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--black);
  font-size: 1.35rem;
}

.sitemap-section ul {
  list-style: none;
  padding: 0;
}

.sitemap-section li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.sitemap-section li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--black);
}

.sitemap-section a {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.sitemap-section a:hover {
  color: var(--gray);
  padding-left: 0.5rem;
  text-decoration: underline;
}

.sitemap-section a:focus {
  outline: 2px solid var(--black);
  outline-offset: 2px;
}

.sitemap-info {
  margin-top: 2rem;
  padding: 1.5rem;
  background-color: #f9fafb;
  border-radius: 0.5rem;
  border-left: 4px solid var(--black);
}

.sitemap-info h2 {
  margin-top: 0;
}

.sitemap-info ul {
  margin: 1rem 0;
  padding-left: 1.625em;
}

.sitemap-info li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

/* Mobile Menu Accessibility */
@media (max-width: 767px) {
  .nav {
    padding-bottom: 1rem;
  }

  .menu li {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .menu li.active a {
    background-color: var(--gray);
    padding-left: 2rem;
  }
}

/* Enhanced Mobile Menu Toggle */
.side-menu:checked ~ .nav {
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    max-height: 0;
    opacity: 0;
  }
  to {
    max-height: 100vh;
    opacity: 1;
  }
}

/* Focus Visible for Navigation */
.nav a:focus-visible,
.menu a:focus-visible {
  outline: 2px solid white;
  outline-offset: -2px;
}

/* Table of Contents / Section Navigation */
.page-toc {
  background-color: #f9fafb;
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin: 2rem 0;
  border-left: 4px solid var(--black);
}

.page-toc h3 {
  margin-top: 0;
  font-size: 1rem;
}

.page-toc ul {
  list-style: none;
  padding: 0;
}

.page-toc li {
  margin-bottom: 0.5rem;
}

.page-toc a {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.page-toc a:hover {
  color: var(--gray);
  text-decoration: underline;
}

.page-toc a:focus {
  outline: 2px solid var(--black);
  outline-offset: 2px;
}

/* Responsive adjustments for navigation */
@media (max-width: 640px) {
  .sitemap-section h2 {
    font-size: 1.15rem;
  }

  .sitemap-section {
    margin-bottom: 1.75rem;
  }
}

/* Search Bar Styles */
#search-container {
  display: none;
}

#search-input {
  width: 100%;
  padding: 0.625rem 1rem;
  border: 2px solid #d1d5db;
  border-radius: 2rem;
  font-size: 0.95rem;
  background-color: white;
  color: var(--text-color);
  transition: all 0.2s;
  min-height: 40px;
}

#search-input:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(255, 122, 122, 0.1);
}

#search-input::placeholder {
  color: #9ca3af;
}

/* Search Results */
#search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  max-height: 400px;
  overflow-y: auto;
  display: none;
  z-index: 1000;
  margin-top: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.search-result-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.search-result-item {
  border-bottom: 1px solid #f3f4f6;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.2s;
}

.search-result-item a:hover,
.search-result-item a:focus {
  background-color: #f9fafb;
  color: var(--black);
  outline: none;
}

.search-result-item strong {
  color: var(--black);
  font-weight: 700;
}

.search-no-results {
  padding: 1rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.95rem;
}

/* Mobile search adjustments */
@media (max-width: 768px) {
  #search-container {
    max-width: none;
    margin: 0.5rem 0;
    width: 100%;
  }

  #search-results {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    border-radius: 0;
    max-height: 50vh;
    bottom: auto;
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  #search-input {
    font-size: 16px; /* Prevent zoom on iOS */
    padding: 0.75rem 1rem;
  }

  .search-result-item a {
    padding: 1rem;
  }
}

/* Gallery Styles */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.gallery a:hover {
  filter: brightness(120%);
}

.lightbox {
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  display: none;
  position: fixed;
  z-index: 1000;
}

.lightbox:target {
  align-items: center;
  bottom: 0;
  display: flex;
  justify-content: center;
  left: 0;
  right: 0;
  top: 0;
}

.lightbox img {
  display: block;
  margin: auto;
  width: 90%;
  pointer-events: none;
}

.lightbox .close {
  color: #fff;
  font-size: 4em;
  font-weight: bold;
  height: 1em;
  position: fixed;
  right: 0;
  top: 0;
  width: 1em;
  z-index: 1001;
}

.lightbox h2 {
  text-align: center;
  background-color: gray;
}

.lightbox a {
  text-decoration: none;
}

/* Contact Form Styles */
.contact-form {
  max-width: 600px;
  margin: 2rem 0;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.form-label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-color);
  font-size: 0.95rem;
}

.required {
  color: #dc2626;
}

.form-input,
.form-textarea {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-color);
  background-color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-width: 48px;
  min-height: 48px;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(255, 122, 122, 0.1);
}

.form-input:invalid:not(:focus):not(:placeholder-shown),
.form-textarea:invalid:not(:focus):not(:placeholder-shown) {
  border-color: #ef4444;
}

.form-textarea {
  resize: vertical;
  max-height: 400px;
}

.form-button {
  padding: 0.75rem 1.5rem;
  background-color: var(--black);
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s, box-shadow 0.2s;
  min-height: 48px;
  min-width: 48px;
}

.form-button:hover {
  background-color: var(--gray);
}

.form-button:active {
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.form-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 122, 122, 0.1);
}

/* Accessibility Improvements */
/* Focus visible for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
}

/* Skip to main content link (visible on focus) */
.skip-to-main {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.75rem;
  background-color: var(--black);
  color: white;
  text-decoration: none;
  border-radius: 0;
}

.skip-to-main:focus {
  left: 0;
  top: 0;
  right: auto;
  width: auto;
}

/* Improved color contrast for links */
.content-prose a {
  color: #d32f2f;
  text-decoration: underline;
  font-weight: 600;
}

.content-prose a:visited {
  color: #b71c1c;
}

/* Better hover states */
.menu a,
.landing-cta a {
  position: relative;
  text-decoration: none;
  transition: all 0.2s;
}

.landing-cta:focus-within {
  box-shadow: 0 0 0 3px rgba(255, 122, 122, 0.3);
  border-radius: 0.75rem;
}

/* Ensure form inputs are easily clickable */
input[type="checkbox"],
input[type="radio"] {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
}

/* Better heading contrast */
.content-prose h1,
.content-prose h2,
.content-prose h3 {
  color: #1f2937;
}

/* Image loading optimization */
img {
  display: block;
}

/* Smooth transitions for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* FAQ Styles */
.faq-container {
  max-width: 800px;
  margin: 2rem 0;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  overflow: hidden;
  background-color: #fff;
}

.faq-question {
  padding: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-weight: 600;
  color: var(--text-color);
  user-select: none;
  background-color: #f9fafb;
  transition: background-color 0.2s;
  min-height: 48px;
}

.faq-question:hover {
  background-color: #f3f4f6;
}

.faq-question:focus {
  outline: 2px solid var(--black);
  outline-offset: -2px;
}

.faq-icon {
  display: inline-block;
  margin-right: 0.75rem;
  transition: transform 0.3s ease;
  font-size: 0.875rem;
  width: 1.25rem;
  text-align: center;
}

details[open] > .faq-question .faq-icon {
  transform: rotate(90deg);
}

.faq-answer {
  padding: 1.25rem;
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
  line-height: 1.6;
}

.faq-answer p {
  margin: 0;
}

.faq-answer p + p {
  margin-top: 1rem;
}

.faq-answer a {
  color: #d32f2f;
  text-decoration: underline;
  font-weight: 600;
}

.faq-answer a:visited {
  color: #b71c1c;
}

.faq-cta {
  margin-top: 3rem;
  padding: 2rem;
  background-color: #f9fafb;
  border-radius: 0.375rem;
  text-align: center;
}

.faq-cta h2 {
  margin-top: 0;
  color: var(--text-color);
}

.cta-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--black);
  color: white;
  text-decoration: none;
  border-radius: 0.375rem;
  font-weight: 600;
  margin-top: 1rem;
  transition: background-color 0.2s;
  min-height: 48px;
  line-height: 2.5;
}

.cta-link:hover {
  background-color: var(--gray);
}

.cta-link:focus {
  outline: 2px solid var(--black);
  outline-offset: 2px;
}

/* Responsive adjustments for FAQ */
@media (max-width: 640px) {
  .faq-question {
    padding: 1rem;
  }

  .faq-answer {
    padding: 1rem;
  }

  .faq-icon {
    margin-right: 0.5rem;
  }
}

/* Blog Styles */
.blog-list {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}

.blog-card {
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background-color: #fff;
  transition: box-shadow 0.3s, transform 0.3s;
}

.blog-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.blog-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #6b7280;
  flex-wrap: wrap;
}

.blog-date {
  font-weight: 600;
  color: var(--black);
}

.blog-author {
  display: inline-block;
}

.blog-title {
  margin: 1rem 0 0.5rem 0;
  font-size: 1.5rem;
  line-height: 1.4;
}

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

.blog-title a:hover {
  color: var(--black);
}

.blog-excerpt {
  color: #4b5563;
  line-height: 1.6;
  margin: 0.75rem 0 1rem 0;
}

.read-more {
  display: inline-block;
  color: var(--black);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}

.read-more:hover {
  color: var(--gray);
  transform: translateX(4px);
}

/* Blog Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.pagination-btn {
  padding: 0.75rem 1.25rem;
  background-color: #f3f4f6;
  color: var(--text-color);
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
  min-height: 48px;
  min-width: 48px;
}

.pagination-btn:hover:not(:disabled) {
  background-color: #e5e7eb;
  border-color: #9ca3af;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-info {
  color: #6b7280;
  font-weight: 600;
}

/* Responsive blog */
@media (max-width: 768px) {
  .blog-card {
    padding: 1.25rem;
  }

  .blog-title {
    font-size: 1.25rem;
  }

  .blog-pagination {
    flex-direction: column;
    gap: 1rem;
  }

  .pagination-btn {
    width: 100%;
  }
}

/* Gallery Styles */
.gallery-filters {
  display: flex;
  gap: 0.75rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.625rem 1.25rem;
  background-color: #f3f4f6;
  color: var(--text-color);
  border: 2px solid #d1d5db;
  border-radius: 2rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  min-height: 40px;
}

.filter-btn:hover {
  border-color: var(--black);
  background-color: #e5e7eb;
}

.filter-btn.active {
  background-color: var(--black);
  color: white;
  border-color: var(--black);
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  background-color: #f3f4f6;
  transition: transform 0.3s, box-shadow 0.3s;
  margin: 0;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.gallery-item img,
.gallery-placeholder {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.gallery-placeholder {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-placeholder svg {
  width: 90%;
  height: 90%;
}

figcaption {
  padding: 1rem;
  background-color: white;
}

.gallery-item h3 {
  margin: 0 0 0.25rem 0;
  font-size: 1.125rem;
  color: var(--text-color);
}

.gallery-item p {
  margin: 0;
  font-size: 0.875rem;
  color: #6b7280;
}

/* Gallery Info Section */
.gallery-info {
  margin-top: 3rem;
  padding: 2rem;
  background-color: #f9fafb;
  border-radius: 0.5rem;
  text-align: center;
}

.gallery-info h2 {
  margin-top: 0;
}

/* Responsive gallery */
@media (max-width: 768px) {
  .gallery-container {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }

  .gallery-item img,
  .gallery-placeholder {
    height: 200px;
  }

  .gallery-filters {
    justify-content: center;
  }

  .filter-btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .gallery-container {
    grid-template-columns: 1fr;
  }

  .gallery-item img,
  .gallery-placeholder {
    height: 250px;
  }
}

/* Prevent image saving */
.gallery-item img {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
  -webkit-touch-callout: none;
}
