/* Page Styles for SiteReview Theme */

/* General Page Styles */
.page-content {
  padding: 60px 0;
}

.page-header {
  background-color: var(--card-background);
  padding: 40px 0;
  margin-bottom: 40px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 10px var(--shadow-color);
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-color);
}

.page-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 800px;
  margin: 0 auto;
}

.page-content-inner {
  background-color: var(--card-background);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 10px var(--shadow-color);
}

/* About Page */
.about-section {
  margin-bottom: 50px;
}

.about-section:last-child {
  margin-bottom: 0;
}

.about-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--secondary-color);
  position: relative;
  padding-bottom: 10px;
}

.about-section h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--secondary-color);
}

.about-section p {
  margin-bottom: 15px;
  line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.team-member {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.team-member-image {
  height: 250px;
  overflow: hidden;
}

.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-member:hover .team-member-image img {
  transform: scale(1.05);
}

.team-member-info {
  padding: 20px;
}

.team-member-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.team-member-position {
  font-size: 14px;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.team-member-bio {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.team-member-social {
  display: flex;
  gap: 10px;
}

.team-member-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-color);
  transition: background-color 0.3s ease;
}

.team-member-social a:hover {
  background-color: var(--secondary-color);
}

/* Contact Page */
.contact-info {
  margin-bottom: 40px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-info-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.contact-info-item:hover {
  transform: translateY(-5px);
}

.contact-info-icon {
  font-size: 30px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.contact-info-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-info-text {
  font-size: 14px;
  line-height: 1.6;
}

.contact-form {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: var(--text-color);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
  background-color: rgba(255, 255, 255, 0.15);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.btn-submit {
  background-color: var(--secondary-color);
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-submit:hover {
  background-color: var(--primary-color);
}

/* FAQ Page */
.faq-section {
  margin-bottom: 40px;
}

.faq-item {
  margin-bottom: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  padding: 15px 20px;
  background-color: rgba(255, 255, 255, 0.1);
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.faq-question:after {
  content: '\f107';
  font-family: 'Font Awesome 5 Free';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question:after {
  transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 500px;
}

/* Privacy Policy & Terms Page */
.legal-content h2 {
  font-size: 24px;
  margin: 30px 0 15px;
  color: var(--secondary-color);
}

.legal-content h3 {
  font-size: 20px;
  margin: 25px 0 15px;
}

.legal-content p {
  margin-bottom: 15px;
  line-height: 1.7;
}

.legal-content ul, 
.legal-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.legal-content li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.legal-content a {
  color: var(--secondary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.legal-content a:hover {
  color: var(--primary-color);
}

.legal-content .updated-date {
  font-style: italic;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 404 Page */
.error-404 {
  text-align: center;
  padding: 60px 0;
}

.error-404 .page-header {
  background-color: transparent;
  box-shadow: none;
  padding: 0;
  margin-bottom: 30px;
}

.error-404 .page-title {
  font-size: 120px;
  line-height: 1;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.error-404 .page-subtitle {
  font-size: 24px;
  margin-bottom: 30px;
}

.error-404 p {
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.error-404 .search-form {
  max-width: 500px;
  margin: 0 auto 40px;
  position: relative;
}

.error-404 .search-field {
  width: 100%;
  padding: 15px 20px;
  padding-right: 50px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-color);
}

.error-404 .search-submit {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50px;
  background-color: transparent;
  border: none;
  color: var(--text-color);
  cursor: pointer;
}

.error-404 .back-home {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--secondary-color);
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.error-404 .back-home:hover {
  background-color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .page-header {
    padding: 30px 0;
  }
  
  .page-title {
    font-size: 28px;
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .error-404 .page-title {
    font-size: 80px;
  }
}