/* =========================
   기본 설정
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, "Noto Sans KR", sans-serif;
    color: #171717;
    background: #ffffff;
}


/* =========================
   HEADER
========================= */

header {
    height: 86px;
    padding: 0 6%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #eeeeee;

    position: sticky;
    top: 0;
    z-index: 1000;

    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.025);
}


/* =========================
   LOGO
========================= */

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    display: block;
    width: auto;
    height: 92px;
    max-width: 280px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.logo:hover img {
    transform: scale(1.02);
}


/* =========================
   NAVIGATION
========================= */

nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

nav a {
    position: relative;
    color: #222;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    padding: 31px 2px;
    transition: color 0.2s ease;
}

nav a::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: 20px;

    width: 0;
    height: 2px;

    background: #e30613;

    transform: translateX(-50%);
    transition: width 0.25s ease;
}

nav a:hover {
    color: #e30613;
}

nav a:hover::after {
    width: 100%;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 610px;
    padding: 70px 7%;

    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 75px;
    align-items: center;

    background:
        radial-gradient(
            circle at 75% 30%,
            rgba(220,225,230,0.25),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #fff 0%,
            #fafafa 100%
        );
}

.eyebrow {
    color: #e30613;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 54px;
    line-height: 1.22;
    letter-spacing: -2px;
    color: #111;
    margin-bottom: 24px;
    word-break: keep-all;
}

.hero-content h1 span {
    color: #e30613;
}

.hero-content .description {
    max-width: 690px;
    color: #666;
    font-size: 17px;
    line-height: 1.9;
    word-break: keep-all;
    margin-bottom: 34px;
}


/* =========================
   HERO BUTTON
========================= */

.hero-buttons {
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 96px;
    height: 48px;

    padding: 0 22px;

    border-radius: 6px;

    text-decoration: none;

    font-size: 15px;
    font-weight: 800;

    transition: 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: #e30613;
    color: #fff;
}

.btn-dark {
    background: #111;
    color: #fff;
}


/* =========================
   MAIN BANNER SLIDER
========================= */

.hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;

    border-radius: 20px;
    overflow: hidden;

    box-shadow: 0 25px 55px rgba(0,0,0,0.14);

    background: #eef2f5;
}

.slide {
    position: absolute;
    inset: 0;

    opacity: 0;

    transition: opacity 0.8s ease;

    pointer-events: none;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eef2f5;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}

.slider-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.04),
            rgba(0,0,0,0.01)
        );

    pointer-events: none;

    z-index: 5;
}


/* =========================
   SLIDER ARROW
========================= */

.slider-arrow {
    position: absolute;
    top: 50%;

    transform: translateY(-50%);

    z-index: 10;

    width: 44px;
    height: 44px;

    border-radius: 50%;
    border: 0;

    background: rgba(0,0,0,0.38);
    color: white;

    font-size: 28px;
    line-height: 44px;
    text-align: center;

    cursor: pointer;

    transition: 0.2s;
}

.slider-arrow:hover {
    background: rgba(227,6,19,0.88);
}

.slider-prev {
    left: 18px;
}

.slider-next {
    right: 18px;
}


/* =========================
   SLIDER DOT
========================= */

.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;

    transform: translateX(-50%);

    z-index: 10;

    display: flex;
    gap: 9px;
}

.slider-dot {
    width: 9px;
    height: 9px;

    padding: 0;

    border-radius: 50%;
    border: 0;

    background: rgba(255,255,255,0.70);

    cursor: pointer;

    transition: 0.2s;

    box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.slider-dot.active {
    background: #e30613;
    transform: scale(1.25);
}


/* =========================
   COMMON SECTION
========================= */

.section {
    padding: 90px 6%;
}

.section-title {
    max-width: 800px;

    margin: 0 auto 48px;

    text-align: center;
}

.section-title .eyebrow {
    margin-bottom: 14px;
}

.section-title h2 {
    font-size: 38px;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.section-title p {
    color: #777;
    line-height: 1.8;
    word-break: keep-all;
}


/* =========================
   PRODUCTS
========================= */

.products {
    background: #f8f8f8;
}

.product-grid {
    max-width: 1450px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.product-card {
    height: 100%;

    background: #fff;

    border: 1px solid #eeeeee;
    border-radius: 13px;

    overflow: hidden;

    transition: 0.25s;
}

.product-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 16px 35px rgba(0,0,0,0.08);
}

.product-image {
    height: 240px;
    padding: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f0f1f2
        );
}

.product-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}

