:root {
    --bg-main: #0B0F19; /* Deep Slate Navy */
    --bg-card: #111827; /* Darker Slate */
    --bg-nav: rgba(11, 15, 25, 0.85);
    --primary: #0EA5E9; /* Enterprise Sky Blue */
    --primary-hover: #0284C7;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --border-color: rgba(255, 255, 255, 0.08);
    --font-sans: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    font-family: var(--font-sans); background-color: var(--bg-main);
    color: var(--text-main); line-height: 1.6;
}

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

/* Header & Logo Update */
header {
    position: fixed; top: 0; left: 0; width: 100%; padding: 1.2rem 2rem;
    background: var(--bg-nav); backdrop-filter: blur(12px); z-index: 1000;
    transition: all 0.3s ease; border-bottom: 1px solid transparent;
}
header.scrolled { border-bottom: 1px solid var(--border-color); box-shadow: 0 4px 30px rgba(0,0,0,0.5); }
nav { display: flex; justify-content: space-between; align-items: center; }

.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { 
    height: 45px; 
    width: auto; 
    transition: transform 0.3s ease; 
    filter: drop-shadow(0 0 8px rgba(0, 243, 255, 0.4)); /* Subtle cyan glow to match her theme */
}
.logo img:hover { transform: scale(1.05); }

nav ul { list-style: none; display: flex; align-items: center; }
nav ul li { margin-left: 2rem; }
nav ul li a {
    text-decoration: none; color: var(--text-muted); font-size: 0.95rem; font-weight: 500;
    transition: color 0.3s;
}
nav ul li a:hover { color: var(--text-main); }

/* Hero Section */
#hero {
    position: relative; height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; overflow: hidden; background: radial-gradient(circle at top, #111827, #0B0F19);
}

#particles-js { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; opacity: 0.8; }

.hero-content { position: relative; z-index: 2; pointer-events: none;}
.hero-content h1 { font-size: 4.5rem; font-weight: 700; margin-bottom: 1rem; color: #fff; letter-spacing: -1px; pointer-events: auto;}
.hero-content .subtitle { font-size: 1.5rem; color: var(--primary); font-weight: 500; margin-bottom: 2.5rem; height: 30px; pointer-events: auto;}

.btn {
    padding: 0.8rem 2rem; border-radius: 6px; font-weight: 600; font-size: 1rem;
    text-decoration: none; transition: all 0.3s ease; cursor: pointer; display: inline-block;
}
.btn-primary { background: var(--primary); color: #fff; border: 1px solid var(--primary); }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); box-shadow: 0 0 20px rgba(14, 165, 233, 0.4); }
.btn-outline { background: transparent; color: var(--text-main); border: 1px solid var(--border-color); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--text-muted); }

/* Sections */
section { padding: 6rem 0; }
section:nth-child(even) { background-color: #0D1321; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);}

.section-title {
    font-size: 2.2rem; margin-bottom: 3rem; color: var(--text-main); text-align: center; font-weight: 700;
}

/* About */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text p { margin-bottom: 1.5rem; font-size: 1.1rem; color: var(--text-muted); }
.about-image img { 
    width: 100%; border-radius: 12px; border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4); filter: contrast(1.1);
}

/* Projects */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
.project-card {
    background: var(--bg-card); border-radius: 10px; border: 1px solid var(--border-color);
    overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.5); border-color: rgba(14, 165, 233, 0.5); }
.project-card img { width: 100%; height: 200px; object-fit: cover; border-bottom: 1px solid var(--border-color); }
.project-info { padding: 1.5rem; }
.project-info h3 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--text-main); }
.project-info p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; }

/* Skills */
.skills-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; max-width: 1000px; margin: auto;}
.skill-item {
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px;
    padding: 2rem 1rem; text-align: center; transition: all 0.3s ease;
}
.skill-item:hover { border-color: var(--primary); background: rgba(14, 165, 233, 0.05); transform: translateY(-5px); }
.skill-item i { font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; }
.skill-item p { font-weight: 500; color: var(--text-main); font-size: 0.95rem; }

/* Contact */
.contact-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 3rem; max-width: 600px; margin-left: auto; margin-right: auto;}
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; max-width: 700px; margin: auto; }
.input-group { display: flex; gap: 1.5rem; }
.contact-form input, .contact-form textarea {
    width: 100%; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 6px;
    padding: 1rem; color: var(--text-main); font-family: var(--font-sans); font-size: 1rem;
    transition: border-color 0.3s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1); }
.contact-form textarea { min-height: 160px; resize: vertical; }

footer { padding: 3rem 0; text-align: center; color: var(--text-muted); border-top: 1px solid var(--border-color); }
.social-links { margin-bottom: 1.5rem; }
.social-links a { color: var(--text-muted); font-size: 1.5rem; margin: 0 1rem; transition: color 0.3s; }
.social-links a:hover { color: var(--primary); }

.animate__animated { opacity: 0; }
.animate__fadeIn, .animate__fadeInDown, .animate__fadeInUp, .animate__fadeInLeft, .animate__fadeInRight, .animate__zoomIn { opacity: 1; }

@media (max-width: 768px) {
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
    .about-content { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 3rem; }
    .input-group { flex-direction: column; gap: 1.5rem; }
    nav ul { display: none; }
}
