*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family: 'Segoe UI', sans-serif;
    background:#0a0a0a;
    color:white;
}

.navbar{
    position:fixed;
    width:100%;
    display:flex;
    justify-content:space-between;
    padding:20px 10%;
    background:rgba(0,0,0,0.8);
    backdrop-filter:blur(10px);
    z-index:1000;
}

.navbar ul{
    display:flex;
    list-style:none;
    gap:20px;
}

.navbar a{
    color:white;
    text-decoration:none;
    transition:0.3s;
}

.navbar a:hover{
    color:red;
}

.hero{
    height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    background:linear-gradient(135deg,#1a0000,#000);
    text-align:center;
}

.hero h1{
    font-size:4rem;
    color:red;
}

.hero h2{
    margin-top:20px;
    font-size:1.5rem;
    color:#ccc;
}

.btn{
    margin-top:30px;
    padding:12px 30px;
    background:red;
    color:white;
    text-decoration:none;
    transition:0.3s;
}

.btn:hover{
    transform:scale(1.1);
}

.section{
    padding:100px 10%;
}

.stats{
    display:flex;
    justify-content:space-around;
    padding:50px;
    background:#111;
    text-align:center;
}

.counter{
    font-size:2rem;
    color:red;
}

.skills-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
    gap:20px;
}

.skill-card{
    background:#111;
    padding:20px;
    text-align:center;
    border:1px solid #222;
    transition:0.3s;
}

.skill-card:hover{
    transform:translateY(-10px);
    border-color:red;
}

.projects-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.project{
    background:#111;
    padding:20px;
    border-left:4px solid red;
    transition:0.3s;
}

.project:hover{
    transform:scale(1.05);
}

.project a{
    color:red;
    text-decoration:none;
}

.why{
    list-style:none;
    line-height:2;
}

.contact{
    background:#111;
}

.fade{
    opacity:0;
    transform:translateY(40px);
    transition:1s;
}

.fade.show{
    opacity:1;
    transform:translateY(0);
}

footer{
    text-align:center;
    padding:30px;
    background:#000;
}

/* Social Icons */
.social-icons {
    margin-top: 25px;
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: 0.3s;
}

.social-icons a:hover {
    color: red;
    transform: scale(1.3);
}

/* Formulario */
form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: #0f0f0f;
    border: 1px solid #222;
    color: white;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: red;
}

textarea {
    resize: none;
    height: 120px;
}

#formMessage {
    margin-top: 10px;
    font-size: 0.9rem;
}

/* WHY SECTION GRID */
.why-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-left h2 {
    margin-bottom: 30px;
}

.why {
    list-style: none;
    line-height: 2;
}

.why-right {
    display: flex;
    justify-content: center;
}

/* PROFILE CARD */
.profile-card {
    background: linear-gradient(145deg, #111, #0a0a0a);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #222;
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.2);
    text-align: center;
    transition: 0.4s;
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.5);
}

.profile-card h3 {
    color: red;
    margin-bottom: 10px;
}

.profile-card .role {
    color: #ccc;
    margin-bottom: 20px;
}

.small-btn {
    margin-top: 20px;
    display: inline-block;
}

/* Responsive */
@media(max-width: 900px){
    .why-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}