:root {
    --primary-color: #00A8FF; /* Bright Blue */
    --secondary-color: #FFD700; /* Gold/Yellow */
    --accent-color: #FF6B6B; /* Soft Red for accents */
    --text-color: #333;
    --bg-color: #F0F4F8;
    --card-bg: #FFFFFF;
    --font-heading: 'Noto Sans KR', sans-serif;
    --font-body: 'Noto Sans KR', sans-serif;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-3d: 0 20px 25px rgba(0,0,0,0.15), 0 10px 10px rgba(0,0,0,0.05);
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;700;900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    background: #fff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
}

.gnb ul {
    display: flex;
    gap: 30px;
}

.gnb a {
    font-weight: 700;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.gnb a:hover {
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 60vh;
    background: linear-gradient(135deg, var(--primary-color), #0077b6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.8s forwards;
}

@keyframes slideUp {
    to { transform: translateY(0); opacity: 1; }
}

/* 3D Card Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 10px auto 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card-3d {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.card-3d:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: var(--shadow-3d);
}

.card-img {
    height: 200px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-desc {
    color: #666;
    font-size: 0.9rem;
}

/* Scroll Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Notice Table style override */
.notice-list {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow-md);
}

.notice-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.notice-item:hover {
    background: #f9f9f9;
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    padding: 50px 0;
    margin-top: 50px;
}

.footer-info p {
    margin-bottom: 10px;
    color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {
    .gnb {
        display: none; /* Add JS toggle later */
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 5px rgba(0,0,0,0.1);
    }
    
    .gnb.open {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
}
