/* SouVerdao Design System - Main stylesheet for static HTML pages */

/* CSS Variables - SouVerdao brand colors */
:root {
  /* SouVerdao brand colors - green and white theme */
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(158, 100%, 15%);

  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(158, 100%, 15%);

  --popover: hsl(0, 0%, 100%);
  --popover-foreground: hsl(158, 100%, 15%);

  /* Primary green from football club */
  --primary: hsl(158, 89%, 30%);
  --primary-foreground: hsl(0, 0%, 100%);
  --primary-hover: hsl(158, 89%, 25%);

  /* Secondary colors */
  --secondary: hsl(158, 20%, 90%);
  --secondary-foreground: hsl(158, 100%, 15%);

  --muted: hsl(158, 10%, 95%);
  --muted-foreground: hsl(158, 30%, 40%);

  --accent: hsl(158, 60%, 45%);
  --accent-foreground: hsl(0, 0%, 100%);

  --destructive: hsl(0, 84.2%, 60.2%);
  --destructive-foreground: hsl(0, 0%, 100%);

  --border: hsl(158, 20%, 88%);
  --input: hsl(158, 20%, 88%);
  --ring: hsl(158, 89%, 30%);

  --radius: 0.375rem;

  /* Navigation colors */
  --nav-background: hsl(158, 89%, 30%);
  --nav-foreground: hsl(0, 0%, 100%);
  --nav-hover: hsl(158, 89%, 25%);

  /* Hero section gradient */
  --hero-gradient-start: hsl(158, 89%, 30%);
  --hero-gradient-end: hsl(158, 89%, 20%);

  /* Button variants */
  --button-primary: hsl(158, 89%, 30%);
  --button-primary-hover: hsl(158, 89%, 25%);
  --button-secondary: hsl(158, 20%, 90%);
  --button-secondary-hover: hsl(158, 20%, 85%);

  /* Card shadows */
  --shadow-light: hsl(158, 30%, 85%);
  --shadow-medium: hsl(158, 30%, 80%);
}

.dark {
  /* Dark theme for SouVerdao */
  --background: hsl(158, 100%, 5%);
  --foreground: hsl(0, 0%, 100%);

  --card: hsl(158, 80%, 8%);
  --card-foreground: hsl(0, 0%, 100%);

  --popover: hsl(158, 80%, 8%);
  --popover-foreground: hsl(0, 0%, 100%);

  --primary: hsl(158, 89%, 40%);
  --primary-foreground: hsl(158, 100%, 5%);

  --secondary: hsl(158, 30%, 15%);
  --secondary-foreground: hsl(0, 0%, 100%);

  --muted: hsl(158, 30%, 12%);
  --muted-foreground: hsl(158, 20%, 65%);

  --accent: hsl(158, 89%, 35%);
  --accent-foreground: hsl(0, 0%, 100%);

  --destructive: hsl(0, 62.8%, 50%);
  --destructive-foreground: hsl(0, 0%, 100%);

  --border: hsl(158, 30%, 20%);
  --input: hsl(158, 30%, 20%);
  --ring: hsl(158, 89%, 40%);

  --nav-background: hsl(158, 80%, 8%);
  --nav-foreground: hsl(0, 0%, 100%);
  --nav-hover: hsl(158, 80%, 12%);

  --hero-gradient-start: hsl(158, 89%, 30%);
  --hero-gradient-end: hsl(158, 89%, 15%);

  --button-primary: hsl(158, 89%, 40%);
  --button-primary-hover: hsl(158, 89%, 35%);
  --button-secondary: hsl(158, 30%, 20%);
  --button-secondary-hover: hsl(158, 30%, 25%);

  --shadow-light: hsl(158, 50%, 10%);
  --shadow-medium: hsl(158, 50%, 8%);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
}

html {
  scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

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

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--button-primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: var(--button-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background-color: var(--button-secondary);
  color: var(--secondary-foreground);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background-color: var(--button-secondary-hover);
}

/* Cards */
.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* Navigation */
.navbar {
  background: var(--nav-background);
  color: var(--nav-foreground);
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: var(--nav-foreground);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--nav-foreground);
  background: none;
  border: none;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--nav-background);
  padding: 1rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-menu a {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--nav-foreground);
  text-decoration: none;
}

.mobile-menu a:hover {
  color: var(--accent);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* Hero gradient */
.hero-gradient {
  background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end));
}

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

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 0 0.5rem;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
  
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  /* Mobile navigation */
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-menu.show {
    display: flex;
  }

  .navbar {
    position: relative;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.125rem; }
  
  .card {
    padding: 1rem;
  }
}