/* ============================================
   Ace Flight Center - Base / Reset Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-dark-gray);
    background-color: var(--color-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: var(--color-navy);
}

h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-5xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

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

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

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

ul, ol {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.container-sm {
    max-width: 900px;
}

.container-lg {
    max-width: 1600px;
}

/* Section */
.section {
    padding: var(--space-5xl) 0;
}

.section-sm {
    padding: var(--space-3xl) 0;
}

/* Section Headers */
.section-label {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    color: var(--color-red);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: var(--space-sm);
    display: block;
}

.section-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-navy);
    margin-bottom: var(--space-lg);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--color-gray);
    max-width: 700px;
    line-height: 1.8;
}

/* Text utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-white { color: var(--color-white); }
.text-navy { color: var(--color-navy); }
.text-red { color: var(--color-red); }

/* Background utilities */
.bg-navy { background-color: var(--color-navy); }
.bg-white { background-color: var(--color-white); }
.bg-light { background-color: var(--color-light-gray); }

/* Grid */
.grid {
    display: grid;
    gap: var(--space-xl);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Flex */
.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Selection */
::selection {
    background-color: var(--color-red);
    color: var(--color-white);
}

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

::-webkit-scrollbar-track {
    background: var(--color-light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--color-navy);
    border-radius: var(--radius-pill);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-red);
}
