/* Base Styles */
:root {
    --bg-color: #0a0e17;
    --text-color: #e6f1ff;
    --accent-color: #64ffda;
    --secondary-accent: #ff5678;
    --dark-navy: #0a192f;
    --light-navy: #112240;
    --gradient-bg: linear-gradient(120deg, #112240, #0a0e17);
    --card-bg: rgba(17, 34, 64, 0.5);
    --font-sans: 'Poppins', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-color: rgba(2, 12, 27, 0.7);
    --shadow-elevation: 0 10px 30px -15px var(--shadow-color);
    --border-radius: 12px;
    --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: var(--gradient-bg);
    background-attachment: fixed;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

h1, h2, h3, h4 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

section {
    padding: 100px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease;
    position: relative;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    background-color: var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: transform 0.1s ease;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9998;
    transition: all 0.2s ease;
    opacity: 0.5;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    box-shadow: 0 5px 30px -10px rgba(2, 12, 27, 0.3);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent-color);
}

.nav-links a {
    margin-left: 30px;
    position: relative;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 80px;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.intro-text {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeIn 1s 0.5s forwards;
}

.typing-effect {
    display: inline-block;
    position: relative;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 4rem;
    line-height: 1.2;
}

.typing-effect::after {
    content: '|';
    position: absolute;
    right: -8px;
    color: var(--accent-color);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 1s 1s forwards;
    color: rgba(230, 241, 255, 0.8);
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    opacity: 0;
    animation: fadeIn 1s 1.5s forwards;
}

.cta-button {
    display: inline-block;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.cta-button.primary {
    background-color: var(--accent-color);
    color: #0a192f;
    border: none;
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.cta-button.primary:hover {
    background-color: rgba(100, 255, 218, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.3);
}

.cta-button.secondary:hover {
    background-color: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.2);
}

.hero-image {
    position: relative;
}

.hero-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
}

.hero-image-container:hover {
    transform: perspective(1000px) rotateY(0);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1);
    transition: transform 0.5s ease;
}

.hero-image-container:hover img {
    transform: scale(1.05);
}

.hero-footer {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 1s 2s forwards;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-indicator p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: rgba(230, 241, 255, 0.7);
}

.scroll-down-arrow {
    animation: bounce 2s infinite;
}

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

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-elevation);
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.avatar-image:hover {
    transform: scale(1.05);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: rgba(230, 241, 255, 0.85);
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1rem;
}

.skill-tag {
    background-color: var(--card-bg);
    color: var(--accent-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(100, 255, 218, 0.2);
}

.skill-tag:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.2);
    background-color: rgba(100, 255, 218, 0.1);
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 320px;
    box-shadow: var(--shadow-elevation);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -20px rgba(2, 12, 27, 0.7);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
    text-align: center;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.overlay h3 {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.overlay p {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease 0.1s;
    text-align: center;
    margin-bottom: 25px;
    color: rgba(230, 241, 255, 0.8);
}

.portfolio-buttons {
    display: flex;
    gap: 15px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease 0.2s;
}

.portfolio-item:hover .overlay h3,
.portfolio-item:hover .overlay p,
.portfolio-item:hover .portfolio-buttons {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-button {
    padding: 10px 20px;
    border: 1px solid var(--accent-color);
    border-radius: 30px;
    color: var(--accent-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background-color: transparent;
}

.portfolio-button:hover {
    background-color: rgba(100, 255, 218, 0.1);
    transform: translateY(-3px);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-elevation);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.contact-links {
    list-style: none;
    margin-top: 1.5rem;
}

.contact-links li {
    margin-bottom: 1.2rem;
}

.contact-links a {
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease, color 0.3s ease;
    font-size: 1.1rem;
}

.contact-links a i {
    margin-right: 10px;
    color: var(--accent-color);
}

.contact-links a:hover {
    transform: translateX(5px);
    color: var(--accent-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: rgba(230, 241, 255, 0.9);
}

input, textarea {
    width: 100%;
    padding: 14px;
    background-color: rgba(17, 34, 64, 0.7);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: var(--border-radius);
    color: var(--text-color);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.2);
}

/* Footer */
footer {
    padding: 60px 0 30px;
    background-color: rgba(10, 14, 23, 0.8);
    margin-top: 50px;
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo p {
    margin-top: 10px;
    color: rgba(230, 241, 255, 0.7);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--card-bg);
    color: var(--text-color);
    transition: all 0.3s ease;
    border: 1px solid rgba(100, 255, 218, 0.2);
}

.footer-social a:hover {
    background-color: var(--accent-color);
    color: var(--dark-navy);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
    color: rgba(230, 241, 255, 0.6);
    font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
        order: 2;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 30px;
    }
    
    .about-content, 
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image {
        order: -1;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .typing-effect {
        font-size: 2.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    nav {
        padding: 20px 30px;
    }
    
    .nav-links a {
        margin-left: 15px;
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-button {
        width: 100%;
    }
} 