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

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

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

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    font-weight: var(--fw-regular);
    line-height: 1.7;
    color: var(--color-text-primary);
    background-color: var(--color-secondary);
    overflow-x: hidden;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-accent);
    color: var(--color-primary);
    padding: 8px 16px;
    z-index: 9999;
    text-decoration: none;
    font-weight: var(--fw-medium);
}

.skip-link:focus {
    top: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--fw-semibold);
    line-height: 1.2;
    color: inherit;
    margin-bottom: var(--spacing-lg);
}

h1 {
    font-size: var(--fs-5xl);
    font-weight: var(--fw-bold);
    letter-spacing: -0.02em;
}

h2 {
    font-size: var(--fs-4xl);
    font-weight: var(--fw-semibold);
}

h3 {
    font-size: var(--fs-2xl);
    font-weight: var(--fw-semibold);
}

h4 {
    font-size: var(--fs-xl);
    font-weight: var(--fw-medium);
}

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

p:last-child {
    margin-bottom: 0;
}

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

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

a:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

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

ul, ol {
    list-style: none;
}

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

/* Section Labels */
.section-label {
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
    display: block;
}

/* Section Titles */
.section-title {
    margin-bottom: var(--spacing-xl);
}

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

/* Text colors */
.text-white {
    color: var(--color-secondary);
}

.text-gold {
    color: var(--color-accent);
}

.text-muted {
    color: var(--color-text-muted);
}

/* Decorative line */
.decorative-line {
    width: 100px;
    height: 1px;
    background-color: var(--color-accent);
    margin: var(--spacing-md) auto;
}

.decorative-line.animated {
    animation: lineExpand 1.2s ease-out 0.5s forwards;
    width: 0;
}

@keyframes lineExpand {
    to {
        width: 100px;
    }
}

/* Blockquotes */
blockquote {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: var(--fs-lg);
    color: var(--color-text-primary);
    position: relative;
    padding-left: var(--spacing-lg);
    border-left: 3px solid var(--color-accent);
}

/* Strong text */
strong {
    font-weight: var(--fw-semibold);
    color: var(--color-text-primary);
}
