/* Deferred CSS - Loaded after critical path */

/* Workshop Filter Styles */
.workshop-filters {
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.filter-btn.active {
    background: #007bff;
    border-color: #007bff;
}

.filter-btn:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* NSFW Content Styles */
.nsfw-content {
    position: relative;
    filter: blur(10px);
    transition: filter 0.3s ease;
}

.nsfw-content.nsfw-approved {
    filter: none;
}

.nsfw-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    z-index: 2;
    pointer-events: none;
}

.nsfw-warning {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.nsfw-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.nsfw-modal {
    background: var(--color-surface);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.nsfw-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.nsfw-modal-header h2 {
    margin: 0;
    color: #ff6b35;
}

.nsfw-warning-icon {
    text-align: center;
    margin-bottom: 1rem;
    color: #ff6b35;
}

.nsfw-modal-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.nsfw-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1.5rem;
}

.nsfw-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nsfw-btn.primary {
    background: #007bff;
    color: white;
}

.nsfw-btn.primary:hover {
    background: #0056b3;
}

.nsfw-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nsfw-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Workshop System Styles */
.workshop-grid {
  display: block !important;
  width: 100%;
}

.workshop-category-section {
  display: block !important;
  width: 100% !important;
  margin-bottom: var(--space-xxl);
  clear: both;
}

.category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-accent);
}

.workshop-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
  width: 100%;
}

.workshop-card {
  background: var(--color-surface);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.workshop-image {
  width: 100%;
  height: 0;
  padding-bottom: 100%; /* Creates 1:1 aspect ratio */
  overflow: hidden;
  position: relative;
}

.workshop-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.workshop-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
  pointer-events: none;
}

.workshop-card:hover .workshop-image img {
  transform: scale(1.05);
}

.workshop-content {
  padding: var(--space-lg);
}

.workshop-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.workshop-card .workshop-title-overlay {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  color: white;
  z-index: 2;
}

.workshop-card .workshop-title-overlay h4 {
  color: white;
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  line-height: 1.2;
}

.workshop-description {
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.workshop-meta {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.workshop-meta span {
  background: var(--color-surface);
  color: var(--color-text);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  font-weight: 500;
}

.workshop-meta .difficulty {
  background: var(--color-accent);
  color: white;
}

.workshop-actions {
  text-align: center;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  border: none;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--color-secondary);
  transform: translateY(-1px);
}

.btn-primary:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Workshop Modal Styles */
.workshop-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  overflow-y: auto;
}

.workshop-modal {
  background: var(--color-surface);
  border-radius: var(--border-radius-lg);
  max-width: 90vw;
  max-height: 90vh;
  width: 800px;
  overflow-y: auto;
  position: relative;
}

.workshop-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  background: var(--color-surface);
  z-index: 10;
}

.workshop-modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--color-text);
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-text-light);
  cursor: pointer;
  padding: var(--space-xs);
  border-radius: var(--border-radius);
  transition: all 0.2s ease;
  line-height: 1;
}

.modal-close:hover {
  background: var(--color-surface);
  color: var(--color-text);
}

.modal-close:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.workshop-modal-content {
  padding: var(--space-lg);
}

.workshop-info {
  margin-bottom: var(--space-xl);
}

.workshop-category-badge {
  background: var(--color-accent);
  color: white;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: var(--space-md);
}

.workshop-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.workshop-details {
  background: var(--color-background);
  padding: var(--space-lg);
  border-radius: var(--border-radius-lg);
  border-left: 4px solid var(--color-accent);
  margin-top: var(--space-xl);
}

