/* Common Page Styles - 모든 페이지에서 사용하는 공통 스타일 */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-light);
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--page-header-overlay, rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.breadcrumb {
    font-size: 0.9rem;
    opacity: 0.9;
    text-align: center;
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 0.7;
}

.breadcrumb .separator {
    margin: 0 0.5rem;
}

/* Page Navigation */
.page-nav {
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.page-nav-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1.5rem 0;
    margin: 0;
    list-style: none;
    text-align: center;
}

.page-nav-list a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.page-nav-list a:hover,
.page-nav-list a.active {
    color: var(--primary-color);
    background-color: rgba(160, 47, 129, 0.1);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-medium);
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.sub-title {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

/* Content Grids */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.content-box {
    background: var(--bg-light);
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    text-align: left;
}

.content-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(160, 47, 129, 0.15);
}

.content-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-align: left;
}

.content-box p {
    color: var(--text-medium);
    line-height: 1.7;
    text-align: left;
}

.content-box ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.content-box li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-medium);
    text-align: left;
}

.content-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* Icon Headers */
.icon-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.icon-wrap {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-wrap i {
    font-size: 1.5rem;
    color: var(--text-light);
}

.icon-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--text-dark);
}

/* Info Cards */
.info-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--border-radius-md);
    box-shadow: var(--card-shadow);
}

.info-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.info-card p {
    color: var(--text-medium);
    text-align: center;
}

.info-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 200px;
    margin: 0 auto;
}

.info-card li {
    padding: 0.3rem 0;
    color: var(--text-medium);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-light);
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    text-align: center;
}

/* Banner Styles */
.banner {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-light);
    padding: 3rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    margin: 3rem 0;
}

.banner h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.banner p {
    margin-bottom: 2rem;
    opacity: 0.9;
    text-align: center;
}

/* Feature Lists */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.feature-item div {
    flex: 1;
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    text-align: left;
}

.feature-item p {
    color: var(--text-medium);
    margin: 0;
    text-align: left;
}

/* Tables */
.content-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--bg-light);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.content-table th,
.content-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.content-table th {
    background: var(--primary-color);
    color: var(--text-light);
    font-weight: 600;
}

.content-table tr:last-child td {
    border-bottom: none;
}

/* Step Process */
.step-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.step-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--border-radius-md);
    box-shadow: var(--card-shadow);
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    right: 20px;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(160, 47, 129, 0.1);
}

.step-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step-item p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* Responsive Design */
/* Tablet Styles */
@media (max-width: 1412px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .content-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .step-process {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
    }
    
    .content-box {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .page-nav-list {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem;
    }
    
    .page-nav-list a {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .step-process {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .icon-header {
        flex-direction: column;
        text-align: center;
    }
    
    .icon-header h3 {
        text-align: center;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-item h4,
    .feature-item p {
        text-align: center;
    }
}

/* Utility Classes */
.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 1rem !important; }
.mb-2 { margin-bottom: 2rem !important; }
.mb-3 { margin-bottom: 3rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 1rem !important; }
.mt-2 { margin-top: 2rem !important; }
.mt-3 { margin-top: 3rem !important; }

/* Responsive Button Display */
.mobile-only { 
    display: none; 
}

.desktop-only { 
    display: block; 
}

@media (max-width: 768px) {
    .mobile-only { 
        display: block; 
    }
    
    .desktop-only { 
        display: none; 
    }
}