@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;700&family=Source+Sans+Pro:wght@400;600&display=swap');

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

/* CSS Custom Properties for Dark Theme */
:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #1a1a1a;
    --tertiary-bg: #2a2a2a;
    --accent-color: #64ffda;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #666666;
    --border-color: #333333;
    --hover-bg: #333333;
    --linkedin-color: #0077b5;
    --github-color: #333333;
    --transition-speed: 0.3s;

    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --bg-card: #1e1e1e;
    --accent-primary: #64ffda;
    --accent-secondary: #ff6b6b;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    
    /* Shadows */
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);

    /* Fonts */
    --font-display: 'DM Sans', var(--font-primary);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Container */
.container {
    margin: 0 auto;
    padding: 0 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-medium);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-decoration: none;
    font-family: var(--font-display);
}

.nav-menu {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width var(--transition-medium);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all var(--transition-medium);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section with 100vh height */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Floating Icons Animation */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    color: var(--accent-color);
    opacity: 0.1;
    font-size: 1.5rem;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .floating-icon {
        animation: none;
        opacity: 0.05;
    }
}

/* Individual icon animations */
.icon-1 {
    top: 20%;
    left: -50px;
    animation: floatRight 20s linear infinite;
    animation-delay: 0s;
    font-size: 2rem;
    opacity: 0.08;
}

.icon-2 {
    top: 40%;
    right: -50px;
    animation: floatLeft 25s linear infinite;
    animation-delay: -5s;
    font-size: 1.8rem;
    opacity: 0.12;
}

.icon-3 {
    top: 60%;
    left: -50px;
    animation: floatRight 30s linear infinite;
    animation-delay: -10s;
    font-size: 2.2rem;
    opacity: 0.06;
}

.icon-4 {
    top: 80%;
    right: -50px;
    animation: floatLeft 22s linear infinite;
    animation-delay: -15s;
    font-size: 1.6rem;
    opacity: 0.1;
}

.icon-5 {
    top: 15%;
    left: -50px;
    animation: floatRight 28s linear infinite;
    animation-delay: -8s;
    font-size: 1.4rem;
    opacity: 0.09;
}

.icon-6 {
    top: 70%;
    right: -50px;
    animation: floatLeft 24s linear infinite;
    animation-delay: -12s;
    font-size: 1.9rem;
    opacity: 0.07;
}

.icon-7 {
    top: 30%;
    left: -50px;
    animation: floatRight 26s linear infinite;
    animation-delay: -3s;
    font-size: 1.7rem;
    opacity: 0.11;
}

.icon-8 {
    top: 50%;
    right: -50px;
    animation: floatLeft 21s linear infinite;
    animation-delay: -18s;
    font-size: 1.3rem;
    opacity: 0.08;
}

.icon-9 {
    top: 10%;
    left: -50px;
    animation: floatRight 32s linear infinite;
    animation-delay: -6s;
    font-size: 2.1rem;
    opacity: 0.05;
}

.icon-10 {
    top: 90%;
    right: -50px;
    animation: floatLeft 27s linear infinite;
    animation-delay: -9s;
    font-size: 1.5rem;
    opacity: 0.13;
}

.icon-11 {
    top: 25%;
    left: -50px;
    animation: floatRight 23s linear infinite;
    animation-delay: -14s;
    font-size: 1.8rem;
    opacity: 0.09;
}

.icon-12 {
    top: 65%;
    right: -50px;
    animation: floatLeft 29s linear infinite;
    animation-delay: -7s;
    font-size: 1.6rem;
    opacity: 0.06;
}

.icon-13 {
    top: 35%;
    left: -50px;
    animation: floatRight 31s linear infinite;
    animation-delay: -11s;
    font-size: 2rem;
    opacity: 0.1;
}

.icon-14 {
    top: 75%;
    right: -50px;
    animation: floatLeft 26s linear infinite;
    animation-delay: -16s;
    font-size: 1.4rem;
    opacity: 0.12;
}

.icon-15 {
    top: 45%;
    left: -50px;
    animation: floatRight 24s linear infinite;
    animation-delay: -4s;
    font-size: 1.7rem;
    opacity: 0.07;
}

/* Keyframe animations for floating icons */
@keyframes floatRight {
    0% {
        transform: translateX(-100px) translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateX(25vw) translateY(-20px) rotate(90deg);
    }
    50% {
        transform: translateX(50vw) translateY(15px) rotate(180deg);
    }
    75% {
        transform: translateX(75vw) translateY(-10px) rotate(270deg);
    }
    100% {
        transform: translateX(calc(100vw + 100px)) translateY(0px) rotate(360deg);
    }
}

@keyframes floatLeft {
    0% {
        transform: translateX(100px) translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateX(-25vw) translateY(20px) rotate(-90deg);
    }
    50% {
        transform: translateX(-50vw) translateY(-15px) rotate(-180deg);
    }
    75% {
        transform: translateX(-75vw) translateY(10px) rotate(-270deg);
    }
    100% {
        transform: translateX(calc(-100vw - 100px)) translateY(0px) rotate(-360deg);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    animation: bounce 2s infinite;
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-top: -4rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.profile-image {
    position: relative;
}

.profile-img {
    width: 300px;
    height: 350px;
    border-radius: 10%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
    transition: all var(--transition-speed) ease;
}

.profile-img:hover {
    transform: scale(1.02);
}

.hero-text {
    max-width: 600px;
}

.name {
    font-size: 4.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: -2em;
    color: var(--accent-color);
    position: relative;
}

.title {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(-100deg, var(--text-primary) 0%, var(--accent-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 2.3rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* Section Styles */
.about, .contact {
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
}

.section-content {
    margin: 0 auto;
    text-align: center;
    max-width: 1200px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--accent-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    transform: translateX(-50%);
    border-radius: 2px;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* Contact Section */
.contact-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-methods {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2rem;
    background-color: var(--secondary-bg);
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all var(--transition-speed) ease;
    position: relative;
}

.contact-link:hover {
    border-color: var(--accent-color);
    background-color: rgba(100, 255, 218, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(100, 255, 218, 0.1);
}

.contact-link i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

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

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 3rem;
        gap: 2rem;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 0;
        width: 200px;
        text-align: center;
    }

    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 6rem 0 2rem;
        min-height: 100vh;
    }
    
    .name {
        font-size: 2.8rem;
        margin-top: -1em;
    }
    
    .title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .subtitle {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .profile-img {
        width: 200px;
        height: 240px;
        margin: 1rem 0;
    }
    
    .about, .contact {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .about-text {
        font-size: 1rem;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
    
    .contact-methods {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .contact-link {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 1rem 1.5rem;
    }
    
    .contact-link span {
        font-size: 0.9rem;
    }
    
    .floating-icon {
        display: none;
    }
    
    .scroll-arrow {
        margin-top: -2rem;
    }
}

/* Tablet adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .name {
        font-size: 3.5rem;
    }
    
    .subtitle {
        font-size: 1.8rem;
    }
    
    .title {
        font-size: 1.4rem;
    }
    
    .contact-methods {
        gap: 1.5rem;
    }
}