/* SNS Cyber Service Center - Option 2: Light & Clean Design */

:root {
    /* Color Palette */
    --primary-color: #3498db;
    /* Soft Blue */
    --secondary-color: #ffffff;
    /* White */
    --accent-color: #2980b9;
    /* Darker Blue for hover/active */
    --text-color: #444444;
    /* Lighter Grey for text */
    --light-text-color: #888888;
    /* Grey for secondary text */
    --background-color: #ffffff;
    /* Pure white background for cleaner look */
    --footer-bg-color: #f8f9fa;
    /* Light Grey for footer (Brighter) */
    --footer-text-color: #333333;
    --border-color: #eeeeee;

    /* Typography */
    --font-family-base: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;

    /* Spacing */
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 64px;

    /* Layout */
    --container-width: 1200px;
    --header-height: 70px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-color);
    background-color: var(--background-color);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Header & Navigation */
header {
    background-color: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.2;
    text-align: left;
}

.logo span {
    display: block;
}

.logo .logo-main {
    font-size: 24px;
    color: #2c3e50;
}

.logo .logo-sub {
    font-size: 14px;
    color: var(--light-text-color);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('../assets/hero_bg_light_clean.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    color: #555;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn {
    margin: 0 10px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--light-text-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

.service-card p {
    color: var(--light-text-color);
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: var(--footer-bg-color);
    color: var(--footer-text-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    padding: 0 var(--spacing-md);
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--light-text-color);
    font-size: 14px;
}

/* ===== Responsive - 태블릿 (768px 이하) ===== */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    .container {
        padding: 0 15px;
    }

    /* 헤더 & 네비게이션 */
    header {
        height: var(--header-height);
    }

    .logo img {
        height: 50px !important;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: white;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        gap: 15px;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        text-align: center;
    }

    .nav-link {
        display: block;
        padding: 10px;
        font-size: 16px;
    }

    .nav-link::after {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        padding: 10px;
    }

    /* 히어로 섹션 */
    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 28px;
        line-height: 1.3;
        padding: 0 10px;
    }

    .hero p {
        font-size: 15px;
        padding: 0 15px;
        margin-bottom: 25px;
    }

    .hero .btn {
        display: block;
        margin: 10px 20px;
        padding: 12px 20px;
    }

    /* 서비스 섹션 */
    .services {
        padding: 40px 0;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .section-title h2 {
        font-size: 22px;
    }

    .section-title p {
        font-size: 14px;
        padding: 0 10px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    .service-card {
        padding: 25px 20px;
    }

    .service-icon {
        font-size: 36px;
    }

    .service-card h3 {
        font-size: 18px;
    }

    .service-card p {
        font-size: 14px;
    }

    /* 버튼 */
    .btn {
        padding: 10px 18px;
        font-size: 14px;
    }

    /* 푸터 */
    footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .footer-column h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .footer-links li {
        margin-bottom: 8px;
    }

    .footer-bottom p {
        font-size: 12px;
        line-height: 1.6;
    }
}

/* ===== Responsive - 소형 모바일 (480px 이하) ===== */
@media (max-width: 480px) {
    :root {
        --header-height: 55px;
    }

    .logo img {
        height: 40px !important;
    }

    .hero {
        padding: 40px 0;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

    .section-title h2 {
        font-size: 20px;
    }

    .service-card {
        padding: 20px 15px;
    }

    .service-icon {
        font-size: 32px;
    }

    .service-card h3 {
        font-size: 16px;
    }

    .btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}