/* ===== 기본 스타일 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-y: auto;
    overflow-x: hidden;
}

/* products.html 등 일반 페이지는 body 스크롤 허용 */
body.normal-page {
    overflow-y: auto;
    overflow-x: hidden;
    height: auto;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    -ms-interpolation-mode: bicubic;
    image-rendering: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 일반 스크롤 컨테이너 ===== */
.fullpage-container {
    margin-top: 150px; /* top-design(60px) + logo-area(약 86px) + main-nav(약 48px) = 약 194px, 여유있게 150px */
}

.page-section {
    position: relative;
    padding: 80px 0;
}

.page-section.main-banner {
    padding: 0;
}

/* ===== 상단/하단 디자인 ===== */
.top-design {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 999;
    overflow: hidden;
    background-color: #f8f9f8;
    transition: transform 0.3s ease-in-out;
}

.top-design .design-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    opacity: 0.8;
}

.bottom-design {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
    background-color: #2c5f2c;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-design .design-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    opacity: 0.7;
    transform: rotate(180deg);
    min-height: 150px;
}

/* ===== 헤더 & 네비게이션 ===== */
.site-header {
    background-color: #fffdf5;
    border-bottom: 1px solid #eee;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
    margin-top: 0;
}

.site-header.hidden {
    transform: translateY(-100%);
}

.logo-area {
    text-align: center;
    padding-top: 3px;
    padding-bottom: 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.logo-img {
    height: 240px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.main-nav {
    background: linear-gradient(90deg, #1a4d1a 0%, #146531 12%, #2c5f2c 28%, #4a9d4a 50%, #6bb86b 72%, #90ee90 90%, #a8e8a8 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    z-index: 100;
    margin-top: -4px;
}

nav {
    background-color: #ffffff !important;
    position: fixed;
    width: 100%;
    z-index: 999;
}

.navbar {
    background-color: #ffffff !important;
    z-index: 999;
}

.main-nav ul {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.main-nav li {
    margin: 0;
}

.main-nav a {
    position: relative;
    display: inline-block;
    padding: 12px 20px;
    font-size: 22.5px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.main-nav a:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #ffd15c;
    transition: width 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 60%;
}

.main-nav a.active {
    font-weight: 600;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== 메인 비주얼 배너 ===== */
.main-banner {
    margin-top: 0;
    position: relative;
    min-height: 85vh;
    max-height: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    padding: 0;
}

.main-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.45));
    z-index: 1;
    pointer-events: none;
}

.main-banner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    pointer-events: none;
    z-index: 1;
}

.banner-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    animation: slideAnimation 15s infinite ease-in-out;
    z-index: 0;
}

.slide {
    min-width: 100%;
    height: 100%;
    background-size: 110%;
    background-position: center;
    background-repeat: no-repeat;
    animation: kenburns 10s ease-in-out infinite alternate;
}

@keyframes kenburns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.12) translate(-2%, -2%);
    }
}

@keyframes slideAnimation {
    0% {
        transform: translateX(0);
    }
    33.33% {
        transform: translateX(0);
    }
    36.66% {
        transform: translateX(-100%);
    }
    70% {
        transform: translateX(-100%);
    }
    73.33% {
        transform: translateX(-200%);
    }
    100% {
        transform: translateX(-200%);
    }
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    margin: 0;
    animation: fadeInUp 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 100%;
}

.banner-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 100%;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background-color: #4a9d4a;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #3d8a3d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 157, 74, 0.3);
}

/* ===== 섹션 공통 스타일 ===== */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c5f2c;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
}

/* ===== 회사소개 섹션 ===== */
.page-section.about-section {
    padding-top: 20px !important;  /* 상단 여백 60px 감소 (기존 80px → 20px) */
    padding-bottom: 140px !important;  /* 하단 여백 60px 증가 (기존 80px → 140px) */
}

.about-section {
    background-color: #f8f9f8;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.about-text p {
    margin-bottom: 20px;
    word-break: keep-all;
    line-height: 1.6;
}

.about-text .about-tags {
    font-size: 0.9rem;
    color: #4a9d4a;
    font-weight: 500;
    margin-top: 15px;
    white-space: nowrap;
    display: block;
    word-break: keep-all;
    overflow-wrap: normal;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    min-width: 280px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.feature-icon img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
}

.feature-card h3 {
    font-size: 1.2rem;
    color: #2c5f2c;
    margin-bottom: 10px;
    white-space: nowrap;
}

