/* File: styles/index.css */

/* Color & typography variables */
:root {
  --color-primary: #0066cc;
  --color-primary-dark: #005bb5;
  --color-bg: #f9f9f9;
  --color-white: #ffffff;
  --color-text: #333333;
  --radius: 4px;
  --transition: 0.2s ease-in-out;
  --max-width: 640px;
}

/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-family: Arial, sans-serif;
  font-size: 16px;
  background-color: var(--color-bg);
  color: var(--color-text);
}
a {
  text-decoration: none;
  color: inherit;
}

/* Container */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 0;
}

/* Header */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid #ddd;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-primary);
}
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}
.site-nav a {
  padding: 0.5rem;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.site-nav a:hover,
.site-nav .active {
  background: var(--color-bg);
}

/* Hero Section */
.hero {
  background: var(--color-white);
  padding: 2rem;
  margin-top: 2rem;
  text-align: center;
  border-radius: var(--radius);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.hero h1 {
  font-size: 2rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}
.hero p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.hero-buttons a {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.hero-buttons a:hover {
  background: var(--color-primary-dark);
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 1rem 0;
  font-size: 0.875rem;
  color: #777777;
  margin-top: 2rem;
}

/* Responsive tweaks */
@media (max-width: 480px) {
  :root {
    --max-width: 100%;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
}
