/*
Theme Name: Bright Heungsinso Template
Theme URI: http://example.com/
Description: A bright, modern, and SEO-optimized WordPress theme for Private Investigator agencies (흥신소).
Version: 1.0
Author: Antigravity
Author URI: http://example.com/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bright-heungsinso
*/

:root {
    --bg-dark: #0f172a;
    /* Deep Navy/Charcoal */
    --bg-surface: #1e293b;
    /* Lighter Slate */
    --primary: #3b82f6;
    /* Vibrant Blue */
    --accent: #fbbf24;
    /* Premium Gold */
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --border: #334155;
}

/* CSS Reset & General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Layout Containers */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Header */
header {
    background: var(--bg-surface);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo h1 {
    font-size: 1.7rem;
    color: var(--accent);
    font-weight: 800;
}

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu li a {
    font-weight: 500;
    color: var(--text-main);
}

.nav-menu li a:hover {
    color: var(--primary);
}

.cta-button {
    background: var(--primary);
    color: #fff;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.cta-button:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* Hero Slider */
.hero-slider {
    height: 80vh;
    width: 100%;
}

.swiper-slide {
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
    height: 100%;
}

.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    /* Darker overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 90%;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.8rem;
    color: #fff;
    margin-bottom: 25px;
    word-break: keep-all;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--accent);
}

.swiper-pagination-bullet {
    background: #666;
}

.swiper-pagination-bullet-active {
    background: var(--accent);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.services-4-col {
    grid-template-columns: repeat(4, 1fr);
}

.service-card {
    background: var(--bg-surface);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--accent);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

/* About Section */
.about {
    background-color: var(--bg-surface);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Professional Column / Blog Section */
.professional-column {
    background-color: #fff;
    padding-top: 100px;
}

.post-content {
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.post-content table th {
    background: #003366;
    color: #fff;
    padding: 15px;
    text-align: left;
}

.post-content table td {
    border: 1px solid #eee;
    padding: 15px;
}

.toc-box {
    background: #f8faff;
    border-left: 5px solid #1A73E8;
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
}

.toc-box h3 {
    margin-bottom: 20px;
    color: #003366;
}

.toc-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toc-list a {
    color: #444;
    font-weight: 500;
}

.toc-list a:hover {
    color: #1A73E8;
    text-decoration: underline;
}

.post-content h2 {
    margin: 60px 0 25px;
    font-size: 2rem;
    color: #003366;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.post-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #444;
}

.post-content blockquote {
    border-left: 5px solid #1A73E8;
    padding: 20px 30px;
    background: #f0f7ff;
    font-style: italic;
    margin: 30px 0;
}

.faq-item {
    background: var(--bg-surface);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    background: var(--bg-surface);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--text-muted);
    display: none;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

/* Footer */
footer {
    background: #f4f7f9;
    padding: 60px 0 20px;
    border-top: 1px solid #e0e6ed;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h4 {
    margin-bottom: 20px;
    color: #003366;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #999;
}

/* Floating Button */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 1.5rem;
}

.float-call {
    background: #1A73E8;
}

.float-kakao {
    background: #fee500;
    color: #3c1e1e;
}

@media (max-width: 1024px) {
    .services-4-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-4-col {
        grid-template-columns: 1fr;
    }

    .header-inner {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }

    .nav-menu {
        margin: 15px 0;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .about-content {
        flex-direction: column;
    }
}