/* 
 * Psychedelische Therapeut - Main Stylesheet
 * Enhanced for SEO and modern design
 */

/* ---------- Base Styles ---------- */
:root {
  --primary: #b20090;
  --primary-dark: #900075;
  --primary-light: #e40bb8;
  --secondary: #5000ff;
  --accent: #ff6a00;
  --light: #f8f9fa;
  --dark: #333;
  --text: #444;
  --gray-light: #f5f5f5;
  --gray: #e0e0e0;
  --transition: all 0.3s ease;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(178, 0, 144, 0.3);
  --border-radius: 8px;
  --psychedelic-gradient: linear-gradient(135deg, #5000ff, #b20090, #ff6a00);
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background-color: var(--light);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 2rem;
  border-bottom: 3px solid var(--primary);
  padding-bottom: 10px;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

h2:after {
  content: '';
  position: absolute;
  width: 30%;
  height: 3px;
  background: var(--secondary);
  bottom: -3px;
  left: 0;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ---------- Layout Elements ---------- */
.container {
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 30px;
  font-weight: 500;
}

/* ---------- Header ---------- */
header {
  background: linear-gradient(135deg, #5000ff, #b20090, #ff6a00);
  background-size: 400% 400%;
  animation: psychedelicGradient 15s ease infinite;
  color: white;
  padding: 20px 0;
  box-shadow: 0 4px 15px rgba(178, 0, 144, 0.4);
  position: relative;
  overflow: hidden;
}

/* Removed as it conflicts with psychedelic-header.css */

@keyframes psychedelicGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.header-content {
  padding: 80px 20px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.header-title {
  font-size: 3.5rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  letter-spacing: -0.5px;
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  0% {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  }
  100% {
    text-shadow: 0 0 10px rgba(255,255,255,0.8), 
                 0 0 20px rgba(255,106,0,0.4), 
                 0 0 30px rgba(178,0,144,0.2);
  }
}

.header-subtitle {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 30px;
  opacity: 0.95;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

/* Psychedelic floating shapes */
header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 50%),
    radial-gradient(circle at 90% 80%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 50%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 70%);
  z-index: 1;
  pointer-events: none;
  opacity: 0.7;
  animation: floatShapes 20s ease-in-out infinite alternate;
}

@keyframes floatShapes {
  0% {
    background-position: 0% 0%, 100% 100%, 50% 50%;
  }
  100% {
    background-position: 5% 5%, 95% 95%, 45% 45%;
  }
}

/* ---------- Navigation ---------- */
.navbar {
  padding: 15px 0;
}

.navbar-brand {
  font-weight: 600;
  font-size: 1.5rem;
  color: white;
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
}

.navbar-brand::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  text-shadow: 0 0 10px rgba(255,255,255,0.8);
}

.navbar-brand:hover::after {
  transform: scaleX(1);
}

.navbar-toggler {
  border: none;
  padding: 0;
}

.navbar-nav .nav-link {
  color: white;
  font-weight: 500;
  padding: 10px 15px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.navbar-nav .nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #5000ff, #b20090, #ff6a00);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: -1;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: white;
  text-shadow: 0 0 8px rgba(255,255,255,0.6);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link:focus::before {
  transform: translateX(0);
}

.navbar-nav .nav-item.active .nav-link {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  text-shadow: 0 0 8px rgba(255,255,255,0.6);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 100px 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(91, 0, 178, 0.85), rgba(178, 0, 144, 0.85));
  z-index: 1;
}

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

.hero-title {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-btn {
  display: inline-block;
  background-color: white;
  color: var(--primary);
  font-weight: 600;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.hero-btn:hover {
  background-color: var(--light);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* ---------- Cards ---------- */
.card {
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  background-color: white;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.15);
}

.card-img-top {
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 25px;
}

.card-title {
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary);
}

.card-text {
  color: var(--text);
  margin-bottom: 20px;
}

.card-link {
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.card-link i {
  margin-left: 5px;
  font-size: 14px;
  transition: var(--transition);
}

.card-link:hover i {
  transform: translateX(3px);
}

/* ---------- Features ---------- */
.feature {
  text-align: center;
  padding: 30px 20px;
  margin-bottom: 30px;
}

.feature-icon {
  height: 80px;
  width: 80px;
  font-size: 40px;
  background-color: rgba(178, 0, 144, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.feature-title {
  font-weight: 600;
  margin-bottom: 15px;
}

.feature-text {
  color: var(--text);
}

/* ---------- Testimonials ---------- */
.testimonial {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial::before {
  content: '\201C';
  font-size: 4rem;
  position: absolute;
  top: 10px;
  left: 15px;
  color: var(--primary);
  opacity: 0.2;
  font-family: Georgia, serif;
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid var(--primary-light);
}

.testimonial-name {
  font-weight: 600;
  margin-bottom: 5px;
}

.testimonial-role {
  font-size: 0.875rem;
  color: #777;
}

/* ---------- FAQ ---------- */
.faq-item {
  margin-bottom: 20px;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  background-color: var(--gray-light);
  cursor: pointer;
  font-weight: 600;
  border-left: 4px solid var(--primary);
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background-color: var(--gray);
}

.faq-question i {
  font-size: 1.25rem;
  transition: var(--transition);
}

.faq-answer {
  padding: 20px;
  display: none;
}

.faq-item.active .faq-question {
  background-color: rgba(178, 0, 144, 0.1);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  display: block;
}

/* ---------- Map Tool ---------- */
#distance-tool {
  margin-bottom: 40px;
}

.input-container {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  background-color: white;
  padding: 10px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.input-container input {
  flex: 1;
  padding: 15px;
  border: 1px solid var(--gray);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.input-container input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(178, 0, 144, 0.2);
  outline: none;
}

.input-container button {
  padding: 15px 25px;
  margin-left: 10px;
  background-color: var(--primary);
  border: none;
  border-radius: var(--border-radius);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.input-container button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

#map {
  width: 100%;
  height: 400px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-top: 25px;
}

.table-container {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.table-container table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.table-container table th,
.table-container table td {
  padding: 15px;
  text-align: left;
}

.table-container table th {
  background-color: var(--primary);
  color: white;
  font-weight: 600;
  border: none;
}

.table-container table tr:nth-child(even) {
  background-color: rgba(178, 0, 144, 0.05);
}

.table-container table tr:hover {
  background-color: rgba(178, 0, 144, 0.1);
}

.table-container table tr.strike td {
  color: #d9534f;
  text-decoration: line-through;
}

/* ---------- CTA Section ---------- */
.cta {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  padding: 80px 0;
  color: white;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-subtitle {
  max-width: 800px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.cta-btn {
  display: inline-block;
  background-color: white;
  color: var(--primary);
  font-weight: 600;
  padding: 15px 30px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-decoration: none;
}

.cta-btn:hover {
  background-color: var(--light);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  color: var(--primary);
  text-decoration: none;
}

/* ---------- Footer ---------- */
footer {
  background-color: var(--dark);
  color: white;
  padding: 60px 0 30px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-description {
  margin-bottom: 25px;
  opacity: 0.8;
}

.footer-heading {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-heading:after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background: var(--primary);
  bottom: -10px;
  left: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  text-decoration: none;
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  height: 40px;
  width: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  opacity: 0.7;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .header-title,
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section {
    padding: 60px 0;
  }
}

@media (max-width: 767.98px) {
  .header-title,
  .hero-title,
  .cta-title {
    font-size: 2rem;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .navbar-collapse {
    background-color: rgba(178, 0, 144, 0.95);
    padding: 15px;
    border-radius: var(--border-radius);
    margin-top: 10px;
  }
  
  .card-img-top {
    height: 180px;
  }
  
  .input-container {
    flex-direction: column;
  }
  
  .input-container input {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .input-container button {
    width: 100%;
    margin-left: 0;
  }
  
  #map {
    height: 300px;
  }
}

@media (max-width: 575.98px) {
  .header-title,
  .hero-title,
  .cta-title {
    font-size: 1.75rem;
  }
  
  .header-subtitle,
  .hero-subtitle,
  .cta-subtitle {
    font-size: 1rem;
  }
  
  .section {
    padding: 40px 0;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .section-title {
    margin-bottom: 30px;
  }
  
  .card-img-top {
    height: 150px;
  }
}
