/*
Theme Name: K Integrity Tax and Accounting
Theme URI: https://kintaccounting.com
Author: K Integrity
Description: Custom theme for K Integrity Tax and Accounting
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* --- 기존 CSS 내용 시작 --- */
:root {
    --color-primary: #0a192f;
    --color-secondary: #d4af37;
    --color-bg: #f8f9fa;
    --color-text: #333333;
    --color-text-light: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --spacing-container: 1200px;
    --spacing-padding: 2rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    color: var(--color-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 var(--spacing-padding);
}

/* Header */
#header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

#header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    /* Increased size (1.5 * 1.2) */
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    /* Adjust height as needed to fit header */
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a:hover {
    color: var(--color-secondary);
}

/* Hero */
#hero {
    /* 워드프레스용 경로 수정: assets 폴더가 테마 루트에 있다고 가정 */
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.7)), url('assets/hero.png');
    background-size: cover;
    background-position: center;
    color: var(--color-text-light);
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
    /* Gold heading */
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn.primary {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    font-weight: 700;
}

.btn.primary:hover {
    background-color: #e5c14b;
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 4rem 0;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 120px;
    height: 3px;
    background-color: var(--color-secondary);
    margin: 1rem auto 0;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border-top: 4px solid var(--color-secondary);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    margin-bottom: 1rem;
}



.credential {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.credential h4 {
    font-size: 1.1rem;
    color: var(--color-secondary);
    /* Gold for credential title */
    margin-bottom: 0.25rem;
}

.credential-desc {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.qb-badges {
    display: block;
    max-width: 100%;
    height: auto;
    margin-top: 1rem;
    width: 200px;
    /* Adjust as needed */
}



/* Contact */
.contact-info {
    text-align: center;
    font-size: 1.2rem;
}

.contact-info p {
    margin: 0.5rem 0;
}

.contact-info a {
    color: var(--color-primary);
    font-weight: 600;
}

.contact-info a:hover {
    color: var(--color-secondary);
}

/* Footer */
footer {
    background-color: var(--color-primary);
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
}

/* Korean Text Styles */
.kr-text {
    font-family: 'Inter', sans-serif;
    color: #555;
    margin-top: 0.5rem;
    font-size: 0.95em;
    line-height: 1.6;
}

.kr-subtitle {
    font-size: 0.8em;
    font-weight: 500;
    color: #666;
    margin-left: 0.5rem;
}

#about p.kr-text {
    margin-top: 1rem;
}