/* ========================================
   Page Templates Styles
======================================== */

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: var(--color-white);
  padding: var(--spacing-2xl) 0;
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.page-title {
  font-size: var(--fs-h1);
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
}

.page-subtitle {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
}

/* ========================================
   About Page
======================================== */
.about-content {
  max-width: 800px;
  margin: 0 auto var(--spacing-xl);
  font-size: 1.125rem;
  line-height: 1.8;
}

.about-content p {
  margin-bottom: var(--spacing-md);
}

/* Team Cards */
.team-card {
  text-align: center;
  overflow: hidden;
  padding: 0;
}

.team-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  padding: var(--spacing-lg);
}

.team-name {
  font-size: var(--fs-h4);
  margin-bottom: var(--spacing-xs);
}

.team-position {
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.team-bio {
  color: var(--color-gray-700);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========================================
   Contact Page
======================================== */
/* Contact page styles are now in main.css for consistency with site design */

.contact-details h4 {
  margin-bottom: var(--spacing-xs);
  font-size: 1.125rem;
}

.contact-details p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.6;
}

.contact-details a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color var(--transition-base);
}

.contact-details a:hover {
  color: #FFD700;
}

/* ========================================
   Services Page
======================================== */
.services-detail {
  max-width: 900px;
  margin: 0 auto;
}

.service-feature {
  display: flex;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-lg);
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.service-feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 2rem;
  flex-shrink: 0;
}

.service-feature-content h3 {
  margin-bottom: var(--spacing-sm);
}

.service-feature-content p {
  color: var(--color-gray-700);
  line-height: 1.7;
}

/* ========================================
   Skip Link (Accessibility)
======================================== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  text-decoration: none;
  z-index: 10000;
}

.skip-link:focus {
  top: 0;
}

/* ========================================
   Focus Styles (Accessibility)
======================================== */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

.focused {
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

/* ========================================
   Responsive - Page Templates
======================================== */
@media (max-width: 768px) {
  .service-feature {
    flex-direction: column;
    text-align: center;
  }

  .service-feature-icon {
    margin: 0 auto;
  }
}
