﻿/* Badania EEG Page Styles */
:root {
  --primary-color: #8e44ad;
  --primary-dark: #6c3483;
  --primary-light: #9b59b6;
  --primary-very-light: #f4edf7;
  --secondary-color: #2c3e50;
  --text-color: #333333;
  --light-text: #666666;
  --white: #ffffff;
  --light-bg: #f8f9fa;
  --border-color: #e1e1e1;
  --success-color: #27ae60;
  --warning-color: #f39c12;
  --error-color: #e74c3c;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Hero Section with Light Background */
.hero-section {
  background-color: #f4edf7;
  padding: 4rem 0;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  color: #8a2eb8;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-text p {
  color: #333;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

/* Why EEG Section */
.why-eeg-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.section-title {
  text-align: center;
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: var(--text-color);
  line-height: 1.6;
}

.eeg-reasons {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.reason-item {
  background-color: var(--light-bg);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.reason-item:hover {
  transform: translateY(-5px);
}

.reason-icon {
  width: 80px;
  height: 80px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.reason-item h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.reason-item p {
  color: var(--text-color);
  line-height: 1.7;
}

/* Indications Section */
.indications-section {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

.indications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.indication-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  height: 100%;
  transition: all 0.3s ease;
}

.indication-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.indication-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-very-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.indication-card h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.indication-card ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.indication-card li {
  color: var(--text-color);
  margin-bottom: 0.7rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}

.indication-card li::before {
  content: '✓';
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

/* Preparation Section */
.preparation-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.preparation-steps {
  max-width: 900px;
  margin: 0 auto;
}

.steps-list {
  padding-left: 2rem;
}

.steps-list > li {
  margin-bottom: 2.5rem;
}

.steps-list h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.steps-list ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.steps-list ul li {
  margin-bottom: 0.7rem;
  color: var(--text-color);
  line-height: 1.6;
}

/* Important Information Section */
.important-info-section {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

.info-content {
  max-width: 800px;
  margin: 0 auto;
}

.info-content p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
  color: var(--text-color);
}

.info-content strong {
  color: var(--primary-color);
}

/* FAQ Section */
.faq-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question {
  width: 100%;
  background-color: var(--light-bg);
  padding: 1.5rem;
  text-align: left;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary-color);
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #efefef;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: var(--white);
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 1.5rem;
  margin: 0;
  line-height: 1.6;
  color: var(--text-color);
}

/* EEG Types Section */
.eeg-types-section {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

.types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.type-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  height: 100%;
  transition: all 0.3s ease;
}

.type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.type-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-very-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.type-card h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.type-card p {
  color: var(--text-color);
  line-height: 1.6;
}

/* Sekcja CTA */
.cta-section {
  padding: 5rem 0;
  background-color: #f4edf7;
  text-align: center;
  color: white;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  color: #8e44ad;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.cta-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: black;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
  min-width: 200px;
}

.btn-primary {
  background-color: white;
  color: #8e44ad;
  border: 2px solid white;
}

.btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
}

.btn-secondary {
  background-color: transparent;
  color: #8e44ad;
  border: 2px solid #8e44ad;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text, .hero-image {
    flex: 1 1 100%;
  }
  
  .hero-section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .types-grid,
  .indications-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .indications-grid {
    grid-template-columns: 1fr;
  }
  
  .types-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-title {
    font-size: 1.7rem;
  }
  
  .reason-item {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 2rem 0;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .faq-question {
    font-size: 1rem;
    padding: 1.2rem;
  }
  
  .steps-list {
    padding-left: 1rem;
  }
  
  .reason-icon,
  .indication-icon,
  .type-icon {
    width: 60px;
    height: 60px;
  }
}