/* ========================================
   Base Styles - Reset & Typography
   ======================================== */

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

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

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    direction: rtl;
    overflow-x: hidden;
    position: relative;
}

/* Preloader active state */
body.loading {
    overflow: hidden;
}

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

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

ul {
    list-style: none;
}

/* Selection */
::selection {
    background: rgba(var(--gold-rgb), 0.3);
    color: var(--primary-dark);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* --- Layout Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section-label {
    display: inline-block;
    color: var(--gold);
    font-size: var(--fs-sm);
    font-weight: 700;
    margin-bottom: 12px;
    padding: 6px 18px;
    background: rgba(var(--gold-rgb), 0.1);
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
}

.section-label.center {
    display: block;
    text-align: center;
    width: fit-content;
    margin: 0 auto 12px;
}

.section-title {
    font-size: var(--fs-3xl);
    font-weight: 800;
    color: var(--text);
    margin-bottom: var(--space-2xl);
    line-height: 1.4;
}

.section-title.center {
    text-align: center;
}
