/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 20, 147, 0.3);
    box-shadow: 0 4px 20px rgba(255, 20, 147, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff1493;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: #ff69b4;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu.active {
    background: rgba(26, 26, 46, 0.98);
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ff1493;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #ff1493;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ff1493;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger:hover .bar {
    background-color: #ff69b4;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #000000 0%, #1a0a1a 30%, #2d0a2d 60%, #000000 100%);
    color: white;
    padding: 100px 0 50px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 20, 147, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 105, 180, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 0, 255, 0.05) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

.hero::before {
    content: "Deepanshi's Portfolio";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15rem;
    font-weight: 900;
    color: rgba(255, 20, 147, 0.05);
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
    animation: heroTextFloat 6s ease-in-out infinite;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: titleSlideIn 1.5s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #ff69b4;
    animation: subtitleFloat 4s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.3);
}

.highlight {
    color: #ff1493;
    text-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
    animation: textGlow 3s ease-in-out infinite alternate;
}



.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #cbd5e1;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, #ff1493, #ff69b4);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 20, 147, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 20, 147, 0.5);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1f2937;
    transform: translateY(-2px);
}

.hero-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 20, 147, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff69b4;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 20, 147, 0.3);
}

.social-link:hover {
    background: linear-gradient(45deg, #ff1493, #ff69b4);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.4);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-card {
    background: rgba(99, 102, 241, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.profile-avatar {
    width: 150px;
    height: 150px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    border: 3px solid rgba(99, 102, 241, 0.5);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
}

.profile-photo {
    width: 300px;
    height: auto;
    max-width: 100%;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.profile-photo:hover {
    transform: scale(1.02);
}

/* Fallback for when image is loading or not available */
.profile-avatar::before {
    content: '\f007';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 3rem;
    color: #6366f1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.5;
    z-index: -1;
}

.profile-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.profile-info p {
    color: #cbd5e1;
    margin-bottom: 0.25rem;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #ff1493;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff1493, #ff69b4);
    border-radius: 2px;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #000000 0%, #1a0a1a 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
    line-height: 1.7;
}

.education h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.education-item {
    background: #1a1a2e;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border-left: 4px solid #6366f1;
}

.education-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.education-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.education-year {
    background: #6366f1;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.education-school {
    color: #a5b4fc;
    margin-bottom: 0.25rem;
}

.education-gpa {
    color: #059669;
    font-weight: 600;
}

/* Projects Section */
.projects {
    background: #1a1a2e;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: linear-gradient(135deg, #000000 0%, #1a0a1a 100%);
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 20, 147, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.1) 0%, rgba(255, 105, 180, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image::before {
    content: '📱';
    font-size: 3rem;
    color: rgba(255, 20, 147, 0.3);
    position: absolute;
    z-index: 1;
    opacity: 0.5;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 1.5rem 1.5rem 0 1.5rem;
}

.project-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-right: 1rem;
}

.project-links {
    display: flex;
    gap: 0.5rem;
}

.project-link {
    width: 35px;
    height: 35px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff69b4;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 20, 147, 0.3);
}

.project-link:hover {
    background: linear-gradient(45deg, #ff1493, #ff69b4);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 20, 147, 0.3);
}

.project-description {
    color: #cbd5e1;
    margin-bottom: 1rem;
    line-height: 1.6;
    padding: 0 1.5rem;
}

.project-features ul {
    list-style: none;
    margin-bottom: 1.5rem;
    padding: 0 1.5rem;
}

.project-features li {
    padding: 0.25rem 0;
    color: #a5b4fc;
    position: relative;
    padding-left: 1.5rem;
}

.project-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: bold;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.tech-tag {
    background: rgba(255, 20, 147, 0.2);
    color: #ff69b4;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 20, 147, 0.3);
}

/* Skills Section */
.skills {
    background: #16213e;
}

.skills-content {
    display: grid;
    gap: 3rem;
}

.skills-category h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.skill-item {
    background: #1a1a2e;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.skill-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.skill-item i {
    font-size: 2rem;
    color: #6366f1;
    margin-bottom: 0.5rem;
    display: block;
}

.skill-item span {
    font-weight: 500;
    color: #ffffff;
}

/* Achievements Section */
.achievements {
    background: #1a1a2e;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.achievement-card {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.3);
}

.achievement-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #6366f1;
}

.achievement-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.achievement-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #a5b4fc;
}

.achievement-description {
    color: #cbd5e1;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background: #16213e;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.contact-info p {
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    display: grid;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #1a1a2e;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.contact-item i {
    font-size: 1.5rem;
    color: #6366f1;
    width: 40px;
    text-align: center;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.contact-item a {
    color: #a5b4fc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #6366f1;
}

.contact-form {
    background: #1a1a2e;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background: #16213e;
    color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 2rem 0;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: #1e293b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.footer-social a:hover {
    background: #6366f1;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .profile-photo {
        width: 250px;
        height: auto;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(15px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(255, 20, 147, 0.1);
        padding: 2rem 0;
        border-top: 1px solid rgba(255, 20, 147, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .achievements-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroGlow {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    100% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

@keyframes heroTextFloat {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0px);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-10px);
    }
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
    }
    100% {
        text-shadow: 0 0 30px rgba(255, 20, 147, 0.8), 0 0 40px rgba(255, 20, 147, 0.3);
    }
}

@keyframes titleSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes subtitleFloat {
    0% {
        transform: translateY(0px) scale(1);
        opacity: 1;
        text-shadow: 0 0 10px rgba(255, 105, 180, 0.3);
    }
    25% {
        transform: translateY(-5px) scale(1.02);
        opacity: 0.9;
        text-shadow: 0 0 15px rgba(255, 105, 180, 0.5);
    }
    50% {
        transform: translateY(-8px) scale(1.05);
        opacity: 0.8;
        text-shadow: 0 0 20px rgba(255, 105, 180, 0.7);
    }
    75% {
        transform: translateY(-5px) scale(1.02);
        opacity: 0.9;
        text-shadow: 0 0 15px rgba(255, 105, 180, 0.5);
    }
    100% {
        transform: translateY(0px) scale(1);
        opacity: 1;
        text-shadow: 0 0 10px rgba(255, 105, 180, 0.3);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for anchor links */
html {
    scroll-padding-top: 80px;
} 