/* 기본 스타일 */
body {
    font-family: 'Arial', sans-serif;
    position: relative;
    overflow-x: hidden;
}

/* 달과 해파리 컨테이너 */
.moon-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

/* 달 스타일 */
.moon {
    position: absolute;
    top: 50px;
    right: 50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at 30% 30%, #ffffff, #a5c8ff);
    border-radius: 50%;
    box-shadow: 0 0 50px #ffffff80;
    animation: moonGlow 4s ease-in-out infinite;
}

/* 해파리 스타일 */
.jellyfish {
    position: absolute;
    top: 30%;
    left: 10%;
    width: 80px;
    height: 100px;
    background: radial-gradient(circle at 50% 30%, #ffffff40, #ffffff10);
    border-radius: 50% 50% 30% 30%;
    box-shadow: 0 0 20px #ffffff30;
    animation: float 8s ease-in-out infinite;
    transform-origin: center;
}

.jellyfish::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 40px;
    background: linear-gradient(180deg, #ffffff20 0%, transparent 100%);
    border-radius: 0 0 30% 30%;
    animation: tentacles 3s ease-in-out infinite;
}

/* 프로젝트 카드 호버 효과 */
.project-card {
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 애니메이션 키프레임 */
@keyframes moonGlow {
    0%, 100% {
        box-shadow: 0 0 50px #ffffff80;
    }
    50% {
        box-shadow: 0 0 70px #ffffff90;
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(5deg);
    }
    25% {
        transform: translate(20px, -15px) rotate(-5deg);
    }
    50% {
        transform: translate(40px, 0) rotate(5deg);
    }
    75% {
        transform: translate(20px, 15px) rotate(-5deg);
    }
}

@keyframes tentacles {
    0%, 100% {
        transform: translateX(-50%) scaleY(1);
    }
    50% {
        transform: translateX(-50%) scaleY(1.2);
    }
}

/* 연락처 폼 스타일 */
.contact-section {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #fff;
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.submit-btn {
    background: linear-gradient(45deg, #a5c8ff, #ffffff);
    color: #1a1a1a;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(39, 174, 96, 0.2);
    color: #2ecc71;
}

.form-status.error {
    display: block;
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .moon {
        width: 100px;
        height: 100px;
        top: 30px;
        right: 30px;
    }

    .jellyfish {
        width: 60px;
        height: 75px;
    }

    .contact-section {
        padding: 2rem 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}