/* Custom styles to complement Tailwind CSS */

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #6366f1;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom navigation link styles */
.nav-link {
    color: #374151;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #2563eb;
}

.mobile-nav-link {
    display: block;
    color: #374151;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s;
}

.mobile-nav-link:hover {
    color: #2563eb;
    background-color: #f9fafb;
}

/* Section titles */
.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

/* Button styles */
.btn-primary {
    display: inline-block;
    background-color: #2563eb;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    display: inline-block;
    background-color: white;
    color: #2563eb;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    border: 2px solid #2563eb;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background-color: #eff6ff;
    transform: scale(1.05);
}

/* Skill badges */
.skill-badge {
    display: inline-block;
    background-color: #dbeafe;
    color: #1e40af;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: default;
    transition: all 0.2s;
}

.skill-badge:hover {
    background-color: #2563eb;
    color: white;
}

/* Contact cards */
.contact-card {
    display: block;
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.contact-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-0.25rem);
}

/* Experience cards */
.experience-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.experience-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Education cards */
.education-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.education-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Date badge */
.date-badge {
    display: inline-block;
    background-color: #eff6ff;
    color: #1d4ed8;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
}

/* Technology tags */
.tech-tag {
    display: inline-block;
    background-color: white;
    color: #374151;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 2px solid #e5e7eb;
    cursor: default;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.tech-tag:hover {
    border-color: #60a5fa;
    background-color: #eff6ff;
    color: #1d4ed8;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Responsive image styles */
img {
    max-width: 100%;
    height: auto;
}

/* Print styles */
@media print {
    nav,
    footer {
        display: none;
    }

    section {
        page-break-inside: avoid;
    }
}
