/*
Theme Name: RSDWatch Theme
Theme URI: https://rsdwatch.org/
Author: Arklink & Gemini
Author URI: https://arklink.co.kr/
Description: A custom theme for RSDWatch.org based on the initial design draft. Version 2.0
Version: 2.0
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&display=swap');

:root {
    --primary-color: #005A9C; /* Deep, trustworthy blue */
    --secondary-color: #337AB7; /* Lighter blue for links and accents */
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #f4f4f4;
    --white-color: #ffffff;
    --font-family: 'Noto Sans KR', sans-serif;
}

/* --- General Styles --- */
body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-gray);
    margin: 0;
    background-color: var(--white-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4 {
    font-weight: 700;
}

/* --- Header & Navigation --- */
.site-header {
    background: var(--white-color);
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-title a {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
}
.site-title a:hover {
    text-decoration: none;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    color: var(--medium-gray);
    font-weight: 500;
    font-size: 1rem;
    padding-bottom: 5px;
}
.main-nav a:hover, .main-nav a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}


/* --- Hero Section --- */
.hero {
    background-color: var(--light-gray);
    padding: 80px 0;
    text-align: center;
}

.hero-text h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #00487a; /* Darker blue on hover */
    text-decoration: none;
}

/* --- Core Topics Section --- */
.core-topics {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h3 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--medium-gray);
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.topic-card {
    background: var(--white-color);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.topic-card h4 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-top: 0;
}

.topic-card p {
    margin-bottom: 1.5rem;
}

.topic-card a {
    font-weight: 700;
}

/* --- Professional Solutions Intro Section on Main Page --- */
.professional-solutions-intro {
    background-color: var(--light-gray);
    padding: 60px 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--dark-gray);
    color: var(--light-gray);
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}

.site-footer p {
    margin: 5px 0;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
    }
    
    .main-nav {
        margin-top: 15px;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav li {
        margin: 5px 10px;
    }

    .hero-text h2 {
        font-size: 2.2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }
} 