/* Reset and Base Styles */
* {
    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;
    background-color: #fff;
}

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

/* Typography */
h1, h2, h3 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn.primary {
    background-color: #007AFF;
    color: white;
}

.btn.secondary {
    background-color: transparent;
    color: #007AFF;
    border: 2px solid #007AFF;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Background Slider */
.background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 80px 0;
    color: #fff;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero h2 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

/* About Section */
.about {
    padding: 100px 0;
    background-color: #fff;
}

.about p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: #f8f9fa;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* Service Icons */
.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background-color: #fff;
}

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

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.tech-stack span {
    background-color: #f0f0f0;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.screenshot-placeholder {
    width: 100%;
    height: 400px;
    background-color: #f0f0f0;
    border-radius: 12px;
    margin-top: 2rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

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

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

footer p {
    margin-bottom: 0.5rem;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        padding: 60px 0;
    }

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

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

    .screenshot-placeholder {
        height: 300px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero h2 {
        font-size: 1.3rem;
    }

    .container {
        padding: 0 15px;
    }
}

/* Portfolio Carousel */
.portfolio-carousel {
    position: relative;
    width: 350px;
    max-width: 100%;
    margin: 2rem auto 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 600px;
}

.carousel-arrow {
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s;
}
.carousel-arrow:hover {
    background: rgba(0,0,0,0.7);
}
.carousel-arrow.left {
    left: 8px;
}
.carousel-arrow.right {
    right: 8px;
}

.carousel-track {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: visible;
}

.carousel-img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 100%;
    height: 90%;
    object-fit: cover;
    background: #f8f9fa;
    opacity: 0;
    z-index: 1;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    border-radius: 16px;
    transition: all 0.5s cubic-bezier(.4,2,.6,1), z-index 0.5s cubic-bezier(.4,2,.6,1);
    pointer-events: none;
}

.carousel-img.active {
    opacity: 1;
    z-index: 3;
    transform: translate(-50%, -50%) scale(1);
    width: 100%;
    height: 100%;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    pointer-events: auto;
}

.carousel-img.prev, .carousel-img.next {
    opacity: 0.5;
    z-index: 2;
    width: 60%;
    height: 80%;
    transform: translate(-120%, -50%) scale(1);
    pointer-events: none;
}
.carousel-img.next {
    transform: translate(20%, -50%) scale(1);
}

@media (max-width: 768px) {
    .portfolio-carousel {
        max-width: 100vw;
        height: 330px;
    }
    .carousel-img,
    .carousel-img.active {
        width: 100%;
        height: 100%;
    }
    .carousel-img.prev, .carousel-img.next {
        width: 70%;
        height: 70%;
    }
} 