* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 68, 68, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 68, 68, 0.6);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes typing {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@keyframes blink {
    0%, 49% {
        border-right-color: #ff4444;
    }
    50%, 100% {
        border-right-color: transparent;
    }
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 68, 68, 0.5), 0 0 20px rgba(255, 68, 68, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 68, 68, 0.8), 0 0 40px rgba(255, 68, 68, 0.5);
    }
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    background: linear-gradient(90deg, #000000 0%, #0a0a0a 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    border-bottom: 2px solid #ff4444;
    box-shadow: 0 4px 20px rgba(255, 68, 68, 0.1);
    backdrop-filter: blur(10px);
}

.nav-brand {
    font-size: 2em;
    font-weight: 900;
    color: #ff4444;
    letter-spacing: 2px;
    animation: slideInFromLeft 0.6s ease;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff4444;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #ff4444;
}

/* HERO SECTION */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    min-height: 100vh;
    padding: 120px 50px 50px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 68, 68, 0.1) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInFromLeft 0.8s ease;
}

.image-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35 0%, #ff4444 50%, #cc0000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-shadow: 0 0 60px rgba(255, 68, 68, 0.5), inset 0 0 60px rgba(0, 0, 0, 0.3);
    animation: glow 3s ease-in-out infinite;
    position: relative;
}

.image-circle::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border: 2px solid #ff4444;
    border-radius: 50%;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.image-circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    animation: slideInFromRight 0.8s ease;
}

.hero-content h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #ffffff;
    letter-spacing: 1px;
}

.hero-content h2 .highlight {
    color: #ff4444;
    font-weight: 900;
}

.hero-content h1 {
    font-size: 4em;
    margin-bottom: 30px;
    color: #ff4444;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
}

.developer-title {
    margin-bottom: 30px;
    font-size: 1.5em;
    height: 2em;
    display: flex;
    align-items: center;
}

.typing-text {
    color: #ff4444;
    font-weight: 700;
    letter-spacing: 2px;
    display: inline-block;
    animation: titleGlow 2s ease-in-out infinite;
    border-right: 3px solid #ff4444;
    padding-right: 5px;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #e0e0e0;
    max-width: 500px;
    line-height: 1.8;
}

/* SOCIAL ICONS */
.social-icons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border: 2px solid #ff4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff4444;
    transition: all 0.4s ease;
    cursor: pointer;
    background-color: rgba(255, 68, 68, 0.05);
}

.social-icon:hover {
    background-color: #ff4444;
    color: #000000;
    transform: translateY(-8px) rotate(5deg);
    box-shadow: 0 10px 30px rgba(255, 68, 68, 0.4);
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* CTA BUTTON */
.cta-button {
    background: linear-gradient(135deg, #ff4444 0%, #ff6655 100%);
    border: 2px solid #ff4444;
    color: #000000;
    padding: 15px 40px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(255, 68, 68, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 68, 68, 0.5);
    background: linear-gradient(135deg, #ff6655 0%, #ff4444 100%);
}

/* SECTIONS */
.section {
    padding: 100px 50px;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease;
}

.section h2 {
    font-size: 3em;
    margin-bottom: 50px;
    color: #ff4444;
    text-align: center;
    font-weight: 900;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(255, 68, 68, 0.2);
}

.section p {
    font-size: 1.1em;
    text-align: center;
    color: #d0d0d0;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* PROJECTS GRID */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.project-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #333;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 68, 68, 0.1), transparent);
    transition: left 0.5s ease;
}

.project-card:hover::before {
    left: 100%;
}

.project-card:hover {
    border-color: #ff4444;
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 68, 68, 0.2);
}

.project-card h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.project-card p {
    color: #b0b0b0;
    margin-bottom: 15px;
    text-align: left;
    position: relative;
    z-index: 1;
}

.project-tech {
    color: #ff4444;
    font-size: 1em;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: left;
    position: relative;
    z-index: 1;
}

.project-links {
    display: flex;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.project-btn {
    background: linear-gradient(135deg, #ff4444 0%, #ff6655 100%);
    color: #000000;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #ff4444;
    flex: 1;
    text-align: center;
}

.project-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 68, 68, 0.3);
    background: linear-gradient(135deg, #ff6655 0%, #ff4444 100%);
}

/* SKILLS */
.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
}

.skill-tag {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border: 2px solid #ff4444;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.skill-tag:hover {
    background: linear-gradient(135deg, #ff4444 0%, #ff6655 100%);
    color: #000000;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 68, 68, 0.3);
}

/* CONTACT FORM */
.contact-form {
    max-width: 700px;
    margin: 50px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 18px;
    border: 2px solid #333;
    background-color: #0f0f0f;
    color: #ffffff;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1em;
    transition: all 0.3s ease;
}

.contact-form textarea {
    min-height: 180px;
    max-height: 180px;
    height: 180px;
    resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #666;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #ff4444;
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.2);
}

.submit-btn {
    background: linear-gradient(135deg, #ff4444 0%, #ff6655 100%);
    color: #000000;
    padding: 16px;
    border: 2px solid #ff4444;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(255, 68, 68, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 68, 68, 0.5);
    background: linear-gradient(135deg, #ff6655 0%, #ff4444 100%);
}

/* FOOTER */
footer {
    background: linear-gradient(90deg, #000000 0%, #0a0a0a 100%);
    text-align: center;
    padding: 40px;
    border-top: 2px solid #ff4444;
    color: #888;
    font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 20px;
    }

    .hero {
        flex-direction: column;
        gap: 40px;
        padding: 100px 20px 50px;
    }

    .image-circle {
        width: 300px;
        height: 300px;
    }

    .image-circle::before {
        width: 320px;
        height: 320px;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .section {
        padding: 60px 20px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .section h2 {
        font-size: 2em;
    }
}
