/* ========================================
   FAQ PAGE STYLES
   Capital Tuckpointing - faq.html
   ======================================== */

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/hero-desktop-1920.webp') center/cover;
  background-attachment: fixed;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  width: 100%;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 2px;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.4rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  font-style: italic;
  letter-spacing: 0.5px;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* ========================================
     MAIN CONTENT
     ======================================== */

.main-content {
  padding: 60px 0;
  min-height: calc(100vh - 140px);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
     FAQ SECTION
     ======================================== */

.faq-section {
  background-color: #f8f8f8;
  margin-bottom: 60px;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.faq-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 4px 15px rgba(42, 63, 80, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid #c6402d;
  overflow: hidden;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(42, 63, 80, 0.15);
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-header:hover {
  background-color: #f8f9fa;
}

.faq-question {
  font-size: 1.3rem;
  font-weight: 700;
  color: #c6402d;
  margin: 0;
  line-height: 1.4;
  letter-spacing: 0.3px;
  flex: 1;
  padding-right: 20px;
}

.faq-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-toggle:hover {
  background-color: #c6402d;
  color: white;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 700;
  transition: transform 0.3s ease;
  display: inline-block;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #f8f9fa;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 30px 30px 30px;
}

.faq-answer p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #2a3f50;
  margin: 0;
  font-weight: 400;
  padding-top: 20px;
}

/* ========================================
     RESPONSIVE DESIGN
     ======================================== */

@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
    padding: 60px 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/hero-mobile-800.webp') center/cover;
    background-attachment: scroll;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
  }

  .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }

  .hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  /* Main Content Mobile */
  .main-content {
    padding: 40px 0;
  }

  .container {
    padding: 0 15px;
  }

  /* FAQ Mobile */
  .faq-section {
    padding: 60px 0;
  }

  .faq-container {
    gap: 25px;
  }

  .faq-header {
    padding: 25px 20px;
  }

  .faq-question {
    font-size: 1.2rem;
    padding-right: 15px;
  }

  .faq-toggle {
    width: 28px;
    height: 28px;
  }

  .faq-icon {
    font-size: 1.3rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 20px 25px 20px;
  }

  .faq-answer p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  /* Hero Extra Small */
  .hero-title {
    font-size: 1.7rem;
    letter-spacing: 0.5px;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  /* Content Extra Small */
  .faq-section {
    padding: 50px 0;
  }

  .faq-header {
    padding: 20px 15px;
  }

  .faq-question {
    font-size: 1.1rem;
    padding-right: 10px;
  }

  .faq-toggle {
    width: 26px;
    height: 26px;
  }

  .faq-icon {
    font-size: 1.2rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 15px 20px 15px;
  }

  .faq-answer p {
    font-size: 0.95rem;
  }
}
