/* =========================================
   DalaParfum SCSS entry
   Compiles to /css/style.css
   ========================================= */
/* Abstracts */
/* =========================================
   Abstracts: Global constants (non-theme)
   ========================================= */
/* Spacing scale (used via utility mixins or direct) */
/* =========================================
   DalaParfum SCSS entry
   Compiles to /css/style.css
   ========================================= */
/* Abstracts */
/* =========================================
   Abstracts: Mixins
   ========================================= */
/* Accessible focus ring consistent with premium UI */
/* Themes */
/* =========================================
   Theme: Dark (default)
   Deep Navy + Silver
   ========================================= */
:root[data-theme=dark] {
  /* Core */
  --color-bg: #071826;
  /* deep navy */
  --color-surface: #0B2234;
  /* elevated surfaces */
  --color-surface-2: #0E2A40;
  /* subtle variation */
  --color-border: #17364D;
  /* Text */
  --color-text: #EAF1F7;
  --color-text-muted: #B7C6D3;
  /* Accents (silver) */
  --color-accent: #BFC7D1;
  --color-accent-strong: #D7DEE7;
  /* Functional */
  --color-link: #D7DEE7;
  --color-danger: #FF6B6B;
  --color-success: #4CD4A0;
  /* Focus */
  --color-focus: #D7DEE7;
  /* Shadows */
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.28);
}

/* =========================================
   Theme: Light
   ========================================= */
:root[data-theme=light] {
  --color-bg: #F6F8FB;
  --color-surface: #FFFFFF;
  --color-surface-2: #F0F4F8;
  --color-border: #D7DEE7;
  --color-text: #0B1220;
  --color-text-muted: #44566B;
  --color-accent: #071826;
  /* navy becomes accent in light mode */
  --color-accent-strong: #0B2234;
  --color-link: #071826;
  --color-danger: #D64545;
  --color-success: #168A63;
  --color-focus: #071826;
  --shadow-sm: 0 6px 18px rgba(17, 24, 39, 0.08);
  --shadow-md: 0 12px 30px rgba(17, 24, 39, 0.12);
}

/* Base */
/* =========================================
   Base: Modern reset
   ========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

/* =========================================
   Base: Typography
   ========================================= */
:root {
  /* System-first stack (simple and professional). We can switch later. */
  --font-sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  --text-xs: 12px;
  --text-sm: 14px;
  --text-md: 16px;
  --text-lg: 18px;
  --text-xl: 22px;
  --text-2xl: 28px;
  --text-3xl: 36px;
  --lh-tight: 1.15;
  --lh-normal: 1.5;
}

body {
  font-family: var(--font-sans);
  line-height: var(--lh-normal);
}

h1,
h2,
h3 {
  line-height: var(--lh-tight);
  margin: 0;
}

p {
  margin: 0;
}

/* =========================================
   Base: Global element styling
   ========================================= */
html {
  color-scheme: light dark;
  /* lets the browser choose correct form control look */
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-size: var(--text-md);
}

main {
  display: block;
}

a:hover {
  opacity: 0.92;
}

:focus-visible {
  outline: none;
}

/* Layout */
/* =========================================
   Layout: Container
   ========================================= */
.l-container {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

.l-section {
  padding-block: 56px;
}
@media (min-width: 768px) {
  .l-section {
    padding-block: 72px;
  }
}

/* =========================================
   Layout: Header (BEM: header, header__*)
   ========================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.header__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header__logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header__title {
  font-size: var(--text-lg);
  letter-spacing: 0.2px;
  font-weight: 700;
}

.header__nav {
  display: none;
  gap: 18px;
  align-items: center;
}
@media (min-width: 768px) {
  .header__nav {
    display: flex;
  }
}

.header__link {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.header__link--active {
  color: var(--color-text);
}

.header__controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* =========================================
   Layout: Footer
   ========================================= */
.footer {
  border-top: 1px solid var(--color-border);
  padding-block: 28px;
}

.footer__inner {
  display: grid;
  gap: 18px;
}

.footer__row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.footer__links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer__link {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.footer__meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* Components */
/* =========================================
   Component: Button
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  font-weight: 600;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: transform 120ms ease, opacity 120ms ease, border-color 120ms ease;
}

.btn:hover {
  border-color: color-mix(in srgb, var(--color-accent) 60%, var(--color-border));
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

.btn--primary {
  background: linear-gradient(180deg, color-mix(in srgb, var(--color-surface-2) 70%, var(--color-accent) 8%), var(--color-surface));
  border-color: color-mix(in srgb, var(--color-accent) 60%, var(--color-border));
}

.btn--ghost {
  background: transparent;
}

.btn--block {
  width: 100%;
}

/* =========================================
   Component: Card
   ========================================= */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.card__inner {
  padding: 18px;
}

.card__title {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.card__meta {
  margin-top: 6px;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.card__actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* =========================================
   Component: Toggle (language/theme)
   ========================================= */
.toggle {
  display: inline-flex;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: 14px;
  overflow: hidden;
}

.toggle__btn {
  padding: 10px 12px;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-text-muted);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.toggle__btn:hover {
  color: var(--color-text);
}

.toggle__btn:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

.toggle__btn--active {
  color: var(--color-text);
  background: color-mix(in srgb, var(--color-surface-2) 75%, transparent);
}

/* =========================================
   Component: Badge
   ========================================= */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  font-size: var(--text-xs);
  border-radius: 999px;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  background: color-mix(in srgb, var(--color-surface-2) 55%, transparent);
}

/* =========================================
   Component: Form
   ========================================= */
.field {
  display: grid;
  gap: 8px;
}

.field__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.field__control {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  border-radius: 14px;
  padding: 12px 14px;
}

.field__control:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

/* Pages */
/* =========================================
   Page: Home
   ========================================= */
.page--home {
  /* Home-specific styling will be added in Phase 3 */
}

/*# sourceMappingURL=style.css.map */
