/* Custom CSS for Vishal Mistry Portfolio */

:root {
    --primary-purple: #8b45c1;
    --dark-bg: #1a1a1a;
    --darker-bg: #0f0f0f;
    --card-bg: #2a2a2a;
    --text-light: #ffffff;
    --text-gray: #cccccc;
    --text-muted: #999999;
    --border-color: #333333;
}

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

body {
    font-family: "Arial", sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}


/* Navigation */

.navbar {
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand .brand-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-light);
    border: 2px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.navbar-brand .brand-text:hover {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}

.navbar-nav .nav-link {
    color: var(--text-gray) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-purple) !important;
}


/* Hero Section */

.hero-section {
    min-height: 100vh;
    padding: 100px 0 50px;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.name-highlight {
    color: var(--text-light);
    display: block;
    font-size: 4rem;
    font-weight: 900;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.profile-img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: translateY(-10px);
}

.purple-card {
    background: linear-gradient(135deg, var(--primary-purple) 0%, #6a3093 100%);
    padding: 2.5rem;
    border-radius: 15px;
    color: white;
    margin-top: 3rem;
}

.purple-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 3rem;
    border: 1px solid var(--border-color);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}


/* Section Headers */

.section-header {
    margin-bottom: 3rem;
    padding-top: 100px;
}

.breadcrumb-nav {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

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

.breadcrumb-nav a:hover {
    color: var(--primary-purple);
}

.purple-header {
    background: linear-gradient(135deg, var(--primary-purple) 0%, #6a3093 100%);
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.purple-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    color: white;
}

.portfolio-icon {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}


/* About Section */

.about-section {
    padding: 5rem 0;
}

.about-image img {
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.about-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.birth-date {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-purple);
    display: inline-block;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.contact-info p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.contact-info i {
    color: var(--primary-purple);
    margin-right: 0.5rem;
    width: 20px;
}


/* Portfolio Sections */

.portfolio-section,
.uiux-section {
    padding: 5rem 0;
}

.portfolio-intro {
    margin: 3rem 0;
}

.portfolio-intro h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.skills-list {
    list-style: none;
    padding: 0;
}

.skills-list li {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.skills-list li:before {
    content: "•";
    color: var(--primary-purple);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.work-info-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.work-info-card h4 {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.work-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-purple);
}

.work-content-header {
    text-align: center;
    margin: 4rem 0 3rem;
}

.work-content-header h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.work-content-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}


/* Portfolio Grid */

.portfolio-grid {
    margin-top: 3rem;
}

.portfolio-item {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-purple);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.portfolio-content p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.portfolio-wide {
    grid-column: span 2;
}

.portfolio-wide .portfolio-image img {
    height: 200px;
}


/* Skills Section */

.skills-section {
    padding: 5rem 0;
}

.skills-content {
    margin-top: 3rem;
}

.skills-category h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    background-color: var(--card-bg);
    color: var(--text-gray);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background-color: var(--primary-purple);
    color: white;
    border-color: var(--primary-purple);
}

.education-section,
.experience-section {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.education-section h3,
.experience-section h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.education-item,
.experience-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.education-item:last-child,
.experience-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.education-item h4,
.experience-item h4 {
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.education-item p,
.experience-item p {
    color: var(--text-gray);
    margin-bottom: 0.3rem;
}

.year,
.duration {
    color: var(--primary-purple);
    font-size: 0.9rem;
    font-weight: 500;
}

.expertise-section h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.skill-bar {
    margin-bottom: 1.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--text-gray);
}

.progress {
    height: 8px;
    background-color: var(--card-bg);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-purple) 0%, #6a3093 100%);
    border-radius: 4px;
    transition: width 1s ease-in-out;
}


/* Contact Section */

.contact-section {
    padding: 5rem 0;
}

.contact-content {
    margin-top: 3rem;
}

.contact-info-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.contact-info-section p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.decorative-element {
    margin: 2rem 0;
}

.contact-svg {
    width: 200px;
    height: 150px;
    opacity: 0.6;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-info h4 {
    color: var(--text-light);
    margin-bottom: 0.2rem;
}

.profile-info p {
    color: var(--text-gray);
    margin: 0;
}

.contact-details-card {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.contact-item {
    margin-bottom: 2rem;
}

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

.contact-item h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-item p {
    color: var(--text-gray);
    margin: 0;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--primary-purple);
}

.social-link i {
    font-size: 1.2rem;
    width: 20px;
}


/* Footer */

.footer {
    background-color: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
}

.footer .social-links {
    display: flex;
    gap: 1rem;
    flex-direction: row;
}

.footer .social-links a {
    color: var(--text-gray);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer .social-links a:hover {
    color: var(--primary-purple);
}


/* Responsive Design */

@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    .name-highlight {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .name-highlight {
        font-size: 3rem;
    }
    .hero-subtitle {
        font-size: 1.3rem;
    }
    .purple-card,
    .contact-card {
        margin-top: 2rem;
    }
    .about-content {
        margin-top: 2rem;
    }
    .work-info-card {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
        text-align: center;
    }
    .name-highlight {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
        text-align: center;
    }
    .purple-header h2 {
        font-size: 2rem;
    }
    .portfolio-icon {
        display: none;
    }
    .about-content h1 {
        font-size: 2.5rem;
        text-align: center;
    }
    .birth-date {
        text-align: center;
        display: block;
        width: 100%;
    }
    .contact-info-section h2 {
        font-size: 2rem;
    }
    .social-links {
        flex-direction: row;
        justify-content: center;
    }
    .footer .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .name-highlight {
        font-size: 2.2rem;
    }
    .purple-card,
    .contact-card,
    .work-info-card,
    .contact-details-card,
    .education-section,
    .experience-section {
        padding: 1.5rem;
    }
    .purple-header {
        padding: 1.5rem;
    }
    .purple-header h2 {
        font-size: 1.8rem;
    }
    .about-content h1 {
        font-size: 2rem;
    }
    .work-content-header h3 {
        font-size: 2rem;
    }
    .skills-tags {
        gap: 0.5rem;
    }
    .skill-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}


/* Animation Classes */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}


/* Smooth scrolling */

html {
    scroll-behavior: smooth;
}


/* Custom scrollbar */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-purple);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6a3093;
}