/* ============================================
   pages_enhanced.css
   Shared enhancement styles for aboutCompany & aboutService
   ============================================ */

/* @import url(https://cdn.jsdelivr.net/gh/moonspam/NanumSquare@2.0/nanumsquare.css); */

/* Pretendard — npm CDN (모든 굵기 포함) */
@import url('/css/pretendard.css');

body		{ font-family: 'Pretendard', sans-serif }
.normal		{ font-weight: 400 }
.bold		{ font-weight: 700 }
.bolder		{ font-weight: 800 }
.light		{ font-weight: 300 }





/* ============================================
   CSS Variables (consistent with landing.css)
   ============================================ */
:root {
    --pe-primary-dark: #333333;
    --pe-primary-mid: #2b2b2b;
    --pe-primary-light: #444444;
    --pe-accent: #D10217;
    --pe-accent-dark: #a80113;
    --pe-accent-light: #e6253a;
    --pe-text-dark: #333333;
    --pe-text-mid: #555555;
    --pe-text-light: #888888;
    --pe-text-white: #ffffff;
    --pe-bg-white: #ffffff;
    --pe-bg-light: #f5f5f5;
    --pe-bg-section: #eeeeee;
    --pe-border: #e0e0e0;
    --pe-shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --pe-shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --pe-shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --pe-radius-sm: 8px;
    --pe-radius-md: 16px;
    --pe-radius-lg: 24px;
    --pe-transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --pe-transition-med: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    /* --pe-max-width: 1200px; */
    --pe-max-width: 1000px;
    --pe-max-width2: 860px;
    
}

/* ============================================
   Font Size Based Color Rules
   Automatically apply colors based on font-size value
   ============================================ */
/* 12px 이하: --text-light */
*[style*="font-size: 10px"], *[style*="font-size: 11px"], *[style*="font-size: 12px"] {
    color: var(--text-light) !important;
}

/* 13~16px: --text-mid */
*[style*="font-size: 13px"], *[style*="font-size: 14px"], *[style*="font-size: 15px"], *[style*="font-size: 16px"] {
    color: var(--text-mid) !important;
}

/* 17px 초과: --text-dark */
*[style*="font-size: 17px"], *[style*="font-size: 18px"], *[style*="font-size: 19px"], *[style*="font-size: 20px"], *[style*="font-size: 21px"], *[style*="font-size: 22px"], *[style*="font-size: 23px"], *[style*="font-size: 24px"], *[style*="font-size: 25px"], *[style*="font-size: 26px"], *[style*="font-size: 27px"], *[style*="font-size: 28px"], *[style*="font-size: 29px"], *[style*="font-size: 30px"], *[style*="font-size: 31px"], *[style*="font-size: 32px"], *[style*="font-size: 33px"], *[style*="font-size: 34px"], *[style*="font-size: 35px"], *[style*="font-size: 36px"], *[style*="font-size: 37px"], *[style*="font-size: 38px"], *[style*="font-size: 39px"], *[style*="font-size: 40px"], *[style*="font-size: 41px"], *[style*="font-size: 42px"], *[style*="font-size: 43px"], *[style*="font-size: 44px"], *[style*="font-size: 45px"], *[style*="font-size: 46px"], *[style*="font-size: 47px"], *[style*="font-size: 48px"], *[style*="font-size: 49px"], *[style*="font-size: 50px"], *[style*="font-size: 51px"], *[style*="font-size: 52px"], *[style*="font-size: 53px"], *[style*="font-size: 54px"], *[style*="font-size: 55px"], *[style*="font-size: 56px"], *[style*="font-size: 57px"], *[style*="font-size: 58px"], *[style*="font-size: 59px"], *[style*="font-size: 60px"], *[style*="font-size: 61px"], *[style*="font-size: 62px"], *[style*="font-size: 63px"], *[style*="font-size: 64px"], *[style*="font-size: 65px"], *[style*="font-size: 66px"], *[style*="font-size: 67px"], *[style*="font-size: 68px"], *[style*="font-size: 69px"], *[style*="font-size: 70px"], *[style*="font-size: 71px"], *[style*="font-size: 72px"] {
    color: var(--text-dark) !important;
}


/* ============================================
   Scroll Reveal Animations
   ============================================ */
.pe-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.pe-reveal.pe-visible {
    opacity: 1;
    transform: translateY(0);
}

.pe-reveal-left {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.pe-reveal-left.pe-visible {
    opacity: 1;
    transform: translateY(0);
}

.pe-reveal-right {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.pe-reveal-right.pe-visible {
    opacity: 1;
    transform: translateY(0);
}

.pe-reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.pe-reveal-scale.pe-visible {
    opacity: 1;
    transform: scale(1);
}

.pe-reveal-fade {
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.pe-reveal-fade.pe-visible {
    opacity: 1;
}

/* Stagger delays */
.pe-delay-1 { transition-delay: 0.1s; }
.pe-delay-2 { transition-delay: 0.2s; }
.pe-delay-3 { transition-delay: 0.3s; }
.pe-delay-4 { transition-delay: 0.4s; }
.pe-delay-5 { transition-delay: 0.5s; }
.pe-delay-6 { transition-delay: 0.6s; }


/* ============================================
aboutCompany - Enhanced Styles
============================================ */

/* Page hero banner */
.ac-hero {
    width: 100%;
    min-height: 420px;
    /* background: linear-gradient(135deg, var(--pe-primary-dark) 0%, var(--pe-primary-mid) 40%, var(--pe-primary-light) 100%); */
    background-color: var(--pe-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}
.ac-hero::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}
.ac-hero::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(209,2,23,0.06);
    pointer-events: none;
}

.ac-hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 40px;
    max-width: var(--pe-max-width);
}

.ac-hero-label {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.ac-hero-quote-mark {
    font-size: 64px;
    font-family: 'IBM Plex Serif', serif;
    color: var(--pe-accent-light);
    line-height: 0.5;
    display: inline-block;
    opacity: 0.7;
}

.ac-hero-title {
    font-size: 34px;
    font-weight: 800;
    color: var(--pe-text-white);
    line-height: 1.4;
    margin: 16px 0;
    letter-spacing: -0.5px;
}

.ac-hero-gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, var(--pe-bg-light), transparent);
    z-index: 3;
}


