/*
 Theme Name:   Royal Elementor Kit Child
 Theme URI:    
 Description:  Child theme for Royal Elementor Kit
 Author:       Caziel
 Template:     royal-elementor-kit
 Version:      1.0.0
 Text Domain:  royal-elementor-kit-child
*/

/* ============================================================
   ADD YOUR CUSTOM CSS BELOW THIS LINE
   Changes here are safe from parent theme updates.
   ============================================================ */


/* --- Project Cards --- */
.projects-grid-section {
    padding: 40px 20px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 18px;
    border: 1px solid #19DB9C;
    background: transparent;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
    background: #19DB9C;
    color: #000;
}

.projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.project-card {
    width: calc(33.333% - 14px);
    background: #111;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.project-card .card-image {
    position: relative;
}

.project-card .card-image img {
    width: 100%;
    display: block;
}

.card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #19DB9C;
    color: #000;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.project-card .card-body {
    padding: 16px;
}

.project-card .card-body h3 {
    color: #19DB9C;
    margin: 0 0 6px;
    font-size: 16px;
}

.project-card .card-body p {
    color: #ccc;
    font-size: 13px;
    margin: 0;
}

@media (max-width: 768px) {
    .project-card {
        width: calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .project-card {
        width: 100%;
    }
}


/* --- Skills Page --- */
.skills-section {
    padding: 40px 20px;
}

.skill-group {
    margin-bottom: 50px;
}

.skill-group-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.skill-group-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.view-projects-btn {
    padding: 5px 14px;
    border: 1px solid #fff;
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.view-projects-btn:hover {
    background: #fff;
    color: #000;
}

.tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 80px;
}

.tool-item img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.tool-item span {
    font-size: 13px;
    color: #ccc;
    text-align: center;
}
