/* 
   Roshan Patil - Portfolio Styles
   Dark Mode, Modern, Minimalist
*/

:root {
    --bg-dark: #090a0f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --text-primary: #f0f2f5;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #60a5fa; /* Soft Blue */
    --accent-glow: rgba(96, 165, 250, 0.15);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* For custom cursor */
}

/* Custom Cursor */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-glow);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: none; /* Hide default cursor */
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(9, 10, 15, 0.7);
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Main Layout */
main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    padding-top: 5rem;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.greeting {
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.name {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.role {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.contact-info {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    font-size: 1.8rem;
    color: var(--text-secondary);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

/* Background Glow */
.hero-glow {
    position: absolute;
    top: 50%;
    right: 0%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
}

/* Sections Common */
.section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--text-primary);
    white-space: nowrap;
}

.section-header .line {
    height: 1px;
    width: 100%;
    background: var(--border-color);
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.skill-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

.skill-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.skill-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.skill-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Experience Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 1px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -2.35rem;
    top: 0.3rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--accent);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.title-company h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.title-company h4 {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.date {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--accent);
    background: var(--accent-glow);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.project-type {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.experience-details {
    list-style: none;
    margin-bottom: 1.5rem;
}

.experience-details li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.experience-details li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.tech-impact-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 8px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.tech-stack span {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    color: var(--text-primary);
}

.impact {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.impact strong {
    color: var(--text-primary);
}

/* Languages */
.languages-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.language-pill {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.language-pill:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.lang-name {
    font-weight: 500;
    font-size: 1.1rem;
}

.lang-level {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Can add hamburger menu later if needed, simple for now */
    }
    
    .hero-glow {
        display: none;
    }
    
    .timeline-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cursor-dot, .cursor-outline {
        display: none;
    }
    
    body, a {
        cursor: auto;
    }
}
