/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #050505;
    color: #e6e6e6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* --- BACKGROUND LIGHTING --- */

.glow-circle, .glow-circle2 {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(200px);
    opacity: 0.4;
    z-index: -1;
    animation: floatLight 12s infinite alternate ease-in-out;
}

.glow-circle {
    background: #00aaff;
    top: -200px;
    left: -100px;
}

.glow-circle2 {
    background: #ff0095;
    bottom: -200px;
    right: -150px;
    animation-delay: 3s;
}

@keyframes floatLight {
    0% { transform: translate(0, 0); }
    100% { transform: translate(80px, 40px); }
}

/* --- HEADER --- */

header {
    position: sticky;
    top: 0;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(20, 20, 20, 0.35);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 10;
}

.logo {
    font-size: 26px;
    font-weight: bold;
    color: #00aaff;
}

nav a {
    color: #ccc;
    margin-left: 25px;
    text-decoration: none;
    transition: 0.3s ease;
}

nav a:hover {
    color: #00aaff;
    text-shadow: 0 0 10px #00aaff;
}

/* --- HERO --- */

#hero {
    height: 90vh;
    padding: 0 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#hero h1 {
    font-size: 70px;
    font-weight: 700;
}

#hero h1 span {
    color: #00aaff;
    text-shadow: 0 0 10px #00aaff;
}

#hero p {
    font-size: 22px;
    color: #bbb;
    margin-top: 10px;
}

.btn {
    margin-top: 20px;
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    background: linear-gradient(90deg, #00aaff, #0077ff);
    color: white;
    font-weight: bold;
    box-shadow: 0 0 15px #008cff;
    transition: 0.35s ease;
}

.btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 25px #008cff;
}

/* --- FADE ANIMATIONS --- */

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1.2s forwards ease;
}
.delay-1 { animation-delay: 0.4s; }
.delay-2 { animation-delay: 0.8s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.fade-section {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInSection 1.2s forwards ease;
}

@keyframes fadeInSection {
    to { opacity: 1; transform: translateY(0); }
}

/* --- SECTIONS --- */
section {
    padding: 100px 60px;
}

h2 {
    font-size: 45px;
    color: #00aaff;
    margin-bottom: 25px;
    text-shadow: 0 0 8px #00aaff;
}

/* --- SKILLS --- */

.skill-box {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.skill {
    padding: 14px 24px;
    border-radius: 8px;
    background: rgba(0, 170, 255, 0.1);
    border: 1px solid #00aaff;
    color: #00aaff;
    font-weight: bold;
    transition: 0.3s ease;
}

.skill:hover {
    background: #00aaff;
    color: white;
    box-shadow: 0 0 15px #00aaff;
    transform: translateY(-4px);
}

/* --- PROJECT CARDS --- */

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.project-card {
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(0, 170, 255, 0.4);
}

.project-card h3 {
    margin-bottom: 12px;
    color: #00aaff;
}

/* FLOATING ANIMATION */
.float {
    animation: floating 6s ease-in-out infinite;
}
.float.delay-1 { animation-delay: 1s; }
.float.delay-2 { animation-delay: 2s; }

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* --- RESPONSIVE --- */

@media (max-width: 700px) {
    #hero h1 { font-size: 46px; }
    header { padding: 15px 20px; }
}

