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

:root {
    --bg-color: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --accent-color: #000000;
    /* Minimalist Black Accent */
    --card-bg: #ffffff;
    --border-color: #eeeeee;
    --hover-bg: #f5f5f5;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius-sm: 4px;
    --radius-md: 8px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    margin: 0;
    padding-top: 80px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--text-secondary);
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary) !important;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.nav-link {
    font-family: var(--font-body);
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.95rem;
    margin-left: 2rem;
    padding: 0.5rem 0 !important;
}

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

/* Hero Section */
.hero-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-content .lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--text-primary);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: var(--radius-sm);
    display: inline-block;
    font-weight: 500;
    border: 1px solid var(--text-primary);
}

.btn-primary-custom:hover {
    background-color: transparent;
    color: var(--text-primary);
}

.btn-outline-custom {
    background-color: transparent;
    color: var(--text-primary);
    padding: 12px 30px;
    border-radius: var(--radius-sm);
    display: inline-block;
    font-weight: 500;
    border: 1px solid var(--border-color);
    margin-left: 1rem;
}

.btn-outline-custom:hover {
    border-color: var(--text-primary);
}

/* Cards (Projects & Blog) */
.project-card,
.blog-card,
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}

.project-card:hover,
.blog-card:hover,
.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.project-img-wrapper {
    height: 220px;
    background-color: var(--hover-bg);
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* Tags */
.badge-tag {
    font-size: 0.75rem;
    background-color: var(--hover-bg);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 20px;
    margin-right: 5px;
    margin-bottom: 5px;
    display: inline-block;
    font-weight: 500;
}

/* Blog List Specifics */
.blog-card {
    padding: 2rem;
    border-left: 1px solid var(--border-color);
    /* Reset left border */
}

.blog-card:hover {
    background-color: var(--hover-bg);
}

.blog-card h4 a {
    color: var(--text-primary);
    font-weight: 600;
}

.blog-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.blog-card a.text-primary {
    color: var(--text-primary) !important;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Footer */
footer {
    background-color: #fafafa;
    padding: 4rem 0;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

footer a {
    color: var(--text-primary);
    font-weight: 500;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}