.feature-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* ===== 제품소개 섹션 ===== */
.page-section.products-section {
    padding-top: 30px !important;  /* 상단 여백 50px 감소 (기존 80px → 30px) */
}

.products-section {
    background-color: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
    opacity: 1;
    margin-bottom: 20px;
    cursor: pointer;
}

.product-card-link:hover .product-card {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    min-height: 200px;
    max-height: 300px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: auto;
    max-height: 300px;
    min-height: 150px;
    object-fit: contain;
    object-position: center;
    -ms-interpolation-mode: bicubic;
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    transform: translateZ(0);
    cursor: pointer;
    transition: opacity 0.3s;
    display: block;
    background-color: #f0f0f0;
}

.product-image img:hover {
    opacity: 0.9;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.3rem;
    color: #2c5f2c;
    margin-bottom: 10px;
}

.product-info p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.btn-secondary {
    display: inline-block;
    padding: 10px 25px;
    background-color: transparent;
    color: #4a9d4a;
    border: 2px solid #4a9d4a;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: #4a9d4a;
    color: #fff;
}

/* ===== 공지사항 섹션 ===== */
.notice-section {
    background-color: #f8f9f8;
}

.notice-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.notice-table thead {
    background-color: #4a9d4a;
    color: #fff;
}

.notice-table th,
.notice-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.notice-table th {
    font-weight: 600;
}

.notice-table tbody tr:hover {
    background-color: #f8f9f8;
}

.notice-table tbody tr:last-child td {
    border-bottom: none;
}

.notice-table .notice-title {
    color: #333;
    transition: color 0.3s;
}

.notice-table .notice-title:hover {
    color: #4a9d4a;
}

.text-center {
    text-align: center;
    margin-top: 30px;
}

/* ===== 푸터 ===== */
footer {
    background-color: #2c5f2c;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #fff;
}

.footer-section p,
.footer-section a {
    font-size: 0.95rem;
    color: #e0e0e0;
    line-height: 1.8;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #ccc;
}

/* ===== 회사소개 페이지 스타일 ===== */
.intro-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 60px;
}

.intro-content p {
    margin-bottom: 20px;
}

.vision-mission {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0;
}

.vision-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #4a9d4a;
}

.vision-card h3 {
    font-size: 1.5rem;
    color: #2c5f2c;
    margin-bottom: 15px;
}

.vision-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
}

.timeline {
    max-width: 900px;
    margin: 60px auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #4a9d4a;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.timeline-year {
    width: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #4a9d4a;
}

.timeline-content h4 {
    font-size: 1.2rem;
    color: #2c5f2c;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* ===== 제품소개 페이지 스타일 ===== */
.category-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background-color: #fff;
    color: #4a9d4a;
    border: 2px solid #4a9d4a;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #4a9d4a;
    color: #fff;
}

/* ===== 고객센터 페이지 스타일 ===== */
.cs-section {
    padding: 80px 0;
    margin-top: 150px;
}

.cs-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
}

