/* ROOT VARIABLES */
:root {
    --primary-color: #2563eb;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --text-gray: #64748b;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { width: 100%; display: block; }

/* HEADER */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo span { color: var(--primary-color); }

.nav-links { display: flex; }
.nav-links li { margin-left: 30px; }
.nav-links a {
    font-weight: 500;
    transition: var(--transition);
}
.nav-links a:hover { color: var(--primary-color); }

/* HERO */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
    padding-top: 80px;
}

.hero-text h5 {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    max-width: 600px;
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    display: inline-block;
    font-weight: 600;
    transition: var(--transition);
}

.btn-fill {
    background: var(--primary-color);
    color: #fff;
    margin-right: 15px;
}

.btn-fill:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2); }

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

/* ABOUT */
.about { padding: 100px 0; }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img img {
    border-radius: 20px;
    box-shadow: 20px 20px 0 var(--primary-color);
}

.about-text h2 { font-size: 2.5rem; margin-bottom: 20px; }

.skills-container { margin-top: 30px; }
.skill-item { margin-bottom: 20px; }
.bar {
    background: #e2e8f0;
    height: 10px;
    border-radius: 10px;
    margin-top: 5px;
}
.progress {
    background: var(--primary-color);
    height: 100%;
    border-radius: 10px;
}

/* PROJECTS */
.projects { padding: 100px 0; background: #fff; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.5rem; }

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

.project-card {
    background: var(--light-color);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

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

.project-img img { height: 250px; object-fit: cover; }

.project-info { padding: 25px; }
.project-info h3 { margin-bottom: 10px; }
.project-info p { color: var(--text-gray); font-size: 0.9rem; margin-bottom: 15px; }
.read-more { font-weight: 600; color: var(--primary-color); font-size: 0.9rem; }

/* FOOTER */
footer {
    padding: 80px 0;
    background: var(--dark-color);
    color: #fff;
    text-align: center;
}

.email-link {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 20px 0;
    display: block;
}

.social-icons { margin: 30px 0; }
.social-icons a {
    font-size: 1.5rem;
    margin: 0 15px;
    transition: var(--transition);
    opacity: 0.7;
}
.social-icons a:hover { opacity: 1; color: var(--primary-color); }

.copyright { font-size: 0.8rem; color: #94a3b8; margin-top: 40px; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; }
    .hero-text h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
}