/* 전역 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2C3E50;
    --secondary-color: #3498DB;
    --accent-color: #E74C3C;
    --text-color: #333;
    --light-gray: #f8f9fa;
    --border-color: #e9ecef;
    --dark-bg: #1a1a1a;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

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

/* 헤더 스타일 */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}


.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 히어로 섹션 */
.hero {
    margin-top: 90px;
    position: relative;
    height: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, #2C3E50 0%, #3498DB 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

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

.about {
    padding: 3rem 0;
    background: white;
}



.btn-primary {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}


/* About 섹션 */
.about {
    padding: 5rem 0;
    background: white;
    margin-top: 90px;
}

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

.about-text h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.about-text p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #666;
}

.about-stats {
    display: grid;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #666;
    font-weight: 500;
}

/* 솔루션 섹션 */
.solutions {
    padding: 5rem 0;
    background: var(--light-gray);
}

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

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

.solution-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.solution-icon {
    height: 80px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-icon img {
    max-height: 100%;
    width: auto;
}

.solution-icon i {
    font-size: 3rem;
    color: var(--primary-color);
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.solution-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.learn-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

/* Services 섹션 */
.services {
    padding: 5rem 0;
    background: white;
}

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

.service-item {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-icon {
    height: 80px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 3rem;
    color: var(--secondary-color);
}

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

.service-item p {
    color: #666;
    line-height: 1.6;
}

/* 뉴스 섹션 */
.news {
    padding: 5rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
}

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

.news-item {
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: border-color 0.3s;
}

.news-item:hover {
    border-color: var(--primary-color);
}

.news-date {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.news-item p {
    color: #666;
    font-size: 0.95rem;
}

/* Contact 섹션 */
.contact {
    padding: 5rem 0;
    background: var(--light-gray);
}

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

.contact-info h3,
.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 2rem;
}

.contact-details {
    display: grid;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    min-width: 20px;
}

.contact-item h4 {
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.contact-item p {
    margin: 0;
    color: #666;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 파트너 섹션 */
.partners {
    padding: 3rem 0;
    background: var(--light-gray);
}

.partner-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.partner-logos img {
    height: 50px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.partner-logos img:hover {
    opacity: 1;
}

/* 푸터 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    margin-bottom: 1rem;
}

.footer-info p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
}

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

.footer-column a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    line-height: 2;
}

.footer-column a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 1;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .solution-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* DocsRay 상세 섹션 */
.docsray-detail {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.docsray-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-top: 1rem;
    font-weight: bold;
    text-align: center;
}

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

.feature-main h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.feature-main p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.feature-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.highlight-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.highlight-item span {
    font-weight: 500;
}

.feature-details {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.feature-details h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    padding: 0.75rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-list i {
    color: #27ae60;
    margin-top: 0.25rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

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

/* 솔루션 카드 4개 그리드 */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-highlights {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .solution-grid {
        grid-template-columns: 1fr;
    }
}

/* Service Detail 섹션 */
.service-detail {
    padding: 4rem 0;
    background: #f8f9fa;
}

.service-detail:nth-child(odd) {
    background: white;
}

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

.service-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.service-content .feature-list {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    list-style: none;
}

.service-content .feature-list li {
    text-align: left;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

/* All News 섹션 */
.all-news {
    padding: 5rem 0;
    background: white;
}

.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item-full {
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 2rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.news-item-full:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-item-full .news-date {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

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

.news-item-full p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

/* Footer Layout */
.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: center;
}

.footer-logo-right {
    text-align: right;
}

.footer-logo {
    height: 80px;
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}