.product-image-empty {
    color: #aaa;
    font-size: 14px;
}

.product-info {
    padding: 22px 24px 26px;

    text-align: center;
}

.product-info h3 {
    font-size: 19px;
    margin-bottom: 6px;
    color: #171717;
}

.product-info .english {
    font-size: 10px;
    color: #999;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.product-info p {
    font-size: 14px;
    color: #777;
    line-height: 1.7;
    word-break: keep-all;
}

.product-empty-message {
    grid-column: 1 / -1;

    padding: 70px 20px;

    text-align: center;

    color: #999;

    background: #fff;

    border-radius: 13px;
    border: 1px solid #eee;
}


/* =========================
   CLICKABLE PRODUCT CARD
========================= */

.product-card-link {
    display: block;

    color: inherit;
    text-decoration: none;

    border-radius: 13px;
}

.product-card-link:link,
.product-card-link:visited,
.product-card-link:hover,
.product-card-link:active {
    color: inherit;
    text-decoration: none;
}

.product-card-link .product-info h3 {
    color: #171717;
    text-decoration: none;
}

.product-card-link .product-info .english {
    color: #999;
    text-decoration: none;
}

.product-card-link .product-info p {
    color: #777;
    text-decoration: none;
}

.product-card-link:hover .product-info h3 {
    color: #e30613;
}

.product-card-link:focus {
    outline: none;
}

.product-card-link:focus-visible {
    outline: 3px solid rgba(227, 6, 19, 0.25);
    outline-offset: 3px;
}


/* =========================
   PRODUCTS MORE
========================= */

.products-more {
    max-width: 1450px;
    margin: 40px auto 0;
    text-align: center;
}


/* =========================
   COMPANY
========================= */

.company {
    background: #ffffff;
}

.company-wrap {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;

    align-items: center;
}

.company-image {
    min-height: 420px;

    border-radius: 18px;

    position: relative;

    overflow: hidden;

    background-color: #eef2f5;

    background-image:
        url('/images/bktech-banner-02.png');

    background-position: center;

    background-size: contain;

    background-repeat: no-repeat;

    box-shadow:
        0 18px 45px rgba(0,0,0,0.10);
}

.company-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,0.02),
            rgba(0,0,0,0.06)
        );
}

.company-badge {
    position: absolute;

    left: 30px;
    bottom: 30px;

    z-index: 2;

    padding: 18px 22px;

    border-radius: 10px;

    background: #e30613;
    color: #fff;
}

.company-badge strong {
    display: block;
    font-size: 25px;
}

.company-badge span {
    font-size: 12px;
}

.company-content .eyebrow {
    margin-bottom: 15px;
}

.company-content h2 {
    font-size: 39px;
    margin-bottom: 23px;
}

.company-content p {
    color: #666;
    line-height: 2;
    word-break: keep-all;
    margin-bottom: 18px;
}


/* =========================
   ASSEMBLY
========================= */

.assembly {
    background: #f7f7f7;
}

.process-grid {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process-card {
    padding: 35px 25px;

    border-radius: 13px;

    background: #fff;

    border: 1px solid #ececec;

    transition: 0.2s;
}

.process-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 30px rgba(0,0,0,0.06);
}

.process-number {
    display: inline-flex;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    align-items: center;
    justify-content: center;

    background: #e30613;
    color: #fff;

    font-size: 14px;
    font-weight: 900;

    margin-bottom: 20px;
}

.process-card h3 {
    margin-bottom: 12px;
}

.process-card p {
    color: #777;
    font-size: 14px;
    line-height: 1.8;
}


/* =========================
   CONTACT
========================= */

.contact {
    background: #111;
    color: #fff;
}

.contact .section-title h2 {
    color: #fff;
}

