:root {
    --primary-color: #8A2BE2;
    --secondary-color: #4B0082;
    --text-color: #333;
    --bg-color: #000;
    --section-bg: #111;
    --card-bg: #1a1a1a;
    --hover-color: #9B30FF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* a, button, .toggle-btn, .project-header h3 {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%239B30FF" style="opacity:0.9"><polygon points="12,2 19,21 12,16 5,21" /></svg>') 12 12, pointer;
} */

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: var(--bg-color);
    /* cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%238A2BE2" style="opacity:0.8"><circle cx="12" cy="12" r="8"/></svg>') 12 12, auto; */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    padding: 100px 0;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.profile-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.profile-text {
    text-align: left;
}

.header h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.section {
    padding: 80px 0;
    background-color: var(--section-bg);
    margin: 20px 0;
    border-radius: 10px;
}

.section h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.strength-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.strength-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
    /*  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24" fill="%238A2BE2" style="opacity:1"><circle cx="12" cy="12" r="10" stroke="white" stroke-width="2"/></svg>') 14 14, auto; */
}

.strength-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.strength-title {
    color: #fff;
    font-weight: bold;
    margin-bottom: 10px;
}

.strength-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

.profile-content {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--primary-color);
}

.profile-content ul {
    font-size: 1.2rem;
    list-style: none;
    margin-bottom: 20px;
}

.profile-content li {
    margin-bottom: 15px;
}

.profile-content strong {
    color: var(--primary-color);
    margin-right: 10px;
}

.intro {
    font-size: 1.5rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.skill-category {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
}

.skill-category h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.project-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--primary-color);
    margin-bottom: 30px;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    cursor: pointer;
}

.project-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0;
}

.toggle-btn {
    background-color: var(--primary-color);
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 0.9rem;
    padding: 5px 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.toggle-btn:hover {
    background-color: var(--hover-color);
}

.toggle-btn.active {
    background-color: #555;
}

.collapsible {
    overflow: hidden;
    transition: max-height 0.5s ease;
    max-height: 2000px; /* 충분히 큰 값으로 설정 */
}

.collapsible.collapsed {
    max-height: 0;
}

.project-details p {
    margin-bottom: 15px;
}

.project-details h4 {
    color: var(--primary-color);
    margin: 25px 0 15px;
    font-size: 1.2rem;
}

.project-details ul {
    list-style: none;
    margin-left: 20px;
}

.project-details li {
    margin-bottom: 10px;
    position: relative;
}

.project-details li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: -20px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    background-color: var(--card-bg);
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--hover-color);
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.2);
}

.submit-button {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.status-message {
    margin: 15px 0;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

.status-message.success {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid #28a745;
}

.status-message.error {
    background-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid #dc3545;
}

.footer {
    background-color: var(--section-bg);
    padding: 40px 0;
    text-align: center;
    margin-top: 50px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .header {
        padding: 60px 0;
    }

    .profile-header {
        flex-direction: column;
        gap: 20px;
    }

    .profile-text {
        text-align: center;
    }

    .header h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .project-card h3 {
        font-size: 1.5rem;
    }
}