/* ============================================
   THE VISITOR'S GUIDE - Layout Fixes
   ============================================ */

/* Fix Features Section Title - Art Book Style */
#about .section-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  padding: 2rem 0;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#about .section-title::before,
#about .section-title::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-primary), transparent);
}

#about .section-title::before {
  left: 20%;
}

#about .section-title::after {
  right: 20%;
}

#about .section-description {
  text-align: center;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

/* Fix Feature SVG Visibility */
.feature-bg-icon {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

.feature-bg-icon svg {
  width: 100%;
  height: 100%;
}

.feature-bg-icon path,
.feature-bg-icon circle,
.feature-bg-icon rect,
.feature-bg-icon ellipse,
.feature-bg-icon line {
  stroke: var(--brand-primary) !important;
  stroke-width: 1px !important;
  fill: none !important;
  opacity: 0.2 !important;
}

[data-theme="dark"] .feature-bg-icon path,
[data-theme="dark"] .feature-bg-icon circle,
[data-theme="dark"] .feature-bg-icon rect,
[data-theme="dark"] .feature-bg-icon ellipse,
[data-theme="dark"] .feature-bg-icon line {
  stroke: var(--brand-secondary) !important;
  opacity: 0.25 !important;
}

/* Fix Newsletter Section */
.newsletter {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.05), rgba(255, 183, 0, 0.05));
  text-align: center;
}

.newsletter-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.newsletter-text {
  width: 100%;
  text-align: center;
  margin-bottom: 3rem;
}

.newsletter-graphic {
  display: none; /* Hide the large mail graphic */
}

.newsletter .section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.newsletter .section-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Center EmailOctopus Form */
.emailoctopus-form-wrapper {
  max-width: 500px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.emailoctopus-form-wrapper form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.emailoctopus-form-wrapper input {
  width: 100% !important;
  max-width: 400px !important;
}

.emailoctopus-form-wrapper button {
  width: auto !important;
  padding: 12px 40px !important;
}

/* Fix Contact Section */
#contact {
  text-align: center;
  padding: 60px 0;
}

#contact .section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.contact-info {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--brand-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.75rem 2rem;
  border: 2px solid var(--brand-primary);
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.05), rgba(255, 183, 0, 0.05));
}

.contact-email svg {
  width: 24px;
  height: 24px;
}

.contact-email:hover {
  background: var(--brand-gradient);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 107, 107, 0.3);
}

.contact-email:hover svg {
  color: white;
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
  #about .section-title {
    font-size: 2rem;
  }
  
  #about .section-title::before,
  #about .section-title::after {
    display: none;
  }
  
  .contact-email {
    font-size: 1.1rem;
    padding: 0.6rem 1.5rem;
  }
}