/* Company description section */
.ac-desc-section {
    width: 100%;
    padding: 100px 40px;
    background-color: var(--pe-bg-light);
    display: flex;
    justify-content: center;
}

.ac-desc-inner {
    max-width: 860px;
    /* max-width: var(--pe-max-width); */
    width: 100%;
}

.ac-desc-paragraph {
    font-size: 17px;
    font-weight: 400;
    color: var(--pe-text-mid);
    line-height: 2;
    margin-bottom: 28px;
    position: relative;
    padding-left: 0;
}

.ac-desc-paragraph:first-child::before {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--pe-accent), var(--pe-accent-light));
    margin-bottom: 32px;
    border-radius: 2px;
}

.ac-signature {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--pe-border);
    font-size: 20px;
    font-weight: 800;
    color: var(--pe-text-dark);
}

.ac-link-detail {
    margin-top: 16px;
    font-size: 15px;
    color: var(--pe-text-light);
}
.ac-link-detail a {
    color: var(--pe-accent);
    font-weight: 700;
    text-decoration: none;
    position: relative;
    transition: color var(--pe-transition-fast);
}
.ac-link-detail a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--pe-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--pe-transition-fast);
}
.ac-link-detail a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}


/* Contact / Location section */
.ac-contact-section {
    width: 100%;
    padding: 100px 40px;
    background-color: var(--pe-bg-white);
    display: flex;
    justify-content: center;
}
    .ac-contact-inner {
        max-width: var(--pe-max-width2);
        width: 100%;
    }

.ac-section-title-row {
    max-width: var(--pe-max-width2);
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    /* margin-bottom: 48px; */
    margin-bottom: 30px;
    line-height: 1.5;
}
.ac-section-bullet {
    width: 5px;
    /* height: 32px; */
    min-height: 32px;
    align-self: stretch;
    background: linear-gradient(180deg, var(--pe-accent), var(--pe-accent-light));
    border-radius: 3px;
    flex-shrink: 0;
}
.ac-section-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--pe-text-dark);
    letter-spacing: -0.3px;
}

    .ac-contact-grid {
        /* display: grid;
        grid-template-columns: 1fr 1.2fr;
        gap: 48px;
        align-items: start; */

        display: flex;
        flex-wrap: wrap;
        /* gap: 10px; */
        column-gap: calc(100% - 410px - 410px);
        row-gap: 20px;
    }

        .ac-address-card {
            max-width: 410px;
            width: 100%;
            /* height: 100%; */
            height: 360px;
            background-color: var(--pe-bg-light);
            border-radius: var(--pe-radius-lg);
            padding: 48px;
            border: 1px solid var(--pe-border);
            /* transition: box-shadow var(--pe-transition-fast); */

            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
        }
        .ac-address-card:hover {
            box-shadow: var(--pe-shadow-md);
        }

            .ac-address-item {
                display: flex;
                align-items: flex-start;
                gap: 16px;
                margin-bottom: 28px;
            }
            .ac-address-item:last-child {
                margin-bottom: 0;
            }

            .ac-address-icon {
                width: 40px;
                height: 40px;
                border-radius: var(--pe-radius-sm);
                background-color: var(--pe-bg-white);
                display: flex;
                align-items: center;
                justify-content: center;
                flex-shrink: 0;
                box-shadow: var(--pe-shadow-sm);
            }
            .ac-address-icon svg {
                width: 18px;
                height: 18px;
                color: var(--pe-accent);
            }

            .ac-address-label {
                font-size: 13px;
                font-weight: 700;
                color: var(--pe-text-light);
                margin-bottom: 4px;
                text-transform: uppercase;
                letter-spacing: 0.5px;
            }
            .ac-address-value {
                font-size: 16px;
                font-weight: 400;
                color: var(--pe-text-dark);
                line-height: 1.6;
            }

        .ac-map-wrapper {
            max-width: 410px;
            width: 100%;
            height: 360px;
            border-radius: var(--pe-radius-lg);
            overflow: hidden;
            box-shadow: var(--pe-shadow-md);
            border: 1px solid var(--pe-border);
        }
            .ac-map-wrapper iframe {
                width: 100%;
                height: 400px;
                border: 0;
                display: block;
            }

/* @media screen and (max-width: 860px) { */
@media screen and (max-width: 1024px) {
    .ac-hero-title {
        font-size: 26px;
    }
    .ac-hero-inner {
        padding: 60px 24px;
    }
    .ac-desc-section {
        padding: 60px 24px;
    }
    .ac-contact-section {
        padding: 60px 24px;
    }
    .ac-contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .ac-address-card {
        padding: 32px;
    }
    .ac-map-wrapper iframe {
        height: 300px;
    }
    .ac-desc-paragraph {
        font-size: 15px;
    }
}

@media screen and (max-width: 480px) {
    .ac-hero {
        min-height: 280px;
    }
    .ac-hero-title {
        font-size: 22px;
    }
    .ac-hero-quote-mark {
        font-size: 48px;
    }
    .ac-hero-inner {
        padding: 48px 20px;
    }
    .ac-section-title {
        font-size: 22px;
    }
}

