/* assets/css/style.css - Antigravity Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Outfit:wght@400;700&display=swap');
:root {
    --bg-color: #050505;
    --text-main: #f0f0f0;
    --text-muted: #888888;
    --accent-blue: #4facfe;
    --accent-purple: #8e2de2;
    --card-bg: rgba(20, 20, 25, 0.6);
    --glow-color: rgba(79, 172, 254, 0.3);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
}
a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}
/* Antigravity Particles / Background */
#particles-js {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: -1;
    background: radial-gradient(circle at center, #111 0%, #000 100%);
}
/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--accent-blue), var(--accent-purple));
    border-radius: 5px;
}
/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 5, 0.5);
    backdrop-filter: blur(10px);
    z-index: 1000;
}
.nav-logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}
.nav-links li a {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
.nav-links li a:hover {
    color: var(--accent-blue);
    text-shadow: 0 0 10px var(--glow-color);
}
/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}
.hero-title {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 5px;
}
.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 300;
}
/* Floating Elements (Antigravity Animation) */
.float-element {
    animation: floating 6s ease-in-out infinite;
}
.float-element-delayed {
    animation: floating 7s ease-in-out infinite 2s;
}
.float-element-fast {
    animation: floating 4s ease-in-out infinite 1s;
}
@keyframes floating {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}
/* Section Common */
.section {
    padding: 100px 10%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.section-title {
    font-size: 3rem;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    border-radius: 2px;
}
/* Skills/Tags */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}
.skill-tag {
    padding: 10px 25px;
    background: rgba(79, 172, 254, 0.15);
    border: 1px solid rgba(79, 172, 254, 0.3);
    color: #ffffff;
    border-radius: 30px;
    font-weight: 600;
    backdrop-filter: blur(5px);
    transition: 0.3s ease;
    cursor: default;
}
.skill-tag:hover {
    background: rgba(79, 172, 254, 0.3);
    border-color: var(--accent-purple);
    box-shadow: 0 0 15px var(--glow-color);
    transform: scale(1.05);
}
/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}
.project-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(79, 172, 254, 0.2);
    border-color: rgba(79, 172, 254, 0.5);
}
.project-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: 0.5s ease;
}
.project-card:hover .project-image {
    transform: scale(1.05);
}
.project-content {
    padding: 25px;
}
.project-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffffff;
}
.project-desc {
    color: #cccccc;
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.project-link {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #ffffff;
}
/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}
.timeline-item {
    padding: 20px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}
.timeline-item:nth-child(even) {
    left: 50%;
}
.timeline-dot {
    width: 20px;
    height: 20px;
    position: absolute;
    background: var(--accent-blue);
    border-radius: 50%;
    top: 30px;
    box-shadow: 0 0 10px var(--accent-blue);
}
.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}
.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}
.timeline-content {
    padding: 20px;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.05);
}
.timeline-date {
    color: var(--accent-blue);
    font-weight: 700;
    margin-bottom: 5px;
}
/* Contact Form */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}
.contact-info {
    flex: 1;
    min-width: 300px;
}
.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}
.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--card-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}
.social-icon:hover {
    background: var(--accent-blue);
    color: #fff;
    box-shadow: 0 0 20px var(--glow-color);
}
.contact-form {
    flex: 1;
    min-width: 300px;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.05);
}
.form-group {
    margin-bottom: 20px;
}
.form-control {
    width: 100%;
    padding: 15px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    transition: 0.3s ease;
}
.form-control:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(79, 172, 254, 0.2);
}
.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s ease;
}
.btn-submit:hover {
    box-shadow: 0 5px 15px rgba(142, 45, 226, 0.4);
}
/* Footer */
footer {
    text-align: center;
    padding: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
}
/* Hamburger Menu */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
}
/* Responsive */
@media (max-width: 768px) {
    /* Navbar Mobile */
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        z-index: 1000;
        gap: 30px;
        border-left: 1px solid rgba(255,255,255,0.05);
    }
    
    .nav-links.active {
        right: 0;
    }
    /* General Padding and Typography */
    .section {
        padding: 80px 5%;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    /* Hero Section */
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    /* Timeline Adjustments */
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 15px;
        text-align: left !important;
    }
    
    .timeline-item:nth-child(odd), .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-dot, .timeline-item:nth-child(even) .timeline-dot {
        left: 10px;
        right: auto;
    }
    /* Contact Form Adjustments */
    .contact-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-form {
        padding: 25px;
    }
}
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    .nav-logo {
        font-size: 20px;
    }
}
/* --- CV / Resume Specific Styles --- */
.cv-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}
.cv-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.cv-name {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.cv-role {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 15px;
}
.cv-contact {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    flex-wrap: wrap;
}
.cv-contact span i {
    color: var(--accent-blue);
    margin-right: 5px;
}
.cv-section {
    margin-bottom: 40px;
}
.cv-section-title {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.cv-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-blue), transparent);
}
.cv-item {
    margin-bottom: 25px;
    position: relative;
    padding-left: 20px;
    border-left: 2px solid rgba(79, 172, 254, 0.3);
}
.cv-item-title {
    font-size: 1.3rem;
    color: var(--accent-blue);
    margin-bottom: 5px;
    font-weight: 600;
}
.cv-item-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-style: italic;
}
.cv-item ul {
    list-style: none;
}
.cv-item ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
    color: #cccccc;
}
.cv-item ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-purple);
}
.gsap-reveal {
    opacity: 0;
    transform: translateY(30px);
}
/* --- Mobile Fixes for CV --- */
@media (max-width: 768px) {
    .cv-container {
        padding: 25px 15px;
        margin: 0 10px;
        border-radius: 15px;
    }
    
    .cv-name {
        font-size: 2rem;
    }
    
    .cv-role {
        font-size: 1.2rem;
    }
    
    .cv-contact {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .cv-section-title {
        font-size: 1.4rem;
    }
    
    .cv-item-title {
        font-size: 1.1rem;
    }
}
