/* ============================================
   GLOBAL STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #a78bfa;
    --secondary-color: #7c3aed;
    --accent-color: #c084fc;
    --light-color: #2d2d2d;
    --text-dark: #e0e0e0;
    --text-light: #b0b0b0;
    --border-color: #404040;
    --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    --bg-dark: #1a1a1a;
    --bg-card: #262626;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-dark);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* Breadcrumb Navigation */
.breadcrumb {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.breadcrumb-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

.breadcrumb span {
    color: var(--text-light);
    margin: 0 0.5rem;
}

/* Page Section Styles */
.page-section {
    max-width: 900px;
    padding: 2rem 0;
}

.page-section h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 1rem;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Content Cards */
.content-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.content-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.content-card h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 0;
}

.content-card h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.content-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.content-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content-card li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.content-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.content-card a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-card a:hover {
    color: var(--accent-color);
}

.contact-section {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 1rem;
    text-align: center;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-accent {
    background-color: var(--accent-color);
}

.btn-accent:hover {
    background-color: var(--primary-color);
}

.notice-card {
    background-color: rgba(167, 139, 250, 0.15) !important;
    border-left-color: #c084fc !important;
    border-left-width: 6px !important;
    border: 1px solid rgba(192, 132, 252, 0.3) !important;
}

.notice-card h2 {
    color: #a78bfa !important;
}

.header {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 0;
    border-bottom: 4px solid var(--accent-color);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-image {
    height: 50px;
    width: auto;
    border-radius: 8px;
}

.logo-text h1 {
    font-size: 1.3rem;
    margin-bottom: 0;
    font-weight: 700;
}

.tagline {
    display: none;
}

.language-nav {
    display: flex;
    gap: 1rem;
}

.lang-link {
    color: white;
    padding: 0.5rem 1rem;
    border: 2px solid white;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.lang-link:hover,
.lang-link.active {
    background-color: white;
    color: var(--primary-color);
}

/* Main Navigation - Hidden */
.main-nav {
    display: none;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, #5b2c91 0%, #3d1a5f 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.search-box {
    width: 100%;
    max-width: 500px;
    padding: 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    background-color: var(--bg-card);
    color: var(--text-dark);
    box-shadow: var(--card-shadow);
}

.search-box:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.3), var(--card-shadow);
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.section {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 0.75rem;
    display: inline-block;
}

/* Quick Links */
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.quick-link {
    display: block;
    padding: 1rem;
    background-color: var(--bg-card);
    color: var(--primary-color);
    border-left: 4px solid var(--accent-color);
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.quick-link:hover {
    background-color: rgba(167, 139, 250, 0.15);
    transform: translateX(4px);
}

/* Category Cards */
.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.category-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.card-header h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    flex: 1;
}

.card-title-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title-link:hover {
    color: var(--accent-color);
}

.explore-link {
    color: var(--accent-color);
    font-weight: 600;
    white-space: nowrap;
    margin-left: 1rem;
}

.explore-link a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.explore-link a:hover {
    color: var(--primary-color);
}

.card-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.card-links {
    list-style: none;
}

.card-links li {
    margin-bottom: 0.75rem;
}

.card-links a {
    color: var(--primary-color);
    font-weight: 500;
    padding-left: 1rem;
    position: relative;
    display: block;
}

.card-links a::before {
    content: "→";
    position: absolute;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-links a:hover::before {
    opacity: 1;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--bg-card);
    color: white;
    margin-top: 4rem;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.7rem;
}

.footer-section a {
    color: #a0a0a0;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .logo {
        flex-direction: column;
        justify-content: center;
    }

    .logo-image {
        height: 60px;
    }

    .logo-text h1 {
        font-size: 1.3rem;
    }

    .nav-content {
        flex-direction: column;
        gap: 0;
    }

    .nav-item {
        padding: 0.75rem 0;
    }

    .hero h2 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .main-content {
        padding: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 1rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .logo {
        gap: 1rem;
    }

    .logo-image {
        height: 50px;
    }

    .logo-text h1 {
        font-size: 1.1rem;
    }

    .language-nav {
        gap: 0.5rem;
    }

    .lang-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .quick-links {
        grid-template-columns: 1fr;
    }

    .card-header {
        flex-direction: column;
    }

    .explore-link {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}
