/* home.css - 메인 페이지 전용 스타일 */

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
    /* url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%234a90e2" width="1200" height="600"/><polygon fill="%23ffffff" opacity="0.1" points="0,600 200,400 400,500 600,300 800,400 1000,200 1200,300 1200,600"/></svg>'); */
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f39c12" width="1200" height="600"/><polygon fill="%23ffffff" opacity="0.1" points="0,600 200,400 400,500 600,300 800,400 1000,200 1200,300 1200,600"/></svg>');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-content .cta-button {
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f39c12;
    margin-bottom: 1rem;
}
/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

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

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

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgb(243 156 18 / 50%);
}

.feature-icon {
    /* background: #3498db; */
    background: #f39c12;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}
/* Recent Works Section - 이 부분이 완전히 빠져있음 */
.recent-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.recent-work-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.recent-work-item:hover {
    transform: translateY(-10px);
    /* box-shadow: 0 20px 40px rgba(0,0,0,0.15); */
    box-shadow: 0 15px 30px rgb(243 156 18 / 50%);
}

.recent-work-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #6c757d;
    position: relative;
    overflow: hidden;
}

.recent-work-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52,152,219,0.1), rgba(46,204,113,0.1));
}

.recent-work-content {
    padding: 2rem;
}

.recent-work-category {
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
}

.recent-work-item:nth-child(1) .recent-work-category {
    background: #3498db;
}

.recent-work-item:nth-child(2) .recent-work-category {
    background: #e74c3c;
}

.recent-work-item:nth-child(3) .recent-work-category {
    background: #f39c12;
}

.recent-work-item:nth-child(4) .recent-work-category {
    background: #9b59b6;
}

.recent-work-content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.recent-work-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.recent-work-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #888;
    border-top: 1px solid #f0f0f0;
    padding-top: 1rem;
}

.view-more-btn {
    background: #f8f9fa;
    color: #2c3e50;
    padding: 12px 30px;
    /* border: 2px solid #3498db; */
    border: 2px solid #f39c12;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 2rem;
}

.view-more-btn:hover {
    background: #f39c12;
    color: white;
    transform: translateY(-2px);
}
/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    /* border-top: 4px solid #3498db; */
    border-top: 4px solid #f39c12;
}

.service-card:hover {
    transform: translateY(-10px);
    /* box-shadow: 0 20px 40px rgba(0,0,0,0.15); */
    box-shadow: 0 15px 30px rgb(243 156 18 / 50%);
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

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

.service-card li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

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

/* Contact Section */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    /* background: #2c3e50; */
    background: #f39c1280;
    /* color: white; */
    color: #202b36;
    padding: 2rem;
    border-radius: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-icon {
    /* background: #3498db; */
    /* background: #ecf0f1; */
    background: #f39c12;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

/* 반응형 설정 */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .recent-work-image {
        height: 200px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}
/* 모바일 */
@media (max-width: 480px) {
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
    }
}