.detail-item {
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.detail-item:last-child {
  margin-bottom: 0;
}

.detail-item strong {
  color: var(--color-text);
  margin-right: var(--space-xs);
}

/* Workshop Gallery Styles */
.workshop-gallery h3 {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
}

.workshop-steps {
  margin-bottom: var(--space-xl);
}

.workshop-step {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.workshop-step:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.step-number {
  background: var(--color-primary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: var(--border-radius-lg);
  margin-bottom: var(--space-md);
}

.step-text h4 {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.step-text p {
  line-height: 1.6;
  color: var(--color-text);
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-md);
}

.image-item {
  background: var(--color-surface);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.image-item:hover {
  transform: scale(1.02);
}

.image-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s ease;
}

.image-item:hover img {
  opacity: 0.9;
}

/* Image Lightbox Styles */
.image-lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.image-lightbox {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-lightbox img {
  max-width: 100%;
  max-height: 95vh;
  height: auto;
  object-fit: contain;
  border-radius: var(--border-radius-lg);
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: var(--border-radius);
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-close:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 4rem;
  cursor: pointer;
  padding: var(--space-md);
  border-radius: var(--border-radius);
  transition: all 0.2s ease;
  user-select: none;
  line-height: 1;
  font-weight: 300;
  z-index: 10;
}

.lightbox-prev {
  left: -80px;
}

.lightbox-next {
  right: -80px;
}

.lightbox-nav:hover {
  color: white;
  transform: translateY(-50%) scale(1.2);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Fallback for smaller screens - overlay on image */
@media (max-width: 1200px) {
  .lightbox-prev {
    left: var(--space-md);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    font-size: 2.5rem;
    padding: var(--space-sm);
  }
  
  .lightbox-next {
    right: var(--space-md);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    font-size: 2.5rem;
    padding: var(--space-sm);
  }
  
  .lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-50%) scale(1.1);
  }
}

.lightbox-nav:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

.lightbox-counter {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .workshop-category-grid {
    grid-template-columns: 1fr;
  }
  
  .workshop-image {
    padding-bottom: 100%;
  }
  
  .workshop-title-overlay h4 {
    font-size: 1.1rem;
  }
  
  .workshop-modal {
    width: 95vw;
    margin: var(--space-sm);
  }
  
  .workshop-step {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .step-number {
    align-self: flex-start;
  }
  
  .image-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

/* Error States */
.no-workshops, .error-message {
  text-align: center;
  padding: var(--space-xxl);
  color: var(--color-text-light);
  font-style: italic;
}

/* Navigation Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  position: relative;
}

.nav-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: var(--border-radius);
  transition: all 0.2s ease;
}

.nav-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-close:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

.nav-menu {
  list-style: none;
  text-align: center;
}

.nav-menu li {
  margin: var(--space-md) 0;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 600;
  transition: all 0.2s ease;
  display: block;
  padding: var(--space-sm);
  border-radius: var(--border-radius);
}

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

.nav-menu a:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

/* Content Sections */
.content-section {
  padding: var(--space-xxl) 0;
  min-height: 60vh;
}

.content-section:nth-child(even) {
  background: var(--color-surface);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.content-section h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: var(--space-lg);
  text-align: center;
  color: var(--color-primary);
  font-weight: 700;
}

.section-intro {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-intro p {
  font-size: 1.2rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Photography Section */
.client-search {
  margin-bottom: var(--space-xl);
}

.search-container {
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

.search-container label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  text-align: center;
}

.search-container input {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  transition: border-color 0.2s ease;
}

.search-container input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  max-height: 300px;
  overflow-y: auto;
  z-index: 10;
  display: none;
}

.search-results.show {
  display: block;
}

.search-result {
  padding: var(--space-md);
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-result:hover {
  background: var(--color-surface);
}

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

.result-name {
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.result-details {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.photography-categories {
  width: 100%;
  padding: var(--space-xl) var(--space-lg);
  margin: 0;
  display: flex;
  justify-content: center;
}

.category-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: var(--space-xl);
  width: 75%;
  max-width: 900px;
}

.category-card {
  background: var(--color-surface);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--color-text);
}

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

.category-card:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.category-image {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--color-surface);
  border-radius: var(--border-radius);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 1.1rem;
  overflow: hidden;
}

.category-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.category-description {
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.category-count {
  font-size: 0.9rem;
  color: var(--color-accent);
  font-weight: 600;
}

/* Workshop Section */
.workshop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.workshop-card {
  background: var(--color-surface);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.workshop-card:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.workshop-image {
  width: 100%;
  height: 200px;
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 1.1rem;
}

.workshop-content {
  padding: var(--space-lg);
}

.workshop-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
  color: var(--color-text);
}

.workshop-date {
  background: var(--color-surface);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius);
}

.workshop-difficulty {
  background: var(--color-accent);
  color: white;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius);
  text-transform: capitalize;
}

.workshop-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.workshop-description {
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.workshop-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* Community Section */
.calendar-container {
  margin-bottom: var(--space-xl);
  background: white;
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.community-form {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  max-width: 600px;
  margin: 0 auto;
}

.community-form h3 {
  font-size: 1.8rem;
  margin-bottom: var(--space-lg);
  text-align: center;
  color: var(--color-primary);
}

/* Form Styles */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: border-color 0.2s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group select[multiple] {
  min-height: 120px;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-right: var(--space-sm);
}

.submit-btn {
  width: 100%;
  background: var(--color-accent);
  color: white;
  padding: var(--space-md) var(--space-lg);
  border: none;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  background: #c0392b;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.submit-btn:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.submit-btn:disabled {
  background: var(--color-text-light);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-message {
  margin-top: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--border-radius);
  display: none;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

.error-message {
  color: var(--color-accent);
  font-size: 0.9rem;
  margin-top: var(--space-xs);
  display: none;
}

.error-message.show {
  display: block;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
}

.about-text p {
  margin-bottom: var(--space-lg);
  font-size: 1.1rem;
  line-height: 1.7;
}

.about-contact {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  height: fit-content;
}

.about-contact h3 {
  margin-bottom: var(--space-lg);
  color: var(--color-primary);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-primary);
  text-decoration: none;
  padding: var(--space-sm);
  border-radius: var(--border-radius);
  transition: all 0.2s ease;
}

.contact-link:hover {
  background: var(--color-surface);
}

.contact-link:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Contact Page Styles */
.simple-nav {
  padding: var(--space-lg);
  background: var(--color-surface);
}

.nav-back {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.nav-back:hover {
  color: var(--color-accent);
}

.nav-back:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--border-radius);
}

.contact-section {
  padding: var(--space-xl) 0;
}

.contact-section h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: var(--space-lg);
  text-align: center;
  color: var(--color-primary);
  font-weight: 700;
}

.contact-intro {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.contact-intro p {
  font-size: 1.2rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  max-width: 800px;
  margin: 0 auto var(--space-xl);
}

.form-actions {
  text-align: center;
  margin-top: var(--space-xl);
}

.form-response {
  max-width: 800px;
  margin: 0 auto var(--space-lg);
  padding: var(--space-md);
  border-radius: var(--border-radius);
  text-align: center;
  display: none;
}

.form-response.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.form-response.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

.contact-alternatives {
  max-width: 800px;
  margin: var(--space-xl) auto 0;
}

.contact-alternatives h3 {
  margin-bottom: var(--space-lg);
  text-align: center;
  color: var(--color-primary);
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

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

.contact-method:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.contact-method svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-method div {
  display: flex;
  flex-direction: column;
}

.contact-method strong {
  margin-bottom: var(--space-xs);
  color: var(--color-primary);
}

.contact-method span {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  background: var(--color-primary);
  color: white;
  text-align: center;
  padding: var(--space-xl) 0;
  margin-top: var(--space-xxl);
}

.site-footer a {
  color: white;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--color-accent);
}

.site-footer a:focus {
  outline: 2px solid white;
  outline-offset: 2px;
  border-radius: var(--border-radius);
}

/* Responsive Design */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .nav-menu a {
    font-size: 1.5rem;
  }
  
  .container {
    padding: 0 var(--space-md);
  }
  
  .contact-methods {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .content-section {
    padding: var(--space-xl) 0;
  }
  
  .container {
    padding: 0 var(--space-sm);
  }
  
  .community-form,
  .contact-form {
    padding: var(--space-lg);
  }
  
  .workshop-grid {
    grid-template-columns: 1fr;
  }
  
  .category-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Print Styles */
@media print {
  .nav-toggle,
  .nav-overlay,
  .carousel-controls,
  .skip-link {
    display: none !important;
  }
  
  .hero-section {
    height: auto;
    page-break-inside: avoid;
  }
  
  .content-section {
    page-break-inside: avoid;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --color-border: #000000;
    --color-text-light: #000000;
  }
  
  .carousel-slide {
    border: 2px solid;
  }
  
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    box-shadow: none;
    border-width: 3px;
  }
}

/* Carousel Slide Animations */
.carousel-slide {
  transition: transform 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide:not(.active) {
  opacity: 0;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Slide animations for right-to-left movement with smooth easing */
.slide-in-left {
  animation: slideInLeft 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.slide-in-right {
  animation: slideInRight 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.slide-out-left {
  animation: slideOutLeft 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.slide-out-right {
  animation: slideOutRight 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes slideInLeft {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutLeft {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-100%);
    opacity: 0;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .carousel-slide,
  .slide-in-left,
  .slide-in-right,
  .slide-out-left,
  .slide-out-right {
    animation: none !important;
    transition: opacity 0.1s ease !important;
  }
}
