/* Greeting Page Styles */

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--text-white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ===== Quick Menu ===== */
.quick-menu {
    position: fixed;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    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 - only this should have border and strong styling */
.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 {
    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 on mobile */
@media (max-width: 1024px) {
    .quick-menu {
        display: none;
    }
}

/* Adjust main content margin for quick menu - removed to center content properly */
@media (min-width: 1025px) {
    .greeting-section .container {
        /* padding-left removed for proper centering */
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
}

/* ===== New Page CTA Design ===== */
.page-cta-new {
    position: relative;
    padding: 100px 0;
    background-image: url('/assets/images/about-cta.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    overflow: hidden;
}

/* Dark overlay for better text readability */
.page-cta-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

/* Pattern removed for cleaner look */
/* .cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.1) 35px, rgba(255,255,255,.1) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255,255,255,.05) 35px, rgba(255,255,255,.05) 70px);
    z-index: 2;
} */

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

.page-cta-new .cta-wrapper {
    text-align: center;
    position: relative;
}

.page-cta-new .cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-cta-new .cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.page-cta-new .cta-title span {
    display: inline-block;
    position: relative;
    color: #FFD700;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.page-cta-new .cta-title span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: #FFD700;
    border-radius: 2px;
}

.page-cta-new .cta-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.6;
}

.page-cta-new .cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.page-cta-new .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.page-cta-new .btn-primary {
    background: var(--text-white);
    color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-cta-new .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-cta-new .btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.page-cta-new .btn-outline:hover {
    background: var(--text-white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.page-cta-new .btn i {
    font-size: 1rem;
    animation: arrowMove 1.5s ease-in-out infinite;
}

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

/* Decorative Elements - Removed for cleaner look */
/* .page-cta-new .cta-wrapper::before,
.page-cta-new .cta-wrapper::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: -1;
}

.page-cta-new .cta-wrapper::before {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.page-cta-new .cta-wrapper::after {
    width: 400px;
    height: 400px;
    bottom: -200px;
    left: -200px;
} */

/* Responsive */
@media (max-width: 768px) {
    .page-cta-new {
        padding: 60px 0;
    }
    
    .page-cta-new .cta-title {
        font-size: 1.8rem;
    }
    
    .page-cta-new .cta-description {
        font-size: 1rem;
    }
    
    .page-cta-new .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .page-cta-new .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

/* ===== Page CTA Background Override ===== */
.greeting-section + .page-cta {
    background-image: url('/assets/images/about-cta.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    position: relative;
}

.greeting-section + .page-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.95));
    z-index: 1;
}

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

/* ===== Greeting Section ===== */
.greeting-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.greeting-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

/* ===== Greeting Header ===== */
.greeting-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

/* Award Badge */
.award-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--text-white);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.award-badge i {
    font-size: 1rem;
    color: #FFD700;
}

.greeting-title {
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-dark);
    margin: 0;
}

.greeting-title .highlight {
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
}

/* ===== Greeting Content ===== */
.greeting-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin: 0 auto 5rem;
}

/* Company Logo */
.company-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.company-logo {
    width: 280px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

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

/* Company Slogan */
.company-slogan {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.slogan-ko {
    color: var(--primary-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.slogan-en {
    color: var(--text-medium);
    font-size: 0.85rem;
    line-height: 1.4;
    font-style: italic;
    margin: 0;
}

/* Message Content */
.message-content {
    width: 100%;
    text-align: left;
}

.message-intro {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    text-align: center;
}

.message-intro .lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.message-intro .lead strong {
    color: var(--primary-color);
    font-weight: 600;
}

.message-body {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-medium);
}

.message-body p {
    margin-bottom: 1.8rem;
}

.message-body strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05), rgba(0, 168, 232, 0.05));
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: var(--border-radius);
}

.highlight-box h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.highlight-box h4 i {
    font-size: 1.1rem;
}

.highlight-box ul {
    list-style: none;
    padding: 0;
}

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

.highlight-box li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary-light);
}

.highlight-box li strong {
    color: var(--text-dark);
}

/* Vision Box */
.vision-box {
    background: var(--bg-light);
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: var(--border-radius);
    text-align: center;
}

.vision-box h4 {
    color: var(--primary-dark);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.vision-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-weight: 500;
    margin: 0;
}

.vision-box .vision-sub {
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--text-medium);
    font-weight: 400;
}

/* Closing Message */
.message-body .closing {
    margin-top: 3rem;
    padding-top: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
}

/* Signature */
.signature {
    margin-top: 3rem;
    padding: 2rem 0;
    text-align: center;
}

.signature p {
    margin: 0.5rem 0;
    color: var(--text-medium);
}

.ceo-signature {
    font-size: 1.25rem;
    color: var(--text-dark);
}

.ceo-signature strong {
    font-weight: 700;
}

/* ===== Company Values ===== */
.company-values {
    margin-top: 5rem;
    padding-top: 5rem;
}

.values-title {
    text-align: center;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    position: relative;
}

.values-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem 1rem;
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-white);
    transition: var(--transition);
}

.value-item:hover .value-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
}

.value-item h4 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.value-item p {
    color: var(--text-medium);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .greeting-content {
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .greeting-title {
        font-size: 2rem;
    }
    
    .greeting-content {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .company-logo-wrapper {
        padding: 2rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .company-logo {
        width: 200px;
    }
    
    .message-body {
        font-size: 1rem;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .greeting-title {
        font-size: 1.75rem;
    }
    
    .company-logo {
        width: 160px;
    }
    
    .highlight-box,
    .vision-box {
        padding: 1.5rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .value-item {
        padding: 1.5rem 1rem;
    }
}