/* --- CSS VARIABLES & THEMES --- */
:root {
    --transition: all 0.3s ease;
}

[data-theme="light"] {
    --bg: #f8fafc;
    --card-bg: #ffffff;
    --text: #1e2b41;
    --primary: #5a7294;
    --accent: linear-gradient(90deg, #6366f1, #a855f7);
    --border: #e2e8f0;
}

[data-theme="dark"] {
    --bg: #2d1b4e;          /* Screenshot Match: Deep Violet */
    --card-bg: #3b2663;     /* Screenshot Match: Purple Card */
    --text: #ffffff;
    --primary: #a855f7;
    --accent: linear-gradient(90deg, #f472b6, #a855f7);
    --border: rgba(255, 255, 255, 0.1);
}

[data-theme="contrast"] {
    --bg: #000000;
    --card-bg: #000000;
    --text: #ffff00;
    --primary: #ffffff;
    --accent: #ffff00;
    --border: 2px solid #ffff00;
}

/* --- GLOBAL STYLES --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    background-color: var(--bg); 
    color: var(--text); 
    font-family: 'Segoe UI', sans-serif; 
    transition: var(--transition);
    overflow-x: hidden;
}
.container { width: 90%; max-width: 1200px; margin: auto; }

/* --- HEADER & NAV --- */
header { 
    padding: 15px 0; 
    background: var(--bg); 
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 1000;
}
nav { display: flex; justify-content: space-between; align-items: center; }
.logo img { width: 50px; height: 50px; border-radius: 8px; }
.nav-links { list-style: none; display: flex; gap: 25px; }
.nav-links a { text-decoration: none; color: var(--text); font-weight: 600; }

/* --- THEME SWITCHER --- */
.theme-switcher {
    position: fixed; bottom: 20px; right: 20px; z-index: 2000;
    background: var(--card-bg); border: 1px solid var(--border);
    padding: 10px; border-radius: 30px; display: flex; gap: 10px;
}
.theme-switcher button {
    padding: 8px 15px; border-radius: 20px; border: none; cursor: pointer;
    background: transparent; color: var(--text); font-weight: bold;
}
.theme-switcher button.active { background: var(--primary); color: #fff; }

/* --- SCROLLING TRACKS --- */
.news-ticker, .gallery-ticker { 
    overflow: hidden; white-space: nowrap; padding: 20px 0; border-bottom: 1px solid var(--border); 
}
.ticker-track, .gallery-track { display: inline-block; animation: scroll 30s linear infinite; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-track span { margin: 0 50px; font-size: 0.9rem; }

/* --- HERO & CONTENT --- */
.hero { display: flex; align-items: center; padding: 100px 0; gap: 50px; }
.alt-row { flex-direction: row-reverse; }
.hero-text { flex: 1; }
.hero-image { flex: 1; }
.hero-image img { width: 100%; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; }
.gradient-text { background: var(--accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.quote { border-left: 4px solid var(--primary); padding-left: 15px; margin: 20px 0; font-style: italic; opacity: 0.8; }

/* --- BUTTONS --- */
.btn-primary { 
    display: inline-block; padding: 15px 35px; background: var(--primary); 
    color: white; text-decoration: none; border-radius: 12px; font-weight: bold; margin-top: 20px;
}
.btn-outline {
    display: inline-block; padding: 13px 33px; border: 2px solid var(--primary);
    color: var(--text); text-decoration: none; border-radius: 12px; font-weight: bold;
}

/* --- CAREER CARDS --- */
.career-card {
    display: inline-block; width: 300px; background: var(--card-bg); margin: 0 15px;
    border-radius: 24px; overflow: hidden; vertical-align: top; white-space: normal;
}
.career-card img { width: 100%; height: 350px; object-fit: cover; }
.card-info { padding: 20px; }

/* --- EMPLOYER SECTION --- */
.employer-section { text-align: center; padding: 80px 0; background: rgba(0,0,0,0.1); }
.resume-grid { display: flex; justify-content: center; gap: 20px; margin-top: 40px; }
.resume-mini-card { 
    background: var(--card-bg); padding: 25px; border-radius: 20px; 
    border: 1px dashed var(--primary); width: 180px; 
}

/* --- FOOTER --- */
footer { padding: 50px 0; border-top: 1px solid var(--border); text-align: center; opacity: 0.7; }
.footer-content a { color: var(--text); text-decoration: none; margin: 0 10px; }