/* =====================
   GLOBAL VARIABLES
===================== */
:root {
    --primary: #00c853;
    --secondary: #00acc1;
    --accent: #ffeb3b;
    --dark: #0a0a0a;
    --glass: rgba(255, 255, 255, 0.08);
}

/* =====================
   GLOBAL STYLES
===================== */
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", system-ui, sans-serif;
    color: var(--primary);
    background: radial-gradient(circle at top, #111, #000);
    animation: fadeIn 1s ease-in;
}

/* =====================
   HEADER
===================== */
header {
    padding: 30px 20px;
    text-align: center;
    background: linear-gradient(135deg, #ff1744, #d500f9);
    color: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    animation: slideDown 0.8s ease-out;
}

h1 {
    margin: 0;
    font-size: 2.5rem;
    letter-spacing: 1px;
}

h2 {
    margin: 0;
    color: #000;
    font-weight: 700;
}

/* =====================
   BUTTON
===================== */
.btn {
    display: block;
    width: 220px;
    padding: 16px;
    margin: 30px auto;
    text-align: center;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: var(--accent);
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 rgba(0, 200, 83, 0.6);
}

.btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 0 25px rgba(0, 200, 83, 0.8);
}

/* =====================
   CONTAINER
===================== */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* =====================
   PROJECT CARD
===================== */
.project {
    background: var(--glass);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    animation: fadeUp 0.8s ease forwards;
}

.project h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--accent);
}

/* =====================
   IMAGES GRID
===================== */
.images {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.images a {
    display: block;
    overflow: hidden;
    border-radius: 12px;
}

.images img {
    width: 200px;
    height: auto;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.images img:hover {
    transform: scale(1.12);
    box-shadow: 0 15px 35px rgba(0,0,0,0.8);
}

/* =====================
   ANIMATIONS
===================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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