/* Portfolio theme styles - Additional customizations */


/* Smooth scrolling */

html {
    scroll-behavior: smooth;
}


/* Typography enhancements */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #374151;
    line-height: 1.6;
}


/* Section animations */

.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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


/* Skill badges enhancement */

.tech-badge {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.tech-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}


/* Custom button styles */

.btn-primary {
    background-color: #4f46e5;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background-color: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.1);
}

.btn-secondary {
    background-color: white;
    color: #4f46e5;
    border: 1px solid #4f46e5;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-secondary:hover {
    background-color: #f9fafb;
    color: #4338ca;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.05);
}


/* Project card enhancements */

.project-card {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.project-card img {
    transition: all 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}


/* Contact form enhancements */

.form-input {
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    padding: 0.75rem;
    width: 100%;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #4f46e5;
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #4b5563;
}


/* Testimonial card styles */

.testimonial-card {
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}


/* Social media icon hover effects */

.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    color: #4f46e5;
}


/* Custom accent colors */

.accent-indigo {
    color: #4f46e5;
}

.bg-accent-indigo {
    background-color: #4f46e5;
}

.accent-gradient {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* Timeline styles for experience section */

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e5e7eb;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: #4f46e5;
    border: 3px solid white;
}


/* Media queries for responsive design */

@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .timeline {
        padding-left: 1.5rem;
    }
    .timeline-item::before {
        left: -1.5rem;
        width: 0.75rem;
        height: 0.75rem;
    }
}


/* Dark mode support */

@media (prefers-color-scheme: dark) {
    body.dark-mode {
        background-color: #1f2937;
        color: #f9fafb;
    }
    body.dark-mode .bg-white {
        background-color: #111827;
    }
    body.dark-mode .text-gray-900 {
        color: #f9fafb;
    }
    body.dark-mode .text-gray-600,
    body.dark-mode .text-gray-700 {
        color: #d1d5db;
    }
    body.dark-mode .border-gray-200 {
        border-color: #374151;
    }
    body.dark-mode .timeline::before {
        background-color: #374151;
    }
    body.dark-mode .timeline-item::before {
        border-color: #111827;
    }
    body.dark-mode .tech-badge {
        background-color: #374151;
        color: #d1d5db;
    }
    body.dark-mode .tech-badge:hover {
        background-color: #4f46e5;
        color: white;
    }
}