.contact-info {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-table {
    width: 100%;
    border-collapse: collapse;
}

.contact-table th,
.contact-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.contact-table th {
    width: 150px;
    font-weight: 600;
    color: #2c5f2c;
    background-color: #f8f9f8;
}

.contact-table td {
    color: #555;
}

.contact-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a9d4a;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

/* ===== 반응형 디자인 ===== */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .vision-mission {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 60px;
    }
    
    .timeline-year {
        position: absolute;
        left: 0;
        width: 60px;
    }
    
    .timeline-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .logo-area {
        padding-top: 2px;
        padding-bottom: 2px;
    }
    
    .logo-img {
        height: 240px;
    }
    
    .top-design {
        height: 40px;
    }
    
    .site-header {
        top: 40px;
    }
    
    .fullpage-container {
        margin-top: 100px; /* 모바일에서 헤더 높이 조정 반영 */
    }
    
    .main-nav ul {
        padding: 0;
        gap: 20px;
        justify-content: center;
    }
    
    .main-nav a {
        font-size: 22.5px;
        font-weight: 700;
        padding: 18px 16px;
    }
    
    .main-banner {
        min-height: 500px;
        max-height: 700px;
    }
    
    /* products.html 페이지 타이틀 섹션 조정 */
    section[style*="margin-top: 150px"] {
        margin-top: 100px !important;
        padding: 40px 0 !important;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .main-nav ul {
        position: fixed;
        top: 100px;
        left: -100%;
        width: 100%;
        background: linear-gradient(90deg, #1a4d1a 0%, #146531 12%, #2c5f2c 28%, #4a9d4a 50%, #6bb86b 72%, #90ee90 90%, #a8e8a8 100%);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        transition: left 0.3s;
        gap: 0;
        z-index: 1000;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    }
    
    .main-nav ul.active {
        left: 0;
    }
    
    .main-nav li {
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-nav a {
        display: block;
        width: 100%;
        font-size: 27px;
        font-weight: 700;
        padding: 15px 20px;
        text-align: center;
        border-radius: 0;
        background: transparent;
        border: none;
        text-shadow: none;
    }
    
    .main-nav a:hover {
        background-color: rgba(255, 255, 255, 0.08);
        color: #ffffff;
        transform: none;
        box-shadow: none;
        border: none;
    }
    
    .main-nav a::after {
        left: 50%;
        bottom: 8px;
    }
    
    .main-banner {
        min-height: 70vh;
        max-height: 700px;
    }
    
    .banner-content h1 {
        font-size: clamp(1.8rem, 4vw, 2rem);
    }
    
    .banner-content p {
        font-size: clamp(1rem, 2.5vw, 1.1rem);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    /* 모바일에서도 여백 조정 */
    .page-section.about-section {
        padding-top: 15px !important;
        padding-bottom: 100px !important;
    }
    
    .page-section.products-section {
        padding-top: 20px !important;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 0;
    }
    
    .feature-card {
        min-width: 100%;
        padding: 25px 15px;
    }
    
    .feature-card h3 {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: clamp(1rem, 3vw, 1.2rem);
    }
    
    .products-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 40px;
        margin-bottom: 40px;
        width: 100%;
    }
    
    .product-card {
        margin-bottom: 15px;
        width: 100%;
        display: block;
        visibility: visible;
        opacity: 1;
    }
    
    .product-image {
        min-height: 150px;
        max-height: 200px;
        width: 100%;
        display: block;
    }
    
    .product-image img {
        min-height: 150px;
        max-height: 200px;
        width: 100%;
        display: block;
        visibility: visible;
    }
    
    .product-info {
        padding: 15px;
        display: block;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .vision-mission {
        grid-template-columns: 1fr;
    }
    
    .category-filter {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 25px;
    }
    
    .contact-table th,
    .contact-table td {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .contact-table th {
        width: 100px;
    }
}

@media (max-width: 480px) {
    .logo-area {
        padding-top: 1.5px;
        padding-bottom: 1.5px;
    }
    
    .logo-img {
        height: 210px;
    }
    
    .main-nav ul {
        padding: 0;
        gap: 16px;
    }
    
    .main-nav a {
        font-size: 14px;
        padding: 10px 14px;
    }
    
    .main-banner {
        min-height: 400px;
        max-height: 600px;
    }
    
    .banner-content h1 {
        font-size: 1.5rem;
    }
    
    .banner-content p {
        font-size: 1rem;
    }
    
    .btn-primary {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .notice-table {
        font-size: 0.85rem;
    }
    
    .notice-table th,
    .notice-table td {
        padding: 10px 5px;
    }
    
    .products-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 40px;
        margin-bottom: 40px;
        width: 100%;
    }
    
    .product-card {
        margin-bottom: 15px;
        width: 100%;
        display: block;
        visibility: visible;
        opacity: 1;
    }
    
    .product-image {
        min-height: 180px;
        max-height: 220px;
        width: 100%;
        display: block;
    }
    
    .product-image img {
        min-height: 180px;
        max-height: 220px;
        width: 100%;
        display: block;
        visibility: visible;
    }
    
    .product-info {
        padding: 15px;
        display: block;
    }
}

/* ===== 이미지 모달 팝업 ===== */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s;
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    animation: zoomIn 0.3s;
}

.image-modal-content img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s;
    line-height: 1;
}

.image-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.image-modal-close:active {
    transform: rotate(90deg) scale(0.9);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .image-modal-content {
        max-width: 95%;
    }
    
    .image-modal-close {
        top: -35px;
        right: -10px;
        font-size: 35px;
        width: 35px;
        height: 35px;
    }
    
    .bottom-design {
        height: 120px;
    }
    
    .bottom-design .design-image {
        min-height: 120px;
    }
}

/* 로고 영역 위아래 여백 강제 축소 */
.site-header .logo-area {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

/* 로고 이미지는 크기 그대로 유지 */
.site-header .logo-area .logo-img {
  height: 120px;   /* 원래 크기로 복구 */
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
