/* ============================================
   LAYOUT VARIATIONS CSS
   Header and Footer style variations
   ============================================ */

/* ============================================
   HEADER VARIATIONS
   ============================================ */

/* --- Header Centered --- */
.header-centered {
  text-align: center;
  padding: 1.5rem 0 0.5rem;
}

.header-centered .header-brand {
  margin-bottom: 1rem;
}

.header-centered .site-title {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.header-centered .site-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.header-centered .nav-centered {
  justify-content: center;
  gap: 2rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}

.header-centered .nav-toggle {
  position: absolute;
  right: 1rem;
  top: 1.5rem;
}

@media (max-width: 768px) {
  .header-centered .site-title {
    font-size: 1.5rem;
  }

  .header-centered .nav-centered.active {
    flex-direction: column;
    gap: 1rem;
  }
}

/* --- Header Minimal --- */
.header-minimal {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
}

.header-minimal .header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-minimal .site-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.header-minimal .nav-minimal {
  display: flex;
  gap: 1.5rem;
}

.header-minimal .nav-minimal a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.header-minimal .nav-minimal a:hover,
.header-minimal .nav-minimal a.active {
  color: var(--primary-color);
}

.header-minimal .nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .header-minimal .nav-toggle {
    display: block;
  }

  .header-minimal .nav-minimal {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--color-border);
    gap: 0.75rem;
  }

  .header-minimal .nav-minimal.active {
    display: flex;
  }
}

/* --- Header Bold --- */
.header-bold {
  padding: 0;
}

.header-accent-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.header-bold .header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.header-bold .site-title-bold a {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.header-bold .nav-bold {
  display: flex;
  gap: 0;
}

.header-bold .nav-item-bold {
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}

.header-bold .nav-item-bold:hover,
.header-bold .nav-item-bold.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.header-bold .nav-toggle-bold {
  display: none;
}

@media (max-width: 768px) {
  .header-bold .nav-toggle-bold {
    display: flex;
  }

  .header-bold .nav-bold {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    flex-direction: column;
    border-top: 1px solid var(--color-border);
  }

  .header-bold .nav-bold.active {
    display: flex;
  }

  .header-bold .nav-item-bold {
    border-bottom: 1px solid var(--color-border);
    border-left: 3px solid transparent;
  }

  .header-bold .nav-item-bold.active {
    border-left-color: var(--primary-color);
    border-bottom-color: var(--color-border);
  }
}


/* ============================================
   FOOTER VARIATIONS
   ============================================ */

/* --- Footer Columns --- */
.footer-columns {
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-about {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 0.5rem;
}

.footer-list a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-list a:hover {
  color: var(--primary-color);
}

.footer-contact {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.footer-cta {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-small);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
}

.footer-cta:hover {
  background: var(--primary-dark);
}

.footer-disclosure {
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.footer-disclosure p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-bottom {
  padding-top: 1.5rem;
  text-align: center;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* --- Footer Minimal --- */
.footer-minimal {
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border);
}

.footer-minimal .footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.footer-minimal .copyright {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}

.footer-minimal .footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-minimal .footer-nav a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-minimal .footer-nav a:hover {
  color: var(--primary-color);
}

.footer-disclosure-inline {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
}

@media (max-width: 768px) {
  .footer-minimal .footer-row {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-minimal .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}

/* --- Footer Newsletter --- */
.footer-newsletter {
  padding: 3rem 0 2rem;
}

.footer-newsletter-section {
  text-align: center;
  max-width: 500px;
  margin: 0 auto 2rem;
}

.footer-newsletter-section h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.footer-newsletter-section p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  font-size: 0.95rem;
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--primary-color);
}

.newsletter-form button {
  padding: 0.75rem 1.5rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--radius-small);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter-form button:hover {
  background: var(--primary-dark);
}

.footer-divider {
  height: 1px;
  background: var(--color-border);
  margin: 2rem 0;
}

.footer-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.footer-brand strong {
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.25rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}

.footer-links-compact {
  display: flex;
  gap: 1.5rem;
}

.footer-links-compact a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links-compact a:hover {
  color: var(--primary-color);
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.disclosure-compact {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-legal .copyright {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 768px) {
  .newsletter-form {
    flex-direction: column;
  }

  .footer-info {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-links-compact {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
