/* ================================
   Velmora Doxies
   Main Stylesheet
   Premium Burgundy & Copper Theme
================================ */

/* CSS Custom Properties (Theme) */
:root {
  /* Primary Colors - Rich Burgundy */
  --color-primary: #7B2D3B;
  --color-primary-light: #9B4554;
  --color-primary-dark: #5A1E2C;

  /* Secondary Colors - Deep Charcoal */
  --color-secondary: #161618;
  --color-secondary-light: #222226;
  --color-secondary-dark: #0E0E10;

  /* Accent Colors - Warm Copper */
  --color-accent: #C8965A;
  --color-accent-light: #DAB078;
  --color-accent-dark: #A67838;
  --color-cream: #FBF7F2;

  /* Neutrals */
  --color-white: #FFFFFF;
  --color-off-white: #F4EFE8;
  --color-gray-100: #EDE8E0;
  --color-gray-200: #DDD7CC;
  --color-gray-300: #C0B8AA;
  --color-gray-400: #9A9286;
  --color-gray-500: #78716A;
  --color-gray-600: #56504A;
  --color-gray-700: #3A3438;
  --color-gray-800: #2A2428;
  --color-gray-900: #1A1618;
  --color-black: #0E0E10;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-base: 16px;

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

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 50px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(14, 14, 16, 0.05);
  --shadow-md: 0 4px 16px rgba(14, 14, 16, 0.07);
  --shadow-lg: 0 12px 36px rgba(14, 14, 16, 0.10);
  --shadow-xl: 0 24px 56px rgba(14, 14, 16, 0.14);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--color-gray-800);
  background-color: var(--color-cream);
  overflow-x: hidden;
}

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

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
  margin-bottom: var(--spacing-md);
}

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

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

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

/* Utility Classes */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Button Base Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

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

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Main Layout */
main {
  min-height: 100vh;
}

/* Section Spacing */
section {
  padding: var(--spacing-3xl) 0;
}

/* Responsive Typography */
@media (max-width: 768px) {
  :root {
    --font-size-base: 15px;
  }

  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.85rem; }
  h3 { font-size: 1.5rem; }
}

/* Focus Styles for Accessibility */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Selection Styles */
::selection {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Scrollbar Styles (WebKit) */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--color-gray-400);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gray-500);
}

/* Print Styles */
@media print {
  body {
    background: white;
    color: black;
  }

  top-bar,
  .no-print {
    display: none !important;
  }
}
