CSS
/* ==========================================
   1. 기본 초기화 및 공통 스타일
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans KR', sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    margin: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================
   2. 상단 헤더(로고 & 메뉴) 스크롤 고정
   ========================================== */
.header {
    position: fixed !important;       /* 화면 상단 완벽 고정 */
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;          /* 최상단 레이어 배치 */
    background: rgba(15, 15, 15, 0.55) !important; /* 어두운 반투명 배경 */
    backdrop-filter: blur(5px);        /* 스크롤 시 뒤쪽 배경 은은하게 블러 처리 */
    padding: 35px 50px !important;     /* 상단 헤더 두께감 확대 */
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2) !important;
}

.nav-container {
    display: flex;
    justify-content: space-between; /* 로고 왼쪽, 메뉴 오른쪽 배치 */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 55px; /* PC 화면 로고 높이 확대 */
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.7));
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 35px; /* 메뉴 항목 간격 */
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: #ffffff !important;         /* 메뉴 글자색 흰색 고정 */
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #007bff !important;
}

.nav-menu a.active {
    color: #007bff !important; /* 현재 선택된 메뉴 색상 강조 */
    font-weight: bold;
}

/* ==========================================
   3. 메인 히어로 섹션
   ========================================== */
.hero {
    position: relative;
    background-image: url('images/my-background.jpg');
    background-size: cover;
    background-position: center; /* [수정 완료] back-position 오타 교정 */
    padding: 240px 20px 180px;
    text-align: center;
    color: #fff;
}

/* 버튼 스타일 */
.btn {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
}

/* ==========================================
   4. 공통 섹션 & 카드 레이아웃
   ========================================== */
section { 
    padding: 70px 0; 
}

.section-title { 
    text-align: center; 
    font-size: 2rem; 
    margin-bottom: 40px; 
}

/* 그리드 레이아웃 */
.grid-3 { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px; 
}

.grid-2 { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); 
    gap: 30px; 
}

/* 카드 스타일 */
.feature-card, .product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
}

.feature-card img, .product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.feature-card h3, .product-card h3 { 
    margin: 15px 0 10px; 
}

.feature-card p { 
    padding: 0 15px 20px; 
    color: #666; 
}

.product-info { 
    padding: 20px; 
    text-align: left; 
}

/* ==========================================
   5. 견적 문의 & 푸터
   ========================================== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

footer {
    background: #444;
    color: #aaa;
    text-align: center;
    padding: 25px 0;
    font-size: 0.9rem;
}

footer .copy { 
    margin-top: 10px; 
    color: #666; 
}

/* ==========================================
   6. 서브페이지 배너 & 인사말 섹션
   ========================================== */
.sub-header {
    background: transparent !important;
}

.sub-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/my-background.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 140px 20px;
}

/* 타이틀 및 텍스트 크기 확장 */
.sub-hero h1 {
    font-size: 2.7rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin-bottom: 15px !important;
}

.sub-hero p {
    font-size: 1.6rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
}

.hero h1, .hero-content h1 {
    font-size: 3rem !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    margin-bottom: 15px !important;
}

.hero p, .hero-content p {
    font-size: 1.6rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
}

/* 인사말 섹션 중앙 정렬 */
.about-intro {
    padding: 80px 0;
    background: #fff;
}

.about-grid {
    display: block !important;
}

.about-text, .about-text-box {
    max-width: 700px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.about-text h2, .about-text-box h2 {
    font-size: 2rem;
    line-height: 1.4;
    margin-bottom: 30px;
    color: #222;
    text-align: center !important;
}

.about-text h2 span, .about-text-box h2 span {
    color: #007bff;
}

.about-text p, .about-text-box p {
    color: #555;
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center !important;
    word-break: keep-all;
}

/* 핵심 가치 카드 */
.values-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.value-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.value-icon {
    font-size: 1.8rem;
    font-weight: 800;
    color: #007bff;
    margin-bottom: 15px;
}

.value-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.value-card p {
    color: #666;
    font-size: 0.95rem;
}

/* 기업 개요 표 */
.company-info-section {
    padding: 80px 0;
    background: #fff;
}

.table-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.company-table th, .company-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
}

.company-table th {
    background: #f4f6f9;
    color: #333;
    width: 20%;
    text-align: left;
    font-weight: 700;
}

.company-table td {
    color: #555;
}

/* ==========================================
   7. 견적문의 페이지 (contact.html) 스타일
   ========================================== */
.contact-section {
    padding: 80px 0 120px 0 !important;
    background: #f8f9fa !important;
}

.contact-grid {
    display: flex !important;
    flex-direction: row !important;
    gap: 40px !important;
    align-items: flex-start !important;
}

.contact-info-box {
    flex: 1 !important;
    background: #2a2a2a !important;
    color: #ffffff !important;
    padding: 40px !important;
    border-radius: 12px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08) !important;
    box-sizing: border-box !important;
}

.contact-info-box h2 {
    font-size: 1.6rem !important;
    margin-bottom: 15px !important;
    color: #ffffff !important;
}

.contact-phone {
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    color: #007bff !important;
    margin-bottom: 5px !important;
}

.contact-subtext {
    color: #aaa !important;
    font-size: 0.95rem !important;
    margin-bottom: 30px !important;
    padding-bottom: 25px !important;
    border-bottom: 1px solid #444 !important;
}

.info-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

.info-item {
    display: flex !important;
    justify-content: space-between !important;
    font-size: 0.98rem !important;
}

.info-item strong {
    color: #ccc !important;
}

