/* ============================================
   Barmore CPA - Section Styles
   ============================================ */

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background var(--transition-normal);
}

.nav.scrolled {
  background: rgba(10, 14, 24, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-brand:hover {
  color: var(--text-primary);
}

.nav-icon {
  width: 22px;
  height: 22px;
}

.nav-cta {
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 500;
  padding: 8px 20px;
  background: var(--accent-blue);
  border: 1px solid var(--accent-blue);
  border-radius: var(--card-radius);
  transition: all var(--transition-fast);
}

.nav-cta:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--text-primary);
}

/* --- Primary Button --- */
.btn-primary {
  display: inline-block;
  padding: 12px 32px;
  background: var(--accent-blue);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-primary);
  border: none;
  border-radius: var(--card-radius);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--text-primary);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* --- Alternating Section Backgrounds --- */
#services,
#about {
  background: var(--bg-surface);
}

#value,
#contact {
  background: var(--bg-body);
}

/* --- Section Heading --- */
.section-heading {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xl);
  letter-spacing: -0.02em;
}

.section-closing {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-family: var(--font-secondary);
  max-width: 680px;
  margin-top: var(--space-2xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-height);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.hero-logo {
  margin-bottom: var(--space-xl);
}

.hero-logo-img {
  max-width: 480px;
  width: 100%;
  height: auto;
}

.hero-headline {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  font-family: var(--font-secondary);
}

/* --- Services (What We Do) --- */
.services-list {
  max-width: 760px;
}

.service-row {
  padding: var(--space-lg) 0;
}

.service-name {
  font-size: 22px;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: var(--space-sm);
}

.service-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-family: var(--font-secondary);
}

.divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 0;
}

/* --- Value Props (What You Get) --- */
.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.value-card {
  padding: var(--space-lg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  background: rgba(122, 156, 198, 0.03);
  transition: border-color var(--transition-normal);
}

.value-card:hover {
  border-color: var(--border-medium);
}

.value-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: var(--space-sm);
}

.value-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-family: var(--font-secondary);
}

/* --- Team (Who We Are) --- */
.team-member {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.team-member + .team-member {
  margin-top: var(--space-2xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--border-subtle);
}

.team-photo img {
  width: 200px;
  height: auto;
  border-radius: var(--card-radius);
  border: 1px solid var(--border-subtle);
}

.team-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.team-role {
  font-size: 14px;
  color: var(--text-accent);
  margin-bottom: var(--space-lg);
  font-family: var(--font-secondary);
}

.team-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
  font-family: var(--font-secondary);
}

.team-text:last-child {
  margin-bottom: 0;
}

/* --- Contact --- */
.contact-wrapper {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.contact-intro {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
  font-family: var(--font-secondary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  font-size: 13px;
  color: var(--text-accent);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: transparent;
  border: 1px solid var(--border-light);
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text-primary);
  border-radius: 4px;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-blue);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
}

.form-group select option {
  background: var(--bg-surface);
  color: var(--text-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form .btn-primary {
  align-self: center;
  margin-top: var(--space-sm);
}

.form-status {
  font-size: 13px;
  min-height: 1.5em;
  text-align: center;
}

.form-status.success {
  color: var(--text-success);
}

.form-status.error {
  color: var(--text-error);
}

/* --- Footer --- */
.footer {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.footer-legal {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.7;
}
