/* 기본 리셋 및 변수 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 30px;
}

/* 헤더 스타일 */
.header {
    background-color: var(--bg-primary);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 30px;
    max-width: 800px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.main-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* 슬라이드 배너 스타일 */
.hero-slider {
    margin-top: 80px;
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

.slide[data-bg="3words-fortune_bg.png"] {
    background-image: url('images/3words-fortune_bg.png');
}

.slide[data-bg="moiravision_bg.jpg"] {
    background-image: url('images/moiravision_bg.jpg');
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 30px;
    text-align: center;
    color: white;
}

.service-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.service-logo-large {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 20px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.slide h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.slide[data-bg="3words-fortune_bg.png"] h1 {
    color: #E1BEE7; /* 3 Words Fortune 테마 - 연한 보라 */
}

.slide[data-bg="moiravision_bg.jpg"] h1 {
    color: #80CBC4; /* Moiravision 테마 - 연한 청록 */
}

.slide p {
    font-size: 1.3rem;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

.service-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.primary-btn {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.primary-btn:hover {
    background-color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.coming-soon-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    font-weight: 500;
    font-style: italic;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    padding: 1rem 0;
}

.social-links-large {
    display: flex;
    gap: 1rem;
}

.social-link-large {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.social-link-large:hover {
    transform: translateY(-3px) scale(1.05);
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-link-large img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-link-large:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* 슬라이드 인디케이터 */
.slide-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    border-color: white;
}

.indicator:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.5);
}

/* 서비스 섹션 */
.services {
    padding: 6rem 0;
    background-color: var(--bg-secondary);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
    max-width: 600px;
    margin: 3rem auto 0;
}

.service-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* 서비스별 배경 이미지 */
.service-card-3words {
    background-image: url('images/3words-fortune_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.service-card-3words::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    z-index: 1;
}

.service-card-3words > * {
    position: relative;
    z-index: 2;
}

.service-card-moiravision {
    background-image: url('images/moiravision_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.service-card-moiravision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    z-index: 1;
}

.service-card-moiravision > * {
    position: relative;
    z-index: 2;
}

/* 서비스별 테마 색상 */
.service-card-3words h3 {
    color: #6A1B9A; /* 3 Words Fortune 테마 색상 - 짙은 보라색 */
}

.service-card-moiravision h3 {
    color: #26A69A; /* Moiravision 테마 색상 - 청록색 */
}

.service-logo {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.logo-image {
    max-width: 80px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease, filter 0.3s ease;
    border-radius: 12px;
}

.service-card:hover .logo-image {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.service-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--primary-color);
    background: transparent;
    display: inline-block;
}

.service-link:hover {
    color: white;
    background-color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.social-link {
    display: inline-block;
    width: 35px;
    height: 35px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-2px) scale(1.1);
}

.social-icon {
    width: 28px;
    height: 28px;
    display: block;
    filter: opacity(0.8);
    transition: filter 0.3s ease;
}

.social-link:hover .social-icon {
    filter: opacity(1);
}

/* 소개 섹션 */
.about {
    padding: 6rem 0;
}

.about h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.tech-stack h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.tech-tag {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 연락 섹션 */
.contact {
    padding: 6rem 0;
    background-color: var(--bg-secondary);
}

.contact h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.contact p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-block;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* 푸터 */
.footer {
    background-color: var(--text-primary);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

/* 반응형 디자인 */
@media (max-width: 860px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-container {
        padding: 1rem 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 1rem 16px;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .hero {
        padding: 6rem 1rem 3rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .services h2,
    .about h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services,
    .about,
    .contact {
        padding: 4rem 0;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .nav-container {
        padding: 0.8rem 12px;
    }
    
    .hero {
        padding: 5rem 0.8rem 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.6rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .services-grid {
        gap: 1rem;
    }
} 