/*
Theme Name: ColorSeason
Theme URI: https://colorseason.com
Description: An elegant, privacy-first WordPress theme for ColorSeason color analysis
Version: 1.0.6
Author: ColorSeason
Author URI: https://colorseason.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: colorseason-theme
Domain Path: /languages
Requires at least: 5.9
Requires PHP: 7.4
Tested up to: 6.4
Tags: color-analysis, privacy-first, minimal, responsive, gutenberg, block-theme
*/

/* ============================================================================
   ColorSeason Theme v1.0.6
   ============================================================================
   
   RESTORATION: Back to the beautiful dark theme.
   CHANGE: Sans-serif fonts (not serif)
   
   This is the working, beautiful design we had before.
   Only font change applied.
   
============================================================================ */

/* ==========================================================================
   CSS Reset
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  /* CHANGE: Sans-serif instead of serif */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  /* CHANGE: Sans-serif instead of serif */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.5rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: #333;
  text-decoration: underline;
  transition: color 0.2s ease;
}

a:hover {
  color: #666;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

button,
.button {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}

.button-primary,
button.primary {
  background-color: #1a1a1a;
  color: #fff;
}

.button-primary:hover,
button.primary:hover {
  background-color: #333;
}

.button-secondary,
button.secondary {
  background-color: transparent;
  color: #1a1a1a;
  border: 2px solid #1a1a1a;
}

.button-secondary:hover,
button.secondary:hover {
  background-color: #1a1a1a;
  color: #fff;
}

/* ==========================================================================
   Forms
   ========================================================================== */

input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 100%;
  max-width: 100%;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #333;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.site-branding {
  display: flex;
  align-items: center;
  flex: 1;
}

.site-title {
  /* CHANGE: Sans-serif instead of serif */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  color: #1a1a1a;
}

.site-title a {
  color: #1a1a1a;
  text-decoration: none;
}

.site-title a:hover {
  color: #666;
}

.header-auth {
  flex-shrink: 0;
}

.auth-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid #333;
  background-color: transparent;
  color: #333;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  transition: all 0.2s ease;
  text-decoration: none;
}

.auth-button:hover {
  background-color: #333;
  color: #fff;
}

/* ==========================================================================
   Footer - DARK BACKGROUND
   ========================================================================== */

.site-footer {
  padding: 3rem 1rem;
  background-color: #1a1a1a;  /* DARK BACKGROUND */
  color: #fff;
  border-top: 1px solid #333;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
}

.footer-branding {
  flex: 1;
  min-width: 200px;
}

.footer-branding h4 {
  /* CHANGE: Sans-serif instead of serif */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
  color: #fff;
}

.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1rem;
}

.privacy-badge strong {
  color: #fff;
  font-weight: 600;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-links .separator {
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* ==========================================================================
   Main Content
   ========================================================================== */

.section {
  padding: 3rem 0;
}

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

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #ddd;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .footer-content {
    flex-direction: column;
  }

  .header-inner {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .container,
  .container-sm {
    padding: 0 0.75rem;
  }

  button,
  .button {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   End of ColorSeason v1.0.6
   ========================================================================== */
