/* ===============================
   Global Reset & Variables
   =============================== */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    position: relative;
}

:root {
    --primary-color: #000063;
    --secondary-color: #271697;
    --accent-color: #1d59a7;
    --ku-blue: #034da1;
    --ku-blue-light: #4a90e2;
    --ku-blue-dark: #002a5c;
    --ku-dark: #2C2C2C;
    --ku-light: #F5F5F5;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-600: #6c757d;
    --blue-signature: #000063;
    --text-color: #333;
    --light-text: #777;
    --light-bg: #f8f9fa;
    --dark-bg: #2c2c2c;
    --transition: all 0.3s ease;
    --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    --blue-gradient: linear-gradient(135deg, var(--ku-blue) 0%, var(--ku-blue-light) 100%);
    --shadow: 0 4px 20px rgba(3, 77, 161, 0.15);
    --shadow-hover: 0 8px 30px rgba(3, 77, 161, 0.25);
}

/* ===============================
   Base Typography & Body
   =============================== */
body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--ku-dark);
    background: linear-gradient(135deg, var(--ku-light) 0%, #ffffff 100%);
    min-height: 100vh;
}

/* ===============================
   Header Elements
   =============================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
}

.nav-links {
    display: flex;
    justify-content: space-around;
    width: 30%;
    list-style: none;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.nav-active {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.nav-active::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div,
.line1,
.line2,
.line3 {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* ===============================
   Main Container
   =============================== */
.main-container {
    width: 100%;
    min-height: 100vh;
    padding-top: 100px;
}

/* ===============================
   Hero Section
   =============================== */
