@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

html{
    font-size: 62.5%;
}

body{
    width: 100%;
    overflow-x: hidden;
    background-color: #000;
    color: #aaa;
}

a {
    color: #fff;
}

/* NAV */
.header__box {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.header__ul {
    display: flex;
    list-style: none;
    position: absolute;
    gap: 40px;
}
.ul__list {
    padding: 10px;
}
.list__link {
    color: #fff;
    border-bottom: 3px solid transparent;
    transition: border 0.3s, color 0.3s;
    font-size: 1.75rem;
}
.link--active {
    padding-bottom: 4px;
    border-bottom: 2px solid #6556b7;
    color: #6556b7;
}

.list__link:hover {
    padding-bottom: 3px;
    color: #6556b7;
    border-bottom: 2px solid #6556b7;
}

@media(max-width:995px) {
    .header__box {
        display: none;
    }
}

/* Navegación tlf*/

.menu-container {
    position: absolute;
    z-index: 1000;
}

.menu-label {
    display: none;
}

.menu-label input[type="checkbox"] {
    display: none;
}

.hidden-buttons {
    display: none;
    margin-top: 10px;
}

.header__ul--tlf {
    width: 9.5rem;
    list-style: none;
    gap: 40px;
    background-color: #333;
    border-radius: 10px;
    box-shadow: 0 0 3px #aaa;
    z-index: 40;
}

.list__link--tlf {
    color: #fff;
    border-left: 3px solid transparent;
    transition: border 0.5s, color 0.3s;
}
.link--active-tlf {
    padding-left: 6px;
    border-left: 2px solid #6556b7;
    color: #6556b7;
}
.list__link--tlf:hover {
    padding-left: 6px;
    border-left: 2px solid #6556b7;
    color: #6556b7;
}

@media(max-width:995px) {
    .menu-container {
        position: absolute;
        padding: 15px 10px;
        z-index: 10;
    }

    .menu-label {
        display: inline-flex;
        align-items: center;
        cursor: pointer;
    }

    .menu-label input[type="checkbox"] {
        display: none;
    }

    .icon-box {
        width: 1.5rem;
        color: #aaa;
        height: 1.60rem;
        border: 1px solid #fff;
        background-color: #222;
        border-radius: 4px;
        scale: 2;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        margin-right: 10px;
        transition: all 0.3s;
        margin: 10px 10px;
    }

    .menu-label input[type="checkbox"]:checked + .icon-box {
        border-color: #6556b7;
    }

    .menu-label input[type="checkbox"]:checked + .icon-box i {
        color: white;
    }

    .hidden-buttons {
        display: none;
        margin-top: 10px;
    }

    .menu-label input[type="checkbox"]:checked ~ .hidden-buttons {
        position: absolute;
        top: 60px;
        left: 20px;
        display: flex;
        flex-flow: column wrap;
        scale: 1.2;
        z-index: 20;
    }
}

/* Services Section */

.services-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.services-title {
    font-size: 5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.services-subtitle {
    font-size: 2rem;
    color: #aaa;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: #111;
    border: 2px solid #333;
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(101, 86, 183, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #6556b7;
    box-shadow: 0 15px 40px rgba(101, 86, 183, 0.3);
}

.card-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222;
    border: 2px solid #333;
    border-radius: 50%;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    z-index: 2;
}

.card-icon i {
    font-size: 4.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .card-icon {
    transform: scale(1.1);
    border-color: #6556b7;
}

.service-card h3 {
    font-size: 2.4rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    z-index: 2;
}

.service-card p {
    font-size: 1.6rem;
    color: #aaa;
    line-height: 1.6;
    z-index: 2;
}

/* Service specific colors */

.web .card-icon {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
}

.web .card-icon i {
    color: #60a5fa;
}

.web:hover {
    border-color: #3b82f6;
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.3);
}

.discord .card-icon {
    background: linear-gradient(135deg, #4752C4, #5865F2);
}

.discord .card-icon i {
    color: #7289da;
}

.discord:hover {
    border-color: #5865F2;
    box-shadow: 0 15px 40px rgba(88, 101, 242, 0.3);
}

.editing .card-icon {
    background: linear-gradient(135deg, #be123c, #e11d48);
}

.editing .card-icon i {
    color: #f87171;
}

.editing:hover {
    border-color: #e11d48;
    box-shadow: 0 15px 40px rgba(225, 29, 72, 0.3);
}

.minecraft .card-icon {
    background: linear-gradient(135deg, #15803d, #22c55e);
}

.minecraft .card-icon i {
    color: #4ade80;
}

.minecraft:hover {
    border-color: #22c55e;
    box-shadow: 0 15px 40px rgba(34, 197, 94, 0.3);
}

/* Responsive */

@media(max-width: 768px) {
    .services-title {
        font-size: 3.5rem;
    }

    .services-subtitle {
        font-size: 1.6rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .card-icon {
        width: 80px;
        height: 80px;
    }

    .card-icon i {
        font-size: 3.5rem;
    }

    .service-card h3 {
        font-size: 2rem;
    }

    .service-card p {
        font-size: 1.4rem;
    }
}
