/* ========================================
   COMMUNITY PAGE - BRAND COLOR SYSTEM
   ======================================== */

/* Community Hero - Deep Plum Authority */
.community-hero {
  background: linear-gradient(135deg, var(--deep-plum) 0%, var(--deep-navy) 100%);
  padding: 6rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.community-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(201, 160, 95, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 70% 50%, rgba(201, 160, 95, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.community-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.community-hero h1 {
  color: var(--soft-cream);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.community-hero .lead-text {
  color: var(--warm-sand);
  font-size: 1.375rem;
  line-height: 1.7;
}

/* Newsletter Section - Warm Sand Background */
.community-newsletter {
  background: var(--warm-sand);
  padding: var(--space-xl) 2rem;
}

.newsletter-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-badge {
  display: inline-block;
  background: var(--rich-gold);
  color: var(--deep-plum);
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2rem;
}

.newsletter-content h2 {
  color: var(--deep-plum);
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.newsletter-content p {
  color: var(--deep-navy);
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* Newsletter Form - Rich Gold Accents */
.newsletter-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-label {
  display: block;
  color: var(--deep-plum);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  border: 2px solid var(--border-light);
  border-radius: 6px;
  background: var(--soft-cream);
  color: var(--deep-navy);
  transition: var(--transition);
  font-family: var(--font-sans);
}

.form-input:focus {
  outline: none;
  border-color: var(--rich-gold);
  box-shadow: 0 0 0 3px rgba(201, 160, 95, 0.15);
}

.form-input::placeholder {
  color: rgba(26, 43, 60, 0.5);
}

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.form-checkbox {
  width: 20px;
  height: 20px;
  margin-top: 0.25rem;
  cursor: pointer;
  accent-color: var(--rich-gold);
}

.form-checkbox-label {
  color: var(--deep-navy);
  font-size: 0.95rem;
  line-height: 1.5;
  cursor: pointer;
}

.form-submit {
  width: 100%;
  padding: 1.25rem 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  background: var(--rich-gold);
  color: var(--deep-plum);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.form-submit:hover {
  background: var(--bright-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.form-submit:active {
  transform: translateY(0);
}

.form-message {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 6px;
  font-size: 1rem;
  text-align: center;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(76, 175, 80, 0.1);
  color: #2E7D32;
  border: 2px solid #4CAF50;
}

.form-message.error {
  display: block;
  background: rgba(244, 67, 54, 0.1);
  color: #C62828;
  border: 2px solid #F44336;
}

/* Connect Section - Soft Cream Background */
.community-connect {
  background: var(--soft-cream);
  padding: var(--space-xl) 2rem;
}

.connect-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.connect-content h2 {
  color: var(--deep-plum);
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.connect-content p {
  color: var(--deep-navy);
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.connect-divider {
  width: 80px;
  height: 3px;
  background: var(--rich-gold);
  margin: 2rem auto 3rem;
  border-radius: 2px;
}

/* Contact Methods */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.contact-card {
  background: var(--warm-sand);
  padding: 3rem;
  border-radius: 8px;
  border-left: 4px solid var(--rich-gold);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--bright-gold);
}

.contact-icon {
  font-size: 2.5rem;
  color: var(--rich-gold);
  margin-bottom: 1.5rem;
  display: block;
}

.contact-card h3 {
  color: var(--deep-plum);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.contact-card p {
  color: var(--deep-navy);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.contact-link {
  display: inline-block;
  color: var(--rich-gold);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  text-decoration: underline;
}

.contact-link:hover {
  color: var(--bright-gold);
}

/* Social Section - Deep Navy Authority */
.community-social {
  background: var(--deep-navy);
  padding: var(--space-xl) 2rem;
  color: var(--soft-cream);
  text-align: center;
}

.social-content {
  max-width: 700px;
  margin: 0 auto;
}

.social-content h2 {
  color: var(--soft-cream);
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.social-content p {
  color: var(--warm-sand);
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.social-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.social-card {
  background: rgba(201, 160, 95, 0.1);
  padding: 2.5rem 2rem;
  border-radius: 8px;
  border: 2px solid rgba(201, 160, 95, 0.3);
  min-width: 220px;
  transition: var(--transition);
  text-align: center;
}

.social-card:hover {
  background: rgba(201, 160, 95, 0.2);
  border-color: var(--rich-gold);
  transform: translateY(-6px);
}

.social-card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.social-card h3 {
  color: var(--soft-cream);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.social-card p {
  color: var(--warm-sand);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.social-card .btn-secondary {
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
}

/* Stay Connected Section - Warm Sand Background */
.stay-connected-section {
  background: var(--warm-sand);
  padding: var(--space-xl) 2rem;
  text-align: center;
}

.stay-connected-content {
  max-width: 700px;
  margin: 0 auto;
}

.stay-connected-content h2 {
  color: var(--deep-plum);
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.stay-connected-content p {
  color: var(--deep-navy);
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.social-handle-display {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--rich-gold);
  margin: 2rem 0 3rem;
  letter-spacing: -0.01em;
}

.social-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-buttons .btn {
  min-width: 200px;
}

@media (max-width: 768px) {
  .stay-connected-section {
    padding: var(--space-lg) 1.5rem;
  }

  .social-handle-display {
    font-size: 2rem;
    margin: 1.5rem 0 2.5rem;
  }

  .social-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .social-buttons .btn {
    width: 100%;
    min-width: auto;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .community-hero {
    padding: 4rem 1.5rem 3rem;
    min-height: 45vh;
  }
  
  .community-newsletter,
  .community-connect,
  .community-social {
    padding: var(--space-lg) 1.5rem;
  }
  
  .contact-methods {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-card {
    padding: 2rem;
  }
  
  .social-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .social-card {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .newsletter-form {
    padding: 0;
  }
  
  .form-input {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
  }
  
  .form-submit {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
  
  .contact-card {
    padding: 1.5rem;
  }
  
  .contact-icon {
    font-size: 2rem;
  }
  
  .social-card {
    padding: 1.5rem;
  }
  
  .social-card-icon {
    font-size: 2.5rem;
  }
}
