/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 파스텔톤 컬러 팔레트 */
    --primary-color: #5B9BD5;
    --primary-light: #A8D5F2;
    --primary-dark: #3A7CA5;
    --secondary-color: #F4A460;
    --secondary-light: #FFD4A8;
    
    /* 배경 및 텍스트 */
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFB;
    --bg-gray: #F0F4F8;
    --text-dark: #2C3E50;
    --text-gray: #5A6C7D;
    --text-light: #8B9BA8;
    
    /* 강조 색상 */
    --success-color: #7FD1AE;
    --warning-color: #FFB84D;
    --error-color: #FF6B6B;
    
    /* 그림자 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    
    /* 폰트 */
    --font-primary: 'Noto Sans KR', sans-serif;
    --font-display: 'Gowun Batang', serif;
    
    /* 간격 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Header */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.logo a:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    font-family: var(--font-display);
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #E3F2FD 0%, #F8FAFB 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(91, 155, 213, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(244, 164, 96, 0.1) 0%, transparent 50%);
}

.hero-decoration .circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(91, 155, 213, 0.2), transparent);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(244, 164, 96, 0.2), transparent);
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(127, 209, 174, 0.2), transparent);
    top: 60%;
    right: 30%;
    animation-delay: 4s;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-family: var(--font-primary);
}

.hero-title .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 12px;
    background-color: var(--primary-light);
    opacity: 0.3;
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(91, 155, 213, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 155, 213, 0.4);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-gray);
}

.btn-outline:hover {
    background-color: var(--text-dark);
    color: white;
    border-color: var(--text-dark);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

.btn-kakao {
    background-color: #FEE500;
    color: #3C1E1E;
    font-weight: 600;
}

.btn-kakao:hover {
    background-color: #FDD835;
    transform: translateY(-2px);
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-gray);
    font-weight: 500;
}

/* Services Section */
.services {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--primary-dark);
    gap: 0.5rem;
}

/* Features Section */
.features {
    padding: var(--spacing-xl) 0;
    background-color: white;
}

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

.features-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-check {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--success-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.feature-item h4 {
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.features-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
    box-shadow: var(--shadow-md);
}

.image-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1rem;
    text-align: center;
}

