/* 기본 스타일 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* 네비게이션 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .navbar {
        top: env(safe-area-inset-top);
    }
}

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

.nav-logo h2 {
    color: #2c3e50;
    font-weight: 700;
    font-size: 2.125rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #1a5f3a;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #1a5f3a;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* 메인 히어로 섹션 */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #1a5f3a 0%, #0d3d1f 50%, #0a2d17 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease 0.4s both;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.feature i {
    font-size: 2rem;
    color: #f39c12;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease 0.6s both;
}

.contact-info h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item i {
    color: #f39c12;
    font-size: 1.2rem;
}

.phone-highlight {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.phone-highlight:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.phone-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
}

.phone-number:hover {
    color: #f39c12;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* 제품 섹션 */
.products {
    padding: 100px 0;
    background: #f8f9fa;
}

.products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #2c3e50;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

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

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

.product-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1a5f3a 0%, #0d3d1f 50%, #0a2d17 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.product-image i {
    font-size: 2rem;
    color: white;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.product-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-card ul {
    list-style: none;
    text-align: left;
}

.product-card li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.product-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* 갤러리 섹션 */
.gallery {
    padding: 100px 0;
    background: white;
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #2c3e50;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.gallery-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.gallery-image {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a5f3a 0%, #0d3d1f 50%, #0a2d17 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.gallery-image i {
    font-size: 1.5rem;
    color: white;
}

.gallery-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.gallery-item p {
    color: #666;
    font-size: 0.9rem;
}

/* 푸터 */
.footer {
    background: #5d6d7e;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-section p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-section i {
    margin-right: 10px;
    color: #ffffff;
}

.footer-section .phone-highlight {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 15px;
}

.footer-section .phone-number {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section .phone-number:hover {
    color: #f39c12;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

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

/* 반응형 디자인 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero {
        background: linear-gradient(135deg, #1a5f3a 0%, #0d3d1f 50%, #0a2d17 100%);
        min-height: 120vh;
        padding: 140px 0 80px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .hero p {
        margin-bottom: 30px;
    }

    .hero-features {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }

    .contact-info {
        margin-top: 20px;
        padding: 25px;
    }

    .contact-info h3 {
        margin-bottom: 15px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        background: linear-gradient(135deg, #1a5f3a 0%, #0d3d1f 50%, #0a2d17 100%);
        min-height: 130vh;
        padding: 160px 0 60px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 0;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .hero-features {
        margin-bottom: 35px;
    }

    .contact-info {
        padding: 20px;
        margin-top: 15px;
    }

    .contact-info h3 {
        margin-bottom: 12px;
    }

    .product-card {
        padding: 30px 20px;
    }
} 

.highlight {
    color: #f39c12;
    font-weight: 800;
    font-size: 1.08em;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.08);
    padding: 0 4px;
    border-radius: 4px;
    background: rgba(255,255,255,0.08);
}

/* 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}

.modal-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #000;
}

.modal-body {
    padding: 20px;
}

.image-container {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.image-container img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.loading {
    color: #666;
    font-size: 1.1rem;
    text-align: center;
}

.modal-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.nav-btn {
    background: #1a5f3a;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.3s ease;
}

.nav-btn:hover {
    background: #0d3d1f;
}

.nav-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

#imageCounter {
    font-weight: 600;
    color: #2c3e50;
    min-width: 60px;
    text-align: center;
}

/* 갤러리 아이템 클릭 가능 스타일 */
.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* 모바일 모달 반응형 */
@media (max-width: 768px) {
    .modal-content {
        margin: 5% auto;
        width: 95%;
        max-height: 85vh;
        display: flex;
        flex-direction: column;
    }
    
    .modal-header {
        padding: 15px;
        flex-shrink: 0;
    }
    
    .modal-header h3 {
        font-size: 1.1rem;
    }
    
    .modal-body {
        padding: 15px;
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }
    
    .image-container {
        min-height: 250px;
        flex: 1;
        margin-bottom: 15px;
    }
    
    .image-container img {
        max-height: 250px;
        max-width: 100%;
        object-fit: contain;
    }
    
    .modal-nav {
        flex-shrink: 0;
        padding: 10px 0;
        background: #f8f9fa;
        border-top: 1px solid #eee;
        margin: 0 -15px -15px -15px;
        padding: 15px;
    }
    
    .nav-btn {
        padding: 12px 18px;
        font-size: 1rem;
        min-width: 50px;
    }
    
    #imageCounter {
        font-size: 0.9rem;
        min-width: 50px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 2% auto;
        width: 98%;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 12px;
    }
    
    .modal-header h3 {
        font-size: 1rem;
    }
    
    .modal-body {
        padding: 12px;
    }
    
    .image-container {
        min-height: 200px;
    }
    
    .image-container img {
        max-height: 200px;
    }
    
    .modal-nav {
        padding: 12px;
        margin: 0 -12px -12px -12px;
    }
    
    .nav-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
        min-width: 45px;
    }
    
    #imageCounter {
        font-size: 0.8rem;
        min-width: 45px;
    }
} 