
body{
    font-family: "Inter", Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #eef2f7, #d9e4f5);
}

section{
    padding: 70px 0;
}

h2{
    font-family: "Poppins", sans-serif;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
    color: #2c3e50;
}

h3{
    font-family: "Poppins", sans-serif;
    margin-top: 20px;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 1.2rem;
    color: #34495e;
}

.panel{
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.icon{
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

#habilidades, #hobbies{
    margin-top: 10px;
}


.panel-dark{
    background: linear-gradient(135deg, #14173a, #2c2768);
    color: white;
}

.panel-dark-title{
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    color: white;
    text-align: center;
    margin-bottom: 22px;
}

.nav-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 22px 14px;
    height: 100%;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-card:hover{
    transform: translateY(-4px);
    background: rgba(255,255,255,0.13);
    border-color: #f6c453;
}

.nav-card .icon{
    width: 28px;
    height: 28px;
    color: #f6c453;
    margin-bottom: 10px;
}

.nav-card-title{
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.nav-card-text{
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
}

.foto{
    width: 200px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 6px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

ul{
    list-style: none;
    padding-left: 0;
}

ul li{
    background: #eef2fb;
    margin-bottom: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 5px solid #0d6efd;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

ul li:hover{
    transform: translateX(4px);
    box-shadow: 0 3px 10px rgba(13,110,253,0.15);
}

.hobbies-intro{
    max-width: 700px;
    margin: 0 auto 35px;
    color: #4a5568;
    line-height: 1.7;
}

.hobby-item{
    text-align: center;
    background: #f5f8fd;
    border-radius: 12px;
    padding: 28px 18px;
    height: 100%;
    border-top: 4px solid #0d6efd;
    margin-bottom: 20px;
}

.hobby-item .icon{
    width: 30px;
    height: 30px;
    color: #0d6efd;
    margin-bottom: 10px;
    display: inline-block;
}

.hobby-item h5{
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.hobby-item p{
    color: #555;
    font-size: 0.92rem;
    margin-bottom: 0;
}

.card{
    margin-top: 20px;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.2s ease;
}

.card:hover{
    transform: translateY(-5px);
}

.card img{
    height: 200px;
    object-fit: cover;
}

.music-cover{
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #181c3f, #2c2768);
}

.music-cover .icon{
    width: 52px;
    height: 52px;
    color: #f6c453;
}

.card-title{
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    color: #2c3e50;
}

.btn-primary{
    background: #0d6efd;
    border: none;
    border-radius: 25px;
    padding: 8px 20px;
}

#proyectos{
    margin-top: 40px;
}

#proyectos h2{
    margin-bottom: 40px;
}


.navbar{
    position: relative;
    background: linear-gradient(135deg, #11142e, #2b2566);
    padding-top: 14px;
    padding-bottom: 14px;
}

.navbar-brand{
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    color: white;
}

.navbar-toggler{
    border: 2px solid rgba(255,255,255,0.55);
    border-radius: 12px;
    padding: 8px 14px;
}

.navbar-toggler:focus{
    box-shadow: 0 0 0 0.18rem rgba(255,255,255,0.25);
}

.navbar-collapse{
    position: absolute;
    top: 64px;
    right: 16px;
    left: auto;
    background: linear-gradient(160deg, #181c3f, #2c2768);
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
    min-width: 200px;
    z-index: 1050;
}

.navbar-nav{
    width: 100%;
}

.nav-item{
    border-top: 1px solid rgba(255,255,255,0.10);
}

.nav-item:first-child{
    border-top: none;
}

.nav-link{
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    padding: 10px 12px !important;
    border-radius: 8px;
}

.nav-link:hover{
    background: rgba(255,255,255,0.08);
    color: #f6c453 !important;
}


footer{
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    font-size: 14px;
    letter-spacing: 1px;
}


@media (max-width: 768px){
    .panel{
        padding: 26px;
    }
}