.contact .section-title p {
    color: #aaa;
}

.contact-box {
    max-width: 1050px;

    margin: 0 auto;

    padding: 35px;

    border-radius: 15px;

    background: #1b1b1b;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 22px 35px;
}

.contact-item {
    padding: 15px 0;

    border-bottom:
        1px solid #333;
}

.contact-item strong {
    display: block;

    color: #e30613;

    font-size: 12px;

    margin-bottom: 8px;
}

.contact-item span {
    color: #eee;
    line-height: 1.7;
}

.contact-link {
    display: inline-block;

    color: #eee;

    text-decoration: none;

    line-height: 1.7;

    transition: 0.2s;
}

.contact-link:hover {
    color: #e30613;
}

.contact-address {
    grid-column: 1 / -1;
}


/* =========================
   MAP BUTTON
========================= */

.map-buttons {
    display: flex;

    gap: 10px;

    margin-top: 20px;

    flex-wrap: wrap;
}

.map-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 0 18px;

    border-radius: 6px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 800;

    transition: 0.2s;
}

.map-btn:hover {
    transform: translateY(-2px);
}

.kakao-map {
    background: #fee500;
    color: #191919;
}

.naver-map {
    background: #03c75a;
    color: #fff;
}


/* =========================
   ONLINE INQUIRY
========================= */

.online-inquiry-area {
    max-width: 1050px;

    margin: 28px auto 0;

    padding: 28px;

    text-align: center;

    background: #1b1b1b;

    border: 1px solid #2d2d2d;
    border-radius: 15px;
}

.online-inquiry-area p {
    margin: 0 0 18px;

    color: #aaa;

    font-size: 14px;
    line-height: 1.8;

    word-break: keep-all;
}

.online-inquiry-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 180px;
    min-height: 48px;

    padding: 0 24px;

    border-radius: 7px;

    background: #e30613;
    color: #fff;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    transition: 0.2s;
}

.online-inquiry-btn:hover {
    background: #c9000c;
    color: #fff;

    transform: translateY(-2px);
}


/* =========================
   FOOTER
========================= */

footer {
    background: #050505;
    color: #777;

    padding: 28px 20px;

    text-align: center;

    font-size: 12px;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    header {
        height: auto;

        flex-direction: column;

        padding: 12px 18px 0;

        gap: 6px;
    }

    .logo img {
        height: 54px;
        max-width: 280px;
    }

    nav {
        width: 100%;

        justify-content: center;

        gap: 24px;

        overflow-x: auto;
    }

    nav a {
        white-space: nowrap;

        font-size: 13px;

        padding: 13px 0 16px;
    }

    nav a::after {
        bottom: 8px;
    }

    .hero {
        grid-template-columns: 1fr;

        padding: 55px 20px;

        gap: 45px;
    }

    .hero-content h1 {
        font-size: 39px;
    }

    .product-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .company-wrap {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 560px) {

    .logo img {
        height: 50px;
        max-width: 250px;
    }

    nav {
        gap: 18px;
    }

    nav a {
        font-size: 12px;
    }

    .hero {
        padding: 45px 18px;

        gap: 35px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-buttons {
        flex-wrap: wrap;
    }

    .hero-buttons .btn {
        flex: 1;
        min-width: 135px;
    }

    .hero-slider {
        border-radius: 14px;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;

        font-size: 22px;

        line-height: 36px;
    }

    .slider-prev {
        left: 10px;
    }

    .slider-next {
        right: 10px;
    }

    .section {
        padding: 65px 18px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .product-grid,
    .process-grid,
    .contact-box {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 210px;
    }

    .products-more {
        margin-top: 30px;
    }

    .products-more .btn {
        width: 100%;
    }

    .company-content h2 {
        font-size: 31px;
    }

    .company-image {
        min-height: 300px;
    }

    .map-buttons {
        flex-direction: column;
    }

    .map-btn {
        width: 100%;
    }

    .online-inquiry-area {
        margin-top: 22px;

        padding: 22px 16px;
    }

    .online-inquiry-area p {
        font-size: 13px;
    }

    .online-inquiry-btn {
        width: 100%;
    }
}