/* 아트시너지 - 정부지원 정책자금 컨설팅 홈페이지 스타일 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.85);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: "Pretendard Variable", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-size: 1.8rem;
    font-weight: 600; /* Semi Bold */
    color: #ffffff;
    text-decoration: none;
}
.logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

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

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

.nav-link:hover {
    color: #3b82f6;
}

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

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

.cta-button {
    background: transparent;
    color: white;
    border: 2px solid #dbeafe;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: white;
    color: #2d3748;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}


.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.8;
}
.hero-highlight {
    color: #3b82f6;
    font-weight: 800;
    font-size: 1.1em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* 파란색 텍스트 가독성 개선 클래스 */
.blue-text-with-outline {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-cta-button {
    display: inline-block;
    transition: all 0.3s ease;
}
.hero-cta-button:hover {
    transform: translateY(-5px);
}
.cta-button-img {
    max-width: 300px;
    height: auto;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    color: #3b82f6;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border: 2px solid white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: white;
    color: #3b82f6;
    transform: translateY(-2px);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

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

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #718096;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-slider-container {
    position: relative;
    margin-top: 3rem;
    overflow: hidden;
}
.services-slider {
    display: flex;
    transition: transform 0.5s ease;
    animation: autoSlide 20s infinite linear;
}
.services-slider:hover {
    animation-play-state: paused;
}
.services-slider.manual {
    animation: none;
}

.service-card {
    flex: 0 0 350px;
    height: 500px;
    margin: 0 1rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background-size: cover;
    background-position: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.8) 100%);
    transition: all 0.3s ease;
    z-index: 1;
}
.service-card:hover::before {
    background: linear-gradient(135deg, rgba(0,0,0,0.6), rgba(0,0,0,0.8));
}

.service-card:hover {
    transform: scale(1.05);
}
.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: white;
    z-index: 10;
}
.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1), 1px 1px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.9);
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}
.service-details {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}
.service-card:hover .service-details {
    opacity: 1;
    max-height: 300px;
}
.service-details ul {
    list-style: none;
    padding: 0;
}
.service-details li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.service-details li::before {
    content: '✓';
    color: #3b82f6;
    font-weight: bold;
    margin-right: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: all 0.3s ease;
    color: #3b82f6;
    font-size: 1.2rem;
}
.services-slider-container:hover .slider-arrow {
    opacity: 1;
}
.slider-arrow.prev {
    left: 1rem;
}
.slider-arrow.next {
    right: 1rem;
}
.slider-arrow:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    z-index: 10;
    margin-bottom: 1rem;
}

.service-description {
    color: #718096;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    color: #475569;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li::before {
    content: '✓';
    color: #3b82f6;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.service-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e40af !important;
    text-align: center;
    padding: 1rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8) !important;
    z-index: 20 !important;
    position: relative;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 10px;
    margin-top: 1rem;
}

/* Cases Section */
.cases {
    padding: 5rem 0;
    background: #f8f9fa;
}

.cases-slider {
    height: 400px;
    overflow: hidden;
    margin-top: 2rem;
    position: relative;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    padding: 1rem;
}

.cases-scroll {
    animation: scrollUp 15s linear infinite;
}

.case-item {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #3b82f6;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.case-item:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.2);
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.case-company {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.case-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: #3b82f6;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2d3748, #4a5568);
    color: white;
}

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

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-features {
    list-style: none;
}

.contact-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-features i {
    color: #3b82f6;
    font-size: 1.2rem;
}

.contact-form {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

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

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: #374151;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.75rem;
    transform: scale(1.2);
}

/* 진행 표시기 */
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step span {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step.active span {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.step small {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

.step.active small {
    color: #3b82f6;
    font-weight: 600;
}

.step-line {
    width: 60px;
    height: 2px;
    background: #e5e7eb;
    margin: 0 1rem;
}

/* 단계 버튼들 */
.next-btn, .prev-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.next-btn {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    width: 100%;
}

.next-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.prev-btn {
    background: #f8fafc;
    color: #718096;
    border: 2px solid #e2e8f0;
}

.prev-btn:hover {
    background: #e2e8f0;
    color: #475569;
}

/* 확장 버튼 */
.expand-btn {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 1.2rem 2rem;
    border: none;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
    margin-top: 1rem;
}

.expand-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

.expand-btn i {
    font-size: 1.1rem;
}

/* 최종 제출 버튼 */
.final-submit-btn {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    font-size: 1.1rem;
    padding: 1.2rem 2rem;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.final-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

/* 확장 섹션 애니메이션 */
.expanded-section {
    animation: slideDown 0.5s ease-out;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.expanded-section.show {
    opacity: 1;
    max-height: 2000px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 폼 행 반응형 */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr !important;
    }
}

/* 가능성 결과 박스 */
.eligibility-result {
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Footer */
.footer {
    background: #1a202c;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-info {
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 1rem;
    margin-top: 2rem;
    opacity: 0.6;
}

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


@keyframes autoSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes slideLeft {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .cases-slider {
        height: 300px;
    }

    .case-item {
        padding: 1rem;
    }
}

/* Floating Action Button */
.floating-contact {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-contact:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 99, 235, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 25px rgba(59, 130, 246, 0.6);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
        transform: scale(1);
    }
}