/* --- General & Body Styles --- */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #000000;
    color: #e0e0e0;
    margin: 0;
    padding: 0;
}

/* --- Live Background Styles --- */
#tsparticles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* --- Content Layering (CRUCIAL FOR BACKGROUND) --- */
/* This ensures all main content appears ON TOP of the particle effect */
header, .home-main, .home-footer, .about-main, .resume-main {
    position: relative;
    z-index: 1;
}

/* --- Header & Navigation (Consistent for all pages) --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    width: calc(100% - 100px);
}

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.main-nav li { margin-right: 30px; }
.main-nav a { color: #ffffff; text-decoration: none; font-weight: bold; font-size: 14px; text-transform: uppercase; padding-bottom: 5px; border-bottom: 2px solid transparent; transition: color 0.4s, border-bottom 0.4s; }
.main-nav a:hover { color: #D4AF37; }
.main-nav a.active { color: #D4AF37; border-bottom: 2px solid #D4AF37; }

.contact-info { text-align: right; }
.contact-info span { color: #ffffff; font-weight: bold; font-size: 14px; display: block; }
.contact-info a { color: #aaaaaa; text-decoration: none; font-size: 12px; display: block; margin-top: 4px; transition: color 0.3s ease; }
.contact-info a:hover { color: #D4AF37; }

/* --- Home Page Specific Styles --- */
.home-body { height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.home-main { flex-grow: 1; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-content { animation: fadeInHero 2s ease-in-out; }
.hero-content .name-title { font-family: 'Cinzel', serif; font-size: 85px; font-weight: 700; color: #ffffff; margin: 0; line-height: 1.1; letter-spacing: 3px; }
.hero-content .subtitle { font-size: 20px; color: #cccccc; margin: 20px 0 40px; font-weight: 300; letter-spacing: 2px; }
.btn { text-decoration: none; padding: 12px 30px; border-radius: 5px; font-weight: bold; margin: 0 10px; transition: all 0.4s ease; text-transform: uppercase; letter-spacing: 1px; }
.btn-outline { border: 2px solid #D4AF37; color: #D4AF37; }
.btn-outline:hover { background-color: #D4AF37; color: #000000; }
.btn-primary { background-color: #D4AF37; border: 2px solid #D4AF37; color: #000000; }
.btn-primary:hover { background-color: transparent; color: #D4AF37; }
.home-footer { padding-bottom: 30px; }
.social-links { text-align: center; }
.social-links a { color: #aaaaaa; text-decoration: none; margin: 0 15px; font-size: 24px; transition: color 0.4s ease, transform 0.3s ease; }
.social-links a:hover { color: #D4AF37; transform: translateY(-3px); }
@keyframes fadeInHero { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* --- About Page Styles --- */
.about-main { padding: 120px 50px 50px; }
.about-content { display: flex; align-items: center; gap: 60px; max-width: 1100px; margin: 0 auto; }
.about-text { flex: 1.5; }
.about-text h2 { font-family: 'Cinzel', serif; font-size: 48px; font-weight: 700; margin-top: 0; border-bottom: 3px solid #D4AF37; display: inline-block; padding-bottom: 10px; margin-bottom: 20px; color: #ffffff; }
.about-text .email-link { display: block; color: #D4AF37; text-decoration: none; margin-bottom: 20px; }
.about-text p { font-size: 16px; line-height: 1.7; color: #cccccc; }
.location-info { margin-top: 30px; }
.location-info p { color: #888; font-style: italic; font-size: 15px; margin: 0; }
.about-image { flex: 1; display: flex; justify-content: center; align-items: center; }
.about-image img { width: 350px; height: 350px; border-radius: 50%; object-fit: cover; border: 4px solid #D4AF37; filter: grayscale(1); }

/* --- Resume Page Styles --- */
.resume-main { padding: 120px 50px 50px; max-width: 1200px; margin: 0 auto; }
.resume-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; }
.resume-col h3 { font-family: 'Cinzel', serif; font-size: 22px; text-transform: uppercase; color: #D4AF37; border-bottom: 2px solid #555; padding-bottom: 10px; margin-bottom: 20px; }
.skills-list { list-style: none; padding: 0; }
.skills-list li { margin-bottom: 15px; }
.education-section { margin-top: 40px; }
.education-item h4 { margin: 0; font-size: 18px; color: #ffffff; }
.education-item p { margin: 5px 0; color: #cccccc; }
.timeline { position: relative; padding-left: 30px; border-left: 2px solid #555; }
.timeline-item { margin-bottom: 30px; position: relative; }
.timeline-dot { position: absolute; left: -39px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background-color: #000000; border: 3px solid #D4AF37; }
.timeline-item h4 { margin: 0 0 5px 0; font-size: 18px; color: #ffffff; }
.timeline-item p { margin: 0; color: #cccccc; }