.hero-section {
    text-align: center;
    padding: 60px 20px 80px;
    background: linear-gradient(135deg, var(--ku-blue) 0%, #0056b3 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 800px;
    height: 400px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    box-sizing: border-box;
}

.main-title {
    margin-bottom: 20px;
}

.title-line1 {
    display: block;
    font-size: 1.2em;
    font-weight: 300;
    margin-bottom: 10px;
    opacity: 0.9;
    font-family: 'Comic Sans MS', serif;
}

.title-line2 {
    display: block;
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.title-line3 {
    display: block;
    font-size: 3.5em;
    font-weight: 700;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.1em;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 20px;
}

/* ===============================
   Logo Showcase Section
   =============================== */
.logo-showcase {
    padding: 80px 20px;
    background: transparent;
}

.logo-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 60px;
    align-items: stretch;
}

.logo-item {
    text-align: center;
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.logo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.logo-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.logo-item:hover::before {
    left: 100%;
}

.logo-frame {
    background: var(--gray-100);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.main-logo-item .logo-frame {
    background: linear-gradient(135deg, var(--ku-blue-light), var(--ku-blue));
}

.slogan-item .logo-frame {
    background: linear-gradient(135deg, var(--ku-blue-light), var(--ku-blue));
}

.paran-logo,
.paran-slogan {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.logo-item:hover .paran-logo,
.logo-item:hover .paran-slogan {
    transform: scale(1.05);
}

.logo-info h3 {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--ku-dark);
    margin-bottom: 15px;
}

.logo-info p {
    font-size: 1em;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===============================
   Logo Meaning Section
   =============================== */
.logo-meaning {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
}

.meaning-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.meaning-container h2 {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--blue-signature);
    margin-bottom: 40px;
    position: relative;
}

.meaning-container h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--ku-blue);
    border-radius: 2px;
}

.meaning-content {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.meaning-text p {
    font-size: 1.2em;
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--ku-dark);
}

.highlight-text {
    color: var(--blue-signature) !important;
    font-weight: 600;
}

.emphasis {
    color: var(--ku-blue-dark) !important;
    font-weight: 600;
    font-size: 1.3em !important;
}

/* ===============================
   Navigation
   =============================== */
.navigation {
    text-align: center;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-btn.primary {
    background: var(--ku-blue);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(3, 77, 161, 0.3);
}

.nav-btn.primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(3, 77, 161, 0.4);
}

.nav-btn.secondary {
    background: var(--white);
    color: var(--ku-blue);
    border: 2px solid var(--ku-blue);
}

.nav-btn.secondary:hover {
    background: var(--ku-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===============================
   Footer
   =============================== */
.footer {
    background: var(--ku-dark);
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
    margin-top: auto;
}

.footer-content p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-content p:last-child {
    margin-bottom: 0;
}

/* ===============================
   Responsive Design
   =============================== */
@media (max-width: 1024px) {
    nav {
        padding: 15px 3%;
    }
    
    .logo {
        font-size: 1.6rem;
    }
    
    .nav-links {
        width: 40%;
    }
    
    .hero-content {
        width: 85%;
        height: 380px;
        padding: 35px;
    }
    
    .title-line1 {
        font-size: 1.1em;
    }
    
    .title-line2 {
        font-size: 2.3em;
    }
    
    .title-line3 {
        font-size: 3.2em;
    }
    
    .logo-grid {
        grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
        gap: 50px;
    }
    
    .logo-item {
        padding: 35px;
    }
    
    .meaning-container {
        max-width: 700px;
    }
    
    .meaning-content {
        padding: 35px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 15px 5%;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .nav-links {
        position: absolute;
        right: 0;
        height: 92vh;
        top: 8vh;
        background-color: rgba(255, 255, 255, 0.95);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 60%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        backdrop-filter: blur(10px);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding-top: 50px;
    }

    .nav-links li {
        opacity: 0;
        margin: 20px 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        padding: 10px 20px;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .burger {
        display: block;
    }
    
    .main-container {
        padding-top: 80px;
    }
    
    .hero-section {
        padding: 50px 15px 70px;
    }

    .hero-content {
        width: 95%;
        height: auto;
        min-height: 320px;
        padding: 30px 20px;
    }

    .title-line1 {
        font-size: 0.9em;
        margin-bottom: 8px;
    }

    .title-line2 {
        font-size: 1.8em;
        margin-bottom: 8px;
    }

    .title-line3 {
        font-size: 2.5em;
    }
    
    .subtitle {
        font-size: 1em;
        margin-top: 15px;
    }
    
    .logo-showcase {
        padding: 60px 15px;
    }

    .logo-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 100%;
    }

    .logo-item {
        padding: 25px 20px;
        min-height: auto;
    }
    
    .logo-frame {
        padding: 20px;
        margin-bottom: 20px;
        min-height: 180px;
    }
    
    .paran-logo,
    .paran-slogan {
        max-height: 150px;
    }
    
    .logo-info h3 {
        font-size: 1.3em;
        margin-bottom: 10px;
    }
    
    .logo-info p {
        font-size: 0.95em;
    }
    
    .logo-meaning {
        padding: 60px 15px;
    }

    .meaning-container h2 {
        font-size: 2em;
        margin-bottom: 30px;
    }
    
    .meaning-content {
        padding: 30px 20px;
    }

    .meaning-text p {
        font-size: 1.05em;
        line-height: 1.7;
        margin-bottom: 12px;
    }
    
    .emphasis {
        font-size: 1.2em !important;
    }

    .navigation {
        flex-direction: column;
        align-items: center;
        padding: 50px 15px;
        gap: 15px;
    }

    .nav-btn {
        width: 250px;
        padding: 12px 25px;
    }
    
    .footer {
        padding: 30px 15px;
    }
    
    .footer-content p {
        font-size: 0.9em;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.4rem;
    }
    
    .nav-links {
        width: 70%;
    }
    
    .nav-links a {
        font-size: 1.1rem;
    }
    
    .main-container {
        padding-top: 70px;
    }
    
    .hero-section {
        padding: 40px 10px 60px;
    }

    .hero-content {
        width: 98%;
        min-height: 280px;
        padding: 25px 15px;
    }

    .title-line1 {
        font-size: 0.8em;
        margin-bottom: 6px;
    }

    .title-line2 {
        font-size: 1.5em;
        margin-bottom: 6px;
        letter-spacing: 1px;
    }

    .title-line3 {
        font-size: 2.2em;
    }
    
    .subtitle {
        font-size: 0.9em;
        margin-top: 12px;
    }
    
    .logo-showcase {
        padding: 50px 10px;
    }
    
    .logo-item {
        padding: 20px 15px;
    }
    
    .logo-frame {
        padding: 15px;
        margin-bottom: 15px;
        min-height: 150px;
    }
    
    .paran-logo,
    .paran-slogan {
        max-height: 120px;
    }
    
    .logo-info h3 {
        font-size: 1.2em;
        margin-bottom: 8px;
    }
    
    .logo-info p {
        font-size: 0.9em;
        line-height: 1.5;
    }

    .logo-meaning {
        padding: 50px 10px;
    }
    
    .meaning-container h2 {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
    
    .meaning-container h2::after {
        width: 50px;
        height: 3px;
    }

    .meaning-content {
        padding: 25px 15px;
    }

    .meaning-text p {
        font-size: 1em;
        line-height: 1.6;
        margin-bottom: 10px;
    }
    
    .emphasis {
        font-size: 1.1em !important;
    }

    .navigation {
        padding: 40px 10px;
        gap: 12px;
    }

    .nav-btn {
        width: 200px;
        padding: 10px 20px;
        font-size: 0.95em;
    }
    
    .footer {
        padding: 25px 10px;
    }
    
    .footer-content p {
        font-size: 0.8em;
        line-height: 1.4;
        margin-bottom: 8px;
    }
}