/*
 * Global Stylesheet for Philsbury Development
 *
 * This file contains the color palette, typography rules, layout helpers and
 * component styles used across the site. The design is inspired by the
 * 'Philsbury Code Boi' branding with a dark theme and vibrant green accent.
 */

/* CSS variables define our brand colors and typographic scale */
:root {
  --bg-color: #0b0f24;        /* deep navy background */
  --overlay-color: rgba(11, 15, 36, 0.8);
  --primary-color: #84f23f;   /* vibrant lime green */
  --primary-color-light: #a4ff5e;
  --text-color: #ffffff;
  --text-muted: #b0b8d6;
  --header-height: 64px;
  --container-width: 1100px;
}

/* Reset margins and define base fonts */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Inter', Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-color-light);
}

/* Reusable container class for consistent spacing */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header styles */
.site-header {
  height: var(--header-height);
  background-color: var(--bg-color);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-family: 'Fira Code', monospace;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* Navigation list */
.nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-list li a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s ease;
}

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

/* Hero Section */
/* Hero Section */
.hero {
  position: relative;
  padding: 4rem 0;
  background-color: var(--bg-color);
  color: var(--text-color);
}

/* Hero inner layout */
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero-text {
  flex: 1 1 45%;
  min-width: 300px;
}

.hero-image {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-width: 450px;
  height: auto;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: 'Fira Code', monospace;
}

.hero .highlight {
  color: var(--primary-color);
}

.hero .tagline {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.cta-buttons .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary-color);
  border-radius: 4px;
  color: var(--primary-color);
  font-weight: 600;
  transition: all 0.2s ease;
  font-family: 'Fira Code', monospace;
}

.cta-buttons .btn:hover {
  background-color: var(--primary-color);
  color: var(--bg-color);
}

/* Features Section */
.features {
  padding: 4rem 0;
  background-color: var(--bg-color);
}

.features-container {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.feature {
  flex: 1;
  min-width: 250px;
  background-color: #13193f;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.feature .icon {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-family: 'Fira Code', monospace;
  color: var(--primary-color);
}

.feature p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Privacy Policy Section */
.privacy-policy-section {
  padding: 4rem 0;
}

.policy-container {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-muted);
}

.policy-container h1 {
  font-size: 2.4rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-family: 'Fira Code', monospace;
}

.policy-container p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-size: 1rem;
}

/* Footer */
.site-footer {
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #0a102e;
}

.footer-container {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .features-container {
    flex-direction: column;
    align-items: center;
  }
  .feature {
    margin-bottom: 1.5rem;
  }
}