/* ═══════════════════════════════════════════════
   theme.css – Profesyonel Temizlik Design Tokens
   All colors come from --theme-* CSS variables 
   set dynamically by head.php from admin panel.
   ═══════════════════════════════════════════════ */

/* ─── Reset & Base ─── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--theme-font);
    font-weight: var(--theme-body-weight);
    color: var(--theme-body);
    background-color: var(--theme-body-bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ─── Typography ─── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--theme-font);
    font-weight: var(--theme-heading-weight);
    color: var(--theme-heading);
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--theme-body);
}

a {
    color: var(--theme-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--theme-accent);
}

strong,
b {
    font-weight: 700;
}

/* ─── Selection ─── */
::selection {
    background-color: var(--theme-primary);
    color: #fff;
}

/* ─── Images ─── */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ─── Lists ─── */
ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ─── Focus Styles ─── */
:focus-visible {
    outline: 2px solid var(--theme-accent);
    outline-offset: 2px;
}

/* ─── Color Utilities ─── */
.text-primary {
    color: var(--theme-primary) !important;
}

.text-secondary {
    color: var(--theme-secondary) !important;
}

.text-accent {
    color: var(--theme-accent) !important;
}

.text-heading {
    color: var(--theme-heading) !important;
}

.text-body {
    color: var(--theme-body) !important;
}

.text-white {
    color: #ffffff !important;
}

.text-muted {
    color: rgba(var(--theme-body), 0.6) !important;
    opacity: 0.7;
}

.bg-primary {
    background-color: var(--theme-primary) !important;
}

.bg-secondary {
    background-color: var(--theme-secondary) !important;
}

.bg-accent {
    background-color: var(--theme-accent) !important;
}

.bg-light {
    background-color: var(--theme-gray-light) !important;
}

.bg-white {
    background-color: #ffffff !important;
}

.bg-body {
    background-color: var(--theme-body-bg) !important;
}

/* ─── Shadow Tokens ─── */
:root {
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.10);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 12px 35px rgba(0, 0, 0, 0.12);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}