@charset "utf-8";

/* ============================================
   LAYOUT - Page Structure
   ============================================ */
#main {
    position: relative;
}

section {
    position: relative;
}

/* Container adjustments */
.container {
    max-width: 1170px;
}

/* ============================================
   HEADER LAYOUT
   ============================================ */
#header .container {
    position: relative;
}

#header .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 991px) {
    #header .row {
        justify-content: space-between;
    }
}

/* ============================================
   MAIN CONTENT SECTIONS
   ============================================ */
.section-padding {
    padding: 60px 0;
}

.section-padding-sm {
    padding: 40px 0;
}

/* ============================================
   PRODUCT LIST LAYOUT
   ============================================ */
.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 20px;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* ============================================
   INFO GRID
   ============================================ */
.info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.info-grid-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 20px;
}

/* ============================================
   CONTENT SECTION BACKGROUNDS
   ============================================ */
.section-gray {
    background-color: #f8f9fa;
}

.section-dark {
    background-color: #0f1c2b;
    color: #fff;
}

.section-navy {
    background-color: #17378a;
    color: #fff;
}

/* ============================================
   FORM ELEMENTS
   ============================================ */
input, select, textarea {
    font-family: 'Noto Sans KR', sans-serif;
}

.form-control {
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 8px 12px;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: #17378a;
    box-shadow: 0 0 0 2px rgba(23, 55, 138, 0.1);
}

/* ============================================
   TABLE STYLES
   ============================================ */
.table-custom {
    width: 100%;
    border-collapse: collapse;
}

.table-custom th {
    background: #f8f9fa;
    padding: 12px 16px;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
    color: #333;
}

.table-custom td {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
}

/* ============================================
   RESPONSIVE LAYOUT
   ============================================ */
@media (max-width: 1199px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 991px) {
    .section-padding {
        padding: 40px 0;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 30px 0;
    }

    .bgi-mv {
        min-height: 350px;
    }

    .product-card {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .bgi-mv {
        min-height: 300px;
    }
}

/* ============================================
   SCROLL BEHAVIOR
   ============================================ */
html {
    scroll-behavior: smooth;
}

/* ============================================
   OVERLAY
   ============================================ */
body.modal-open {
    overflow: hidden;
}

body.modal-open::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}
