/* base.css - Bristol Dance Centre Design System */
/* Design: Dark elegant theme with gold accents (Liverpool-inspired) */

/* CSS Variables - Design System */
:root {
  /* Brand Colors - Dark & Gold Theme */
  --color-primary: #D4A843;          /* Gold - Bristol Dance Centre brand */
  --color-primary-dark: #B8922E;     /* Darker gold for hover states */
  --color-primary-light: #F0DCA0;    /* Light gold for subtle accents */
  --color-accent: #C0392B;           /* Deep red accent for CTAs */
  --color-accent-dark: #A93226;      /* Darker red */

  /* Dark Theme Colors */
  --color-dark: #1a1a1a;             /* Near black */
  --color-dark-secondary: #2e2e2e;   /* Dark grey */
  --color-dark-tertiary: #3a3a3a;    /* Medium dark */

  /* Light / Content Colors */
  --color-text: #333;                /* Main text color */
  --color-text-light: #666;          /* Light text */
  --color-text-muted: #999;          /* Muted text */
  --color-text-on-dark: #e0e0e0;     /* Text on dark backgrounds */
  --color-background: #f5f0e8;       /* Warm cream background */
  --color-background-light: #faf7f2; /* Lighter cream */
  --color-background-white: #fff;    /* Pure white */
  --color-border: #e0d8cc;           /* Warm border */
  --color-shadow: rgba(0, 0, 0, 0.1);

  /* Typography Scale */
  --font-family-primary: 'Montserrat', Arial, sans-serif;
  --font-family-heading: 'Playfair Display', 'Times New Roman', serif;
  --font-size-base: 16px;
  --font-size-small: 0.875rem;
  --font-size-large: 1.125rem;
  --font-size-h1: 2.5rem;
  --font-size-h2: 2rem;
  --font-size-h3: 1.75rem;
  --font-size-h4: 1.5rem;
  --font-size-h5: 1.25rem;
  --font-size-h6: 1rem;

  /* Spacing Scale */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 3rem;
  --spacing-xxxl: 4rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-round: 50%;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Z-index Scale */
  --z-index-dropdown: 100;
  --z-index-sticky: 200;
  --z-index-fixed: 300;
  --z-index-modal-backdrop: 400;
  --z-index-modal: 500;

  /* Container Width */
  --container-max-width: 1200px;
  --container-padding: 1rem;
}

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

/* Base styling */
html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-primary);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-background);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--color-dark);
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }
h5 { font-size: var(--font-size-h5); }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-base);
  text-align: center;
  text-decoration: none;
  font-family: var(--font-family-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn:hover {
  background-color: var(--color-accent-dark);
  color: white;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

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

/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--color-dark);
  font-family: var(--font-family-heading);
}

/* Utilities */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Responsive utilities */
@media (max-width: 992px) {
  html { font-size: 15px; }
}

@media (max-width: 768px) {
  html { font-size: 14px; }
  .section { padding: 3rem 0; }
}

@media (max-width: 576px) {
  html { font-size: 13px; }
  .section { padding: 2rem 0; }
}
