@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --transition-speed: 0.4s;
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --card-shadow-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.2);
    --border-radius: 1.5rem;
}

[data-bs-theme="dark"] {
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
    --card-shadow-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
    font-weight: 700;
}

.profile {
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid rgba(135, 207, 235, 0.1);
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.profile:hover {
    transform: scale(1.02) rotate(2deg);
}

#intro {
    position: relative;
    overflow: hidden;
}

/* Subtle modern background for intro */
#intro::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(13, 110, 253, 0.03) 0%, transparent 70%);
    z-index: -1;
}

.project-showcase {
    background: var(--bs-body-tertiary);
    border-radius: var(--border-radius);
    padding: 3rem;
    margin-bottom: 4rem;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-bs-theme="dark"] .project-showcase {
    border-color: rgba(255, 255, 255, 0.05);
}

.project-showcase:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
}

.project-image-container {
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.project-showcase img {
    transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

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

.icon-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    color: var(--bs-primary);
    transition: gap 0.2s ease;
}

.icon-link:hover {
    gap: 0.75rem;
    text-decoration: underline;
}

.badge-custom {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    background: rgba(13, 110, 253, 0.08);
    color: var(--bs-primary);
    display: inline-block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bs-body-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--bs-secondary-bg);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--bs-secondary);
}

/* Theme Toggle Button Styling */
#theme-btn {
    border-radius: 50%;
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg);
    transition: all 0.2s ease;
}

#theme-btn:hover {
    background: var(--bs-tertiary-bg);
    transform: rotate(15deg);
}