/* Testimonials */
.testimonials {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.testimonial-author strong {
    color: var(--text-dark);
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Partners */
.partners {
    padding: var(--spacing-lg) 0;
    background-color: white;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--text-gray);
    text-align: center;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    transform: scale(1.05);
}

/* CTA Section */
.cta {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.cta .btn-primary:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

.cta .btn-outline {
    border-color: white;
    color: white;
}

.cta .btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--bg-light);
    padding: 4rem 0 2rem;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.phone-btn {
    background-color: var(--success-color);
}

.kakao-btn {
    background-color: #FEE500;
}

.top-btn {
    background-color: var(--primary-color);
    color: white;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.top-btn.visible {
    opacity: 1;
    visibility: visible;
}

/* Page Header */
.page-header {
    margin-top: 80px;
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #E3F2FD 0%, #F8FAFB 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
}

/* Timeline */
.timeline-section {
    padding: var(--spacing-xl) 0;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 4px solid white;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.timeline-year {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.timeline-content {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(10px);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.timeline-content > p {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style: none;
    padding-left: 0;
}

.timeline-content ul li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-gray);
    position: relative;
}

.timeline-content ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Certifications */
.certifications {
    padding: var(--spacing-lg) 0;
    background-color: var(--bg-light);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.cert-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.cert-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cert-card h4 {
    margin-bottom: 0.5rem;
}

.cert-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Vision */
.vision {
    padding: var(--spacing-xl) 0;
}

.vision-content h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

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

.vision-item {
    padding: 2.5rem;
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    text-align: center;
    border-left: 5px solid var(--primary-color);
    transition: all 0.3s ease;
}

.vision-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.vision-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.vision-item p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Service Detail */
.service-detail {
    padding: var(--spacing-xl) 0;
}

.service-detail.alt {
    background-color: var(--bg-light);
}

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

.service-detail-content.reverse {
    direction: rtl;
}

.service-detail-content.reverse > * {
    direction: ltr;
}

.service-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.service-detail-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-box {
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
}

.service-detail.alt .feature-box {
    background-color: white;
}

.feature-box h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-box p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.check-list li {
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    position: relative;
    color: var(--text-gray);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

/* Process Section */
.process-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--bg-light);
}

.process-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.process-step {
    flex: 0 0 160px;
    text-align: center;
    padding: 2rem 1rem;
    background-color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 700;
    font-size: 1.3rem;
}

.process-step h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.process-step p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.process-arrow {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
}

/* FAQ Section */
.faq-section {
    padding: var(--spacing-lg) 0;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    background-color: var(--bg-light);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.faq-answer {
    padding: 1.5rem 2rem;
    color: var(--text-gray);
    line-height: 1.7;
    border-top: 1px solid var(--bg-gray);
}

/* Products */
.filter-section {
    padding: 2rem 0;
    background-color: white;
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--bg-gray);
    background-color: white;
    color: var(--text-gray);
    border-radius: var(--radius-xl);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.products-section {
    padding: 4rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 250px;
    background: white; /* 배경을 흰색으로 변경 */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 실제 이미지 스타일 */
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* cover 대신 contain - 이미지 전체 보이도록 */
    object-position: center;
    padding: 1rem; /* 이미지 주변 여백 */
}

.product-image .image-placeholder {
    font-size: 5rem;
    height: auto;
    background: none;
    box-shadow: none;
}

.product-info {
    padding: 1.5rem;
}

.product-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.product-info p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.btn-inquiry {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-inquiry:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.catalog-section {
    padding: 3rem 0;
    background-color: var(--bg-light);
}

.catalog-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.catalog-box h2 {
    margin-bottom: 1rem;
}

.catalog-box p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

/* Notice */
.notice-section {
    padding: 4rem 0;
}

.notice-list {
    max-width: 1000px;
    margin: 0 auto;
}

.notice-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background-color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.notice-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.notice-item.important {
    border-left: 5px solid var(--secondary-color);
}

.notice-badge {
    padding: 0.5rem 1rem;
    background-color: var(--secondary-color);
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
}

.notice-content {
    flex: 1;
}

.notice-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.notice-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.notice-date {
    color: var(--text-light);
    font-size: 0.85rem;
}

.notice-summary {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.notice-detail {
    display: none;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--bg-light);
}

.notice-item.active .notice-detail {
    display: block;
}

.notice-detail h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    margin-top: 1.5rem;
}

.notice-detail h4:first-child {
    margin-top: 0;
}

.notice-detail p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.notice-detail ul {
    list-style: none;
    padding-left: 0;
}

.notice-detail ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.8;
}

.notice-detail ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.notice-detail ul li strong {
    color: var(--primary-color);
}

.notice-item::after {
    content: "▼";
    color: var(--text-light);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    margin-left: auto;
}

.notice-item.active::after {
    transform: rotate(180deg);
}

.notice-views {
    color: var(--text-light);
    font-size: 0.9rem;
    white-space: nowrap;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-btn {
    padding: 0.8rem 1.2rem;
    border: 1px solid var(--bg-gray);
    background-color: white;
    color: var(--text-gray);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-btn:hover,
.page-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Gallery */
.gallery-section {
    padding: 4rem 0;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    box-shadow: var(--shadow-sm);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.gallery-image {
    position: relative;
    height: 280px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
}

.gallery-image .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    z-index: 2001;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.modal-image {
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.modal-image img {
    max-width: 90vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.modal-image .image-placeholder.large {
    height: 70vh;
    font-size: 10rem;
}

.modal-caption {
    background-color: white;
    padding: 2rem;
    text-align: center;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.success-modal {
    background-color: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 500px;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--success-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
}

/* Contact */
.contact-section {
    padding: 4rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.contact-form-wrapper h2 {
    margin-bottom: 1rem;
}

.form-description {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--bg-gray);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(91, 155, 213, 0.1);
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
}

.privacy-link {
    color: var(--primary-color);
    text-decoration: underline;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-box {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
}

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

.info-item {
    margin-bottom: 1rem;
}

.info-item strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.info-item span,
.info-item a {
    color: var(--text-gray);
    text-decoration: none;
}

.info-item a:hover {
    color: var(--primary-color);
}

/* Map */
.map-section {
    padding: 4rem 0 0;
}

.map-wrapper {
    height: 500px;
    margin-top: 2rem;
}

.map-placeholder {
    height: 100%;
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.map-icon {
    font-size: 5rem;
}

.map-placeholder p {
    text-align: center;
    color: var(--text-gray);
    line-height: 1.8;
}

.faq-quick {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.faq-quick-item {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.faq-quick-item h4 {
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.faq-quick-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

.company-intro {
    padding: var(--spacing-lg) 0;
    background-color: var(--bg-light);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.intro-content p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .features-content,
    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .service-detail-content.reverse {
        direction: ltr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        gap: 1rem;
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: 70vh;
        margin-top: 80px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

    .process-grid {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .timeline {
        padding-left: 40px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-item::before {
        left: -30px;
    }

    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

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

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

/* Hide elements by default for animation */
.service-card,
.stat-item,
.testimonial-card,
.timeline-item,
.product-card,
.gallery-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.service-card.visible,
.stat-item.visible,
.testimonial-card.visible,
.timeline-item.visible,
.product-card.visible,
.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}