/* ============================================================================
   AQUA HOMESPACE - GLOBAL STYLES
   ============================================================================ */

/* CSS VARIABLES - Color, Spacing, Typography */
:root {
  /* Brand Colors */
  --main: #00b5ef;
  --accent: #b8f879;
  --accent-dark: #07b57c;

  /* Neutral System */
  --text-main: #5d585a;
  --text-muted: #7c7779;
  --text-on-main: #ffffff;
  --text-on-accent: var(--text-main);
  --light-mode-bg: #f4f4f4;
  --surface: #ffffff;
  --footer: #56535a;
  --white: #ffffff;
  --line-strong: #d5d5d7;
  --line-soft: #e7e7ea;
  --line-faint: #f0f0f2;

  /* Shared Effects */
  --drop-shadow: 0 5px 12px rgba(0, 0, 0, 0.06);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;

  /* Typography */
  --font-family-headlines: 'Lato', sans-serif;
  --font-family-body: 'Plus Jakarta Sans', sans-serif;
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-2xl: 24px;
  --font-size-3xl: 28px;
  --font-size-4xl: 32px;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Motion */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 250ms ease-in-out;
}

/* ============================================================================
   BASE ELEMENT STYLES
   ============================================================================ */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--text-main);
  background-color: var(--light-mode-bg);
}

html,
body {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-headlines);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  margin-bottom: var(--spacing-md);
  color: var(--text-main);
}

h1 {
  font-size: var(--font-size-4xl);
}

h2 {
  font-size: var(--font-size-3xl);
}

h3 {
  font-size: var(--font-size-2xl);
}

h4 {
  font-size: var(--font-size-xl);
}

h5 {
  font-size: var(--font-size-lg);
}

h6 {
  font-size: var(--font-size-base);
}

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

small,
cite {
  font-family: var(--font-family-body);
  color: var(--text-muted);
}

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

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

button,
.btn {
  font-family: var(--font-family-headlines);
}

/* Button Color Rules */
.btn-main,
[data-btn-theme="main"] {
  background-color: var(--main);
  color: var(--text-on-main);
}

.btn-accent,
[data-btn-theme="accent"] {
  background-color: var(--accent);
  color: var(--text-on-accent);
}

.btn-main-light,
[data-btn-theme="main-light"] {
  background-color: var(--line-faint);
  color: var(--main);
  border: 1px solid var(--line-soft);
}

.btn-main-light:hover,
[data-btn-theme="main-light"]:hover {
  border-color: var(--main);
}
