/* Contact section styles */
.contact-content {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.contact-methods {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.contact-method {
    padding: 1.5rem;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

body.light-mode .contact-method {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-method:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.contact-method h4 {
    margin: 0 0 0.5rem 0;
    color: var(--violet-color);
    font-size: 1.1rem;
}

.contact-method a {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
}

.contact-method a:hover {
    color: var(--violet-color);
    text-decoration: underline;
}

.social-links {
    text-align: center;
    margin-top: 2rem;
}

.social-links p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 40px;
    height: 40px;
    transition: var(--transition);
    border-radius: 8px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--violet-color);
    transform: scale(1.1);
    box-shadow: var(--shadow);
}

body.light-mode .social-icons a {
    background: rgba(0, 0, 0, 0.1);
}

body.light-mode .social-icons a:hover {
    background: var(--violet-color);
}

/* Mobile responsiveness for contact */
@media only screen and (max-width: 768px) {
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .contact-method {
        padding: 1rem;
    }
    
    .social-icons {
        gap: 1rem;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
}

/* Improved skills section */
.skills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.skills section {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-mode .skills section {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.skills h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--violet-color);
    border-bottom: 2px solid var(--violet-color);
    padding-bottom: 0.5rem;
}

.skills ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 0;
    list-style: none;
}

.skill-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-mode .skill-item {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.skill-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--violet-color);
}

.skill-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.skill-content img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.skill-name {
    font-weight: 600;
    color: var(--violet-color);
}

.skill-progress {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

body.light-mode .skill-progress {
    background: rgba(0, 0, 0, 0.1);
}

.skill-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--violet-color), var(--violet-light-color));
    border-radius: 4px;
    transition: width 2s ease-in-out;
    position: relative;
}

.skill-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
    animation: shine 2s infinite;
}

.skill-level {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--violet-color);
    text-align: right;
    display: block;
}

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

.skills ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 1rem;
    padding: 0;
    list-style: none;
}

.skills ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    text-align: center;
}

body.light-mode .skills ul li {
    background: rgba(255, 255, 255, 0.5);
}

.skills ul li:hover {
    transform: translateY(-3px);
    background: var(--violet-color);
    color: white;
}

.skills ul li img {
    width: 32px;
    height: 32px;
    margin-bottom: 0.5rem;
}

.personal ul {
    grid-template-columns: 1fr;
}

.personal ul li {
    text-align: left;
    justify-content: flex-start;
    padding: 0.75rem 1rem;
}

.personal ul li::before {
    content: '✓';
    color: var(--success-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

@media only screen and (max-width: 768px) {
    .skills {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .skills ul {
        grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
        gap: 0.5rem;
    }
    
    .skills ul li {
        padding: 0.75rem 0.5rem;
    }
    
    .skills ul li img {
        width: 24px;
        height: 24px;
    }
}
