/* Sub Page Common Styles */

/* ===== Quick Menu ===== */
.quick-menu {
    position: fixed;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;  /* navbar보다 낮게 */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    min-width: 180px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Category Header */
.quick-menu-header {
    width: 100%;
    text-align: left;
    padding-bottom: 1rem;
    padding-left: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 0.5rem;
}

.category-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Quick Navigation */
.quick-nav {
    width: 100%;
}

.nav-section {
    width: 100%;
}

.quick-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quick-nav li {
    position: relative;
    width: 100%;
}

.quick-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-medium);
    font-size: 0.9rem;
    position: relative;
    border-left: 3px solid transparent;
}

.quick-nav .dot {
    width: 8px;
    height: 8px;
    background: var(--text-light);
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.quick-nav .label {
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.quick-nav a:hover {
    background: rgba(0, 102, 204, 0.03);
    color: var(--text-dark);
}

.quick-nav a:hover .dot {
    background: var(--text-medium);
    transform: scale(1.2);
}

/* Active state */
.quick-nav li.active a {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 168, 232, 0.05));
    color: var(--primary-color);
    font-weight: 700;
    border-left: 3px solid var(--primary-color);
    transform: translateX(2px);
}

.quick-nav li.active .dot {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.4);
}

.quick-nav li.active .label {
    font-weight: 700;
}

/* Quick Menu Footer (Logo) - 숨김 처리 */
.quick-menu-footer {
    display: none;
    width: 100%;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(0, 102, 204, 0.2);
    text-align: left;
    padding-left: 0.75rem;
}

.quick-logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.5rem 0;
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
}

.quick-logo:hover {
    transform: scale(1.05);
}

.quick-logo img {
    width: 90px;
    height: auto;
    filter: brightness(1);
    transition: all 0.3s ease;
}

.quick-logo:hover img {
    filter: brightness(1.2);
    transform: scale(1.05);
}

/* Hide quick menu on mobile */
@media (max-width: 1024px) {
    .quick-menu {
        display: none;
    }
}

/* Main content centering - removed padding/margin adjustments */
@media (min-width: 1025px) {
    /* Content stays centered, no special adjustments for quick menu */
    .certification-section .container,
    .greeting-section .container,
    .history-section .container,
    .organization-section .container,
    .business-section .container,
    .location-section .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
}

/* ===== Page Header ===== */
.page-header {
    position: relative;
    padding: 180px 0 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    overflow: hidden;
    min-height: 450px;
    display: flex;
    align-items: center;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: fadeInDown 0.6s ease;
}

.hero-badge i {
    font-size: 1rem;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

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

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.95rem;
    opacity: 0.9;
    animation: fadeIn 1s ease 0.3s both;
}

.breadcrumb a {
    color: var(--text-white);
    transition: var(--transition);
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb .separator {
    opacity: 0.5;
}

.breadcrumb .current {
    font-weight: 500;
}

/* ===== Section Common ===== */
.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--primary-light);
    color: var(--text-white);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

/* ===== Page CTA ===== */
.page-cta {
    padding: 80px 0;
    text-align: center;
    position: relative;
    background-color: var(--bg-light);
}

.page-cta[style*="background-image"] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.page-cta[style*="background-image"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.92);
    z-index: 1;
}

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

.cta-wrapper h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.cta-wrapper p {
    color: var(--text-medium);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

.cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.cta-buttons .btn i {
    animation: arrowMove 1.5s ease-in-out infinite;
}

@keyframes arrowMove {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

.cta-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.cta-buttons .btn:hover i {
    animation-duration: 0.5s;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .page-header {
        padding: 140px 0 60px;
        min-height: 350px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .breadcrumb {
        font-size: 0.85rem;
        gap: 0.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 200px;
    }
}