/* Skills Section Styles */
.skills-section {
    padding: 4rem 0;
    background-color: #fff;
}

.skills-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.marker-center {
    margin-bottom: 3rem;
}

.intro-text {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.skills-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
}

.skills-intro p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.skills-intro .highlight {
    color: var(--primary-color);
    font-weight: 600;
}

/* Skills Categories Tabs */
.skills-categories {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-tab {
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 30px;
    position: relative;
}

.skill-tab:hover {
    color: var(--primary-color);
}

.skill-tab.active {
    color: var(--primary-color);
    background-color: var(--hover-light);
}

.skill-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

/* Skills Grid */
.skills-category {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    padding: 1rem;
    justify-content: center;
    margin: 0 auto;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: transparent !important;
    border-radius: 12px;
    box-shadow: none !important;
    border: none !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Special styles for Google Cloud logo */
.skill-item[data-skill="google-cloud"] {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.skill-item[data-skill="google-cloud"]:hover,
.skill-item[data-skill="google-cloud"].visible {
    background: transparent !important;
    box-shadow: none !important;
}

.skill-item[data-skill="google-cloud"]::before {
    background-color: transparent !important;
}

.skill-item[data-skill="google-cloud"] .skill-icon {
    transform: scale(1.2);
}

.skill-item:hover {
    transform: translateY(-5px);
    background: transparent !important;
    box-shadow: none !important;
}

.skill-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.skill-item:hover .skill-icon {
    transform: scale(1.1);
}

.skill-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 0.5rem;
}

.skill-level {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
}

/* Tooltip */
.skill-item::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-size: 0.8rem;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.skill-item:hover::before {
    bottom: -30px;
    opacity: 1;
}

/* Mobile Responsive Design */
@media (max-width: 1200px) {
    .skills-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .skill-icon {
        width: 50px;
        height: 50px;
    }

    .skill-item {
        padding: 1rem;
    }

    .skills-categories {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .skills-categories::-webkit-scrollbar {
        display: none;
    }

    .skill-tab {
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Animation Classes */
.skill-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.skill-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Category Animation */
.skills-category {
    display: none;
    animation: fadeIn 0.5s ease;
}

.skills-category.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 