/* ============================================
   CSS Reset & Base Styles
   ============================================ */

   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'SourceHanSerifKR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 300;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.6;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ============================================
   Font Face
   ============================================ */

@font-face {
    font-family: 'SourceHanSerifKR';
    src: url('../fonts/SourceHanSerifKR-ExtraLight.otf') format('opentype');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'SourceHanSerifKR';
    src: url('../fonts/SourceHanSerifKR-Light.otf') format('opentype');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'SourceHanSerifKR';
    src: url('../fonts/SourceHanSerifKR-Regular.otf') format('opentype');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'SourceHanSerifKR';
    src: url('../fonts/SourceHanSerifKR-Medium.otf') format('opentype');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'SourceHanSerifKR';
    src: url('../fonts/SourceHanSerifKR-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'SourceHanSerifKR';
    src: url('../fonts/SourceHanSerifKR-Bold.otf') format('opentype');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'SourceHanSerifKR';
    src: url('../fonts/SourceHanSerifKR-Heavy.otf') format('opentype');
    font-weight: 900;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Light.woff') format('woff');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Medium.woff') format('woff');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-SemiBold.woff') format('woff');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Bold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'AmiriQuran';
    src: url('../fonts/AmiriQuran-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

/* ============================================
   CSS Variables
   ============================================ */

:root {
    --color-primary: #4a90e2;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-gray-light: #f5f5f5;
    --color-gray: #d0cfcc;
    --color-gray-dark: #333333;
    --color-text: #ffffff;
    --color-bg: #000000;
    --color-bg-gnb: #fffcf7;
    
    --font-primary: 'SourceHanSerifKR', serif;
    --font-secondary: 'Pretendard', sans-serif;
    --font-accent: 'AmiriQuran', serif;
    
    --transition: 0.3s ease;
    
    --z-header: 10000;
    --z-gnb: 9999;
    --z-modal: 1000;
    --z-dropdown: 100;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
}

@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

