/* ==========================================================================
   Industrial Park Template Kit - Single Blue Accent Layout CSS
   Daegu Urban Development Corporation (대구도시개발공사) Presale Standard
   ========================================================================== */

/* Hero Background Image & Overlay */
.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 65% 35%, rgba(0, 91, 172, 0.12) 0%, transparent 60%),
                linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.95) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Subpage Hero Banner */
.sub_top {
    position: relative;
    height: 320px;
    background: linear-gradient(135deg, #174b78 0%, #2b6f9f 55%, #4c88b2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    padding-top: 75px;
}

.sub_top::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 25%, rgba(255, 255, 255, 0.22) 0%, transparent 60%),
                linear-gradient(180deg, rgba(11, 60, 117, 0.08) 0%, rgba(11, 60, 117, 0.35) 100%);
    z-index: 1;
}

.sub_top_txt {
    position: relative;
    z-index: 2;
}

.sub_top_txt h2 {
    font-family: var(--font-en);
    font-size: 2.6rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
    margin-bottom: 8px;
}

.sub_top_txt p {
    font-size: 0.95rem;
    color: #e0f0ff;
    letter-spacing: -0.01em;
}

/* SNB (Sub Navigation Bar & Breadcrumbs) */
#snb_wrap {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 75px;
    z-index: 99;
}

#snb {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 4%;
}

#snb > li {
    position: relative;
    display: flex;
    align-items: center;
    border-right: 1px solid #e5e5e5;
}

#snb > li:first-child {
    border-left: 1px solid #e5e5e5;
    padding: 13px 18px;
    font-size: 1rem;
}

#snb > li:first-child a {
    color: #555555;
}

#snb > li.snb-select > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 22px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #111111;
    min-width: 160px;
}

#snb > li.snb-select > a::after {
    content: '▼';
    font-size: 0.55rem;
    color: #888888;
    transition: transform 0.2s ease;
}

#snb > li.snb-select:hover > a::after {
    transform: rotate(180deg);
}

#snb > li.snb-select .snb_depth2 {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-top: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 100;
}

#snb > li.snb-select:hover .snb_depth2 {
    opacity: 1;
    visibility: visible;
}

#snb > li.snb-select .snb_depth2 li a {
    display: block;
    padding: 10px 18px;
    font-size: 0.88rem;
    color: #444444;
    transition: all 0.2s ease;
}

#snb > li.snb-select .snb_depth2 li a:hover,
#snb > li.snb-select .snb_depth2 li.active a {
    background: var(--accent-blue-subtle, #f0f6fc);
    color: var(--accent-blue, #005bac);
    font-weight: 700;
}

/* Subpage Main Container */
#sub_container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 70px 4% 120px;
    min-height: calc(100vh - 550px);
}

#sub_tit {
    text-align: center;
    margin-bottom: 55px;
}

#sub_tit h2 {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 800;
    color: #000000;
    letter-spacing: -0.03em;
}

#sub_tit p {
    font-size: 0.95rem;
    color: #777777;
    margin-top: 8px;
}

.sub_line {
    width: 32px;
    height: 2px;
    background: var(--accent-blue, #005bac);
    margin: 16px auto 0;
}

/* Floating Quick Menu (Side Panel) */
.quick_floating {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick_btn {
    width: 58px;
    height: 58px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #111111;
    transition: all 0.2s ease;
    border: 1px solid #e5e5e5;
}

.quick_btn.primary {
    background: var(--accent-blue, #005bac);
    color: #ffffff;
    border-color: var(--accent-blue, #005bac);
}

.quick_btn:first-child {
    background: var(--color-coral, #dc2626);
    color: #ffffff;
    border-color: var(--color-coral, #dc2626);
}
.quick_btn:first-child:hover {
    background: var(--color-coral-hover, #b91c1c);
    color: #ffffff;
    border-color: var(--color-coral-hover, #b91c1c);
}

.quick_btn:hover {
    transform: translateX(-3px);
    border-color: var(--accent-blue, #005bac);
    color: var(--accent-blue, #005bac);
}

.quick_btn.primary:hover {
    background: var(--accent-blue-hover, #004585);
    color: #ffffff;
}

.quick_btn svg {
    width: 18px;
    height: 18px;
}

.scroll_top_btn {
    width: 38px;
    height: 38px;
    background: var(--mono-bg-dark, #0b192c);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-top: 4px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.25s ease;
}

.scroll_top_btn:hover {
    background: var(--accent-blue, #005bac);
    color: #ffffff;
    border-color: var(--accent-blue, #005bac);
}

/* Footer */
footer.main_footer {
    background: linear-gradient(135deg, #f4f9ff 0%, #e7f1fb 100%);
    color: #334155;
    padding: 60px 4% 40px;
    border-top: 1px solid #c9deef;
    font-size: 0.85rem;
    line-height: 1.7;
}

.footer_inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
}

.f_left {
    max-width: 800px;
}

.f_logo {
    margin-bottom: 16px;
}

.f_logo img {
    width: 175px !important;
    height: auto !important;
    max-width: 175px !important;
}

.f_disclaimer {
    font-size: 0.78rem;
    color: #526477;
    margin-bottom: 20px;
    line-height: 1.6;
}

.f_info ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-bottom: 14px;
}

.f_info li {
    font-size: 0.82rem;
    color: #526477;
}

.f_info li span {
    color: #0a3f74;
    font-weight: 500;
    margin-right: 6px;
}

.f_copy {
    font-size: 0.78rem;
    color: #718197;
    margin-top: 12px;
}

.f_right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.f_companies {
    background: #ffffff;
    border: 1px solid #c9deef;
    border-radius: 4px;
    padding: 12px 18px;
}

.f_companies ul {
    display: flex;
    gap: 18px;
}

.f_companies li {
    font-size: 0.82rem;
    color: #132238;
}

.f_companies li span {
    display: inline-block;
    padding: 1px 5px;
    background: #dbeafe;
    border-radius: 2px;
    font-size: 0.72rem;
    color: #0a3f74;
    margin-right: 6px;
}

.f_contact_box {
    text-align: right;
}

.f_tel_label {
    font-size: 0.78rem;
    color: #526477;
}

.f_tel_num {
    font-family: var(--font-en);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-blue, #005bac);
}

.f_tel_num a {
    color: inherit;
}

/* Custom Cursor */
#cursor {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cursor__circle {
    width: 24px;
    height: 24px;
    border: 1.5px solid var(--accent-blue, #005bac);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
}

body.main .cursor__circle {
    border-color: #ffffff;
}

body.cursor-active #cursor {
    opacity: 1;
}

#cursor.cursor-hover .cursor__circle {
    width: 48px;
    height: 48px;
    background: rgba(0, 91, 172, 0.12);
}

body.main #cursor.cursor-hover .cursor__circle {
    background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
    #cursor { display: none !important; }
}

@media (max-width: 992px) {
    .sub_top { height: 260px; }
    .footer_inner { flex-direction: column; gap: 30px; }
    .f_right { align-items: flex-start; }
    .f_contact_box { text-align: left; }
    .quick_floating { display: none; }
}

@media (max-width: 576px) {
    .f_logo img {
        width: 140px !important;
        max-width: 140px !important;
    }
    .sub_top { height: 210px; padding-top: 50px; }
    .sub_top_txt h2 { font-size: 1.8rem; }
    #sub_container { padding: 40px 5% 80px; }
    #sub_tit h2 { font-size: 1.8rem; }
}
