
/* 기본 리셋 및 폰트 설정 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

p {
    word-break: keep-all;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 헤더 스타일 */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #FFF;
    backdrop-filter: blur(5px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 1s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h1 {
    color: #2c7a2c;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #2c7a2c;
}

/* 히어로 섹션 */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('images/canaan.avif');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.cta-button {
    background: #2c7a2c;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.cta-button:hover {
    background: #1e5a1e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 122, 44, 0.4);
}

/* 공통 섹션 스타일 */
section {
    padding: 80px 0;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c7a2c;
    font-weight: 700;
}

/* 회사소개 섹션 */
.about {
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature h3 {
    color: #2c7a2c;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

/* 제품 섹션 */

.product-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
}

/* 갤러리 섹션 */
.gallery {
    background: #f8f9fa;
}

.gallery-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.slide {
    display: none;
    position: relative;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    font-size: 1.2rem;
    font-weight: 500;
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    transform: translateY(-50%);
}

.slider-nav button {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-nav button:hover {
    background: white;
    transform: scale(1.1);
}

/* 위치 섹션 */
.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.location-info h3 {
    color: #2c7a2c;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.location-info p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.map-placeholder {
    background: #e9ecef;
    padding: 10px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content {
    text-align: center;
    color: #666;
}

/* 문의 섹션 */
.contact {
    background: #2c7a2c;
    color: white;
}

.contact h2 {
    color: white;
}

.contact-content {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.phone-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #90EE90;
}

.phone-button {
    background: white;
    color: #2c7a2c;
    border: none;
    padding: 20px 40px;
    font-size: 1.3rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.phone-button:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* 푸터 */
.footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .about-content,
    .location-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text p {
        text-align: center;
        padding: 10px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .feature {
        padding: 1.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .phone-number {
        font-size: 2rem;
    }
    
    .phone-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 5px;
    }

    .logo>img {
        height: 40px;
        margin-top: 5px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .product-card {
        padding: 2rem;
    }
    
    .contact-content {
        text-align: center;
        flex-direction: column;
    }

    .contact-info>p, .contact-info>h3 {
        font-size: 1.3rem !important;
        margin-bottom: 3px;
    }
}

/* 스크롤 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.6s ease-out;
}
