* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    font-family: "Malgun Gothic", "Noto Sans KR", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background: #fff;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: auto;
}

/* =========================
HEADER
========================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    z-index: 9999;
}

.navbar {
    min-height: 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* LOGO */

.logo {
    width: 220px;
}

.logo a {
    display: inline-block;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* MENU */

nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.menu {
    display: flex;
    list-style: none;
}

.menu>li {
    position: relative;
}

.menu>li>a {
    display: block;
    padding: 30px 25px;
    text-decoration: none;
    color: #222;
    font-weight: 600;
    white-space: nowrap;
    transition: 0.3s;
}

.menu>li>a:hover {
    color: #0056b3;
}

/* DROPDOWN */

.dropdown {
    display: none;
    position: absolute;
    top: 85px;
    left: 0;
    min-width: 200px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    border-radius: 0 0 6px 6px;
    overflow: hidden;
}

.dropdown a {
    display: block;
    padding: 13px 18px;
    text-decoration: none;
    color: #333;
    background: #fff;
    transition: 0.25s;
}

.dropdown a:hover {
    background: #f2f6fa;
    color: #0056b3;
}

.menu>li:hover .dropdown {
    display: block;
}

/* LANGUAGE */

.language {
    width: 220px;
    text-align: right;
}

.language select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
}

/* =========================
HERO
========================= */

.hero {


    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: #fff;

    padding: 120px 20px 80px;


}

.hero-content {
    max-width: 1000px;
}

.hero h1 {
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: clamp(18px, 2vw, 25px);
    margin-bottom: 35px;
}

.hero-btn {
    display: inline-block;
    padding: 14px 35px;
    background: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.hero-btn:hover {
    background: #004f9e;
    transform: translateY(-2px);
}

#home {
    width: 100%;
    min-height: 100vh;

    background:
        linear-gradient(rgba(0, 0, 0, 0.45),
            rgba(0, 0, 0, 0.45)),
        url("../image/main.jpg");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #fff;
}

/* =========================
SECTION
========================= */

section {
    padding: 110px 0;
}

section:nth-child(even) {
    background: #f8fafc;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: block;
    color: #0066cc;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.section-title h2,
.video-title h2 {
    font-size: clamp(32px, 4vw, 44px);
    color: #003366;
}

/* =========================
ABOUT
========================= */

.about-image {
    margin-bottom: 45px;
    text-align: center;
}

.about-image img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 12px;
}

.box {
    background: #fff;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
}

.box h3 {
    color: #003366;
    font-size: 26px;
    margin-bottom: 20px;
}

.box p {
    white-space: pre-line;
    line-height: 2;
}

/* HISTORY */

.history {
    border-top: 2px solid #e5e5e5;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 35px;
    padding: 18px 10px;
    border-bottom: 1px solid #eee;
}

.history-item strong {
    width: 80px;
    font-size: 22px;
    color: #0066cc;
}

.history-item span {
    font-size: 17px;
}

/* =========================
BUSINESS
========================= */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.13);
}

.card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.card-content {
    padding: 28px;
}

.card-content h3 {
    color: #003366;
    font-size: 24px;
    margin-bottom: 10px;
}

.card-content p {
    color: #666;
}

/* =========================
PRODUCT
========================= */

.product-section {
    padding: 50px 0;
    border-bottom: 1px solid #ddd;
}

.product-section:last-of-type {
    border-bottom: none;
}

.product-section h2,
.video-section h2 {
    color: #003366;
    font-size: 28px;
    margin-bottom: 25px;
}

.product-section h2 span,
.video-section h2 span {
    color: #0e0d0d;
    font-size: 20px;
    font-weight: 400;
}

/* GALLERY */

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gallery img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.gallery img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}


/* =========================
VIDEO
========================= */

.video-title {
    text-align: center;
    padding: 90px 0 30px;
}

.video-section {
    padding: 45px 0;
    border-bottom: 1px solid #ddd;
}

.video-section video {
    display: block;
    width: 100%;
    max-height: 700px;
    background: #000;
    border-radius: 10px;
}

/* =========================
CONTACT
========================= */

.contact {
    text-align: center;
}

.contact p {
    font-size: 18px;
    margin: 10px 0;
}

.map {
    margin-top: 35px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.map iframe {
    display: block;
}

/* =========================
FOOTER
========================= */

footer {
    background: #002244;
    color: #fff;
    text-align: center;
    padding: 45px 20px;
}

footer p {
    margin: 6px 0;
}

/* =========================
MOBILE
========================= */

@media (max-width: 1100px) {


    nav {
        position: static;
        transform: none;
    }

    .navbar {
        flex-wrap: wrap;
        padding: 15px 0;
    }

    .logo,
    .language {
        width: auto;
    }

    .menu>li>a {
        padding: 15px 12px;
    }

    .dropdown {
        top: 55px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }


}

@media (max-width: 700px) {


    .container {
        width: 92%;
    }

    header {
        position: relative;
    }

    .navbar {
        flex-direction: column;
        gap: 10px;
    }

    .logo img {
        height: 42px;
    }

    nav {
        width: 100%;
        overflow-x: auto;
    }

    .menu {
        justify-content: center;
        min-width: max-content;
    }

    .menu>li>a {
        padding: 10px 12px;
        font-size: 14px;
    }

    .dropdown {
        top: 45px;
    }

    .language {
        text-align: center;
    }

    .hero {
        min-height: 75vh;
    }

    section {
        padding: 80px 0;
    }

    .box {
        padding: 25px;
    }

    .history-item {
        gap: 15px;
    }

    .history-item strong {
        width: 60px;
        font-size: 18px;
    }

    .history-item span {
        font-size: 15px;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .gallery img {
        height: auto;
        max-height: 400px;
    }

    .product-section h2,
    .video-section h2 {
        font-size: 22px;
    }

    .product-section h2 span,
    .video-section h2 span {
        font-size: 16px;
    }

    .map iframe {
        height: 350px;
    }

}

/* 텍스트 선택 금지 */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.line {
    border: 0;
    height: 5px;
    background: #d5d5d5;
    width: 100%;
}

.video {
    max-width: 900px;
    margin: auto;
}