.info-item span {
    color: #fff !important;
}

.contact-form-card {
    flex: 1.4 !important;
    background: #ffffff !important;
    padding: 40px !important;
    border-radius: 12px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08) !important;
    box-sizing: border-box !important;
}

.contact-form-card h2 {
    font-size: 1.6rem !important;
    color: #222222 !important;
    margin-bottom: 25px !important;
    padding-bottom: 15px !important;
    border-bottom: 2px solid #007bff !important;
}

.form-group {
    margin-bottom: 20px !important;
}

.form-group label {
    display: block !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    color: #333333 !important;
    font-size: 0.95rem !important;
}

.form-group label span {
    color: #dc3545 !important;
}

/* [수정 완료] width: 100% 퍼센트 단위 교정 */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 1px solid #dddddd !important;
    border-radius: 6px !important;
    font-size: 1rem !important;
    color: #333333 !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    outline: none !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #007bff !important;
}

.form-agree {
    margin: 25px 0 !important;
    font-size: 0.9rem !important;
    color: #666666 !important;
}

.form-agree input[type="checkbox"] {
    margin-right: 8px !important;
    accent-color: #007bff !important;
    width: auto !important;
}

.btn-submit {
    width: 100% !important;
    padding: 15px !important;
    font-size: 1.1rem !important;
    font-weight: bold !important;
    background: #007bff !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: background-color 0.2s !important;
}

.btn-submit:hover {
    background: #0056b3 !important;
}

/* ==========================================
   8. 모바일 반응형 설정 (768px 이하)
   ========================================== */
@media (max-width: 768px) {
    .header {
        padding: 15px 20px !important;
    }

    .nav-container {
        flex-direction: column;
        gap: 12px;
    }

    .logo img {
        height: 38px;
    }

    .nav-menu ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-menu a {
        font-size: 15px;
    }

    .hero {
        padding: 170px 20px 60px;
    }

    .sub-hero h1, .hero h1, .hero-content h1 {
        font-size: 2rem !important;
    }

    .sub-hero p, .hero p, .hero-content p {
        font-size: 1.2rem !important;
    }

    .grid-2, .about-grid, .contact-grid {
        flex-direction: column !important;
        grid-template-columns: 1fr;
    }

    .about-text h2, .about-text-box h2 {
        font-size: 1.5rem;
    }

    .about-text p, .about-text-box p {
        font-size: 0.98rem;
    }

    .company-table th, .company-table td {
        display: block;
        width: 100%;
    }

    .company-table th {
        background: #eef2f7;
        padding-bottom: 5px;
    }

    .company-table td {
        padding-top: 5px;
        margin-bottom: 10px;
    }

    .contact-info-box, .contact-form-card {
        width: 100% !important;
        padding: 25px !important;
    }

    .contact-phone {
        font-size: 1.8rem !important;
    }
}

/* ==========================================
   주요 납품 소개 문구 스타일 (가운데 정렬, 크고 짙게)
   ========================================== */
.intro-text-box {
    text-align: center !important;     /* 가운데 정렬 */
    margin: 30px auto !important;      /* 위아래 여백 확보 */
    padding: 0 20px !important;
}

.intro-text-box p {
    font-size: 1.25rem !important;     /* 기본보다 살짝 큰 글씨 크기 (약 20px) */
    font-weight: 700 !important;       /* 짙고 두꺼운 글씨 두께 */
    color: #222222 !important;         /* 뚜렷하고 선명한 짙은 회색(검은색에 가까움) */
    line-height: 1.6 !important;       /* 줄 간격 여유있게 조정 */
    word-break: keep-all;              /* 단어 단위 자연스러운 줄바꿈 */
}



CSS
.brand-gallery-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.brand-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.brand-logo-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.7;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
}

.brand-logo-item img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.brand-logo-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    border-color: #007bff;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.15);
    transform: translateY(-3px);
}

.gallery-modal {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); 
    z-index: 99999; 
    overflow-y: auto; 
    padding: 50px 20px;
}

.modal-content {
    background: #ffffff;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 35px;
    color: #333;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #dc3545;
}

#modalTitle {
    font-size: 1.5rem;
    color: #222;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #007bff;
}

.modal-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-images img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .brand-logo-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
    .brand-logo-item {
        height: 100px;
        padding: 20px 10px;
    }
    .modal-content {
        padding: 20px;
        margin-top: 20px;
    }
}

/* ==========================================
   4열 배치 및 작은 사진 갤러리 스타일
   ========================================== */
.gallery-section {
    padding: 60px 0 100px;
    background-color: #f9f9f9;
}

.gallery-grid {
    display: grid;
    /* PC 화면에서 무조건 한 줄에 4장씩 배치 */
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px; /* 카드 사이 간격 */
    max-width: 1200px; /* 전체 갤러리 최대 너비 */
    margin: 0 auto; /* 가운데 정렬 */
    padding: 0 20px;
}

.gallery-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e9e9e9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.card-img-box {
    width: 100%;
    height: 180px; /* 4개 배치에 어울리도록 세로 높이 고정 */
    background-color: #eee;
    overflow: hidden;
}

.card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card:hover .card-img-box img {
    transform: scale(1.04);
}

.card-info {
    padding: 14px 15px;
    text-align: center;
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
}

.card-info h3 {
    font-size: 1rem;
    color: #222222;
    margin: 0;
    font-weight: 700;
}

/* 모바일 화면 대응 (한 줄에 1개씩) */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .card-img-box {
        height: 220px;
    }
}