/* styles.css - FINAL VERSION: All organizational text converted to CSS comments */

/* 1. Base Typography and Layout */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* Apply custom font globally (Tailwind setup is in index.html, but this ensures fallback) */
body {
    font-family: 'Inter', sans-serif;
}

/* Global Section Title Style */
.section-title {
    font-size: 2.25rem; /* text-4xl */
    line-height: 2.5rem;
    font-weight: 800; /* font-extrabold */
    text-align: center;
    color: #1f2937; /* text-gray-900 */
    margin-bottom: 3rem; /* mb-12 */
    position: relative;
}
@media (min-width: 768px) {
    .section-title {
        font-size: 3rem; /* md:text-5xl */
        line-height: 1;
    }
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #3b82f6; /* Tailwind blue-500 */
    margin: 10px auto 0;
    border-radius: 2px;
}


/* 2. Skills Section Badges */
.skill-badge {
    font-size: 1rem; /* text-base */
    line-height: 1.5rem;
    font-weight: 600; /* font-semibold */
    padding-left: 1.25rem; /* px-5 */
    padding-right: 1.25rem;
    padding-top: 0.5rem; /* py-2 */
    padding-bottom: 0.5rem;
    border-radius: 9999px; /* rounded-full */
    transition: all 0.3s ease-in-out; /* transition-all duration-300 */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
    cursor: default;
    /* Subtle 3D effect on hover */
    transform: perspective(1px) translateZ(0);
}
.skill-badge:hover {
    transform: scale(1.05);
}


/* 3. Project Card Styling (The most important visual element) */
.project-card {
    background-color: #ffffff; /* bg-white */
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); /* shadow-xl */
    padding: 2rem; /* p-8 */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-bottom: 4px solid #dbeafe; /* border-b-4 border-blue-100 */
    transition: all 0.3s ease-in-out;
    min-height: 400px; /* Ensures consistent height in the grid */
}

/* Card Hover Effect: Makes it feel interactive and highlights it */
.project-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); /* shadow-2xl */
    transform: translateY(-8px); /* Lift the card */
    border-color: #2563eb; /* Highlight border (Tailwind blue-600) */
}

.card-title {
    font-size: 1.5rem; /* text-2xl */
    line-height: 2rem;
    font-weight: 700; /* font-bold */
    color: #1f2937; /* text-gray-900 */
    margin-bottom: 0.75rem; /* mb-3 */
}

.card-summary {
    color: #4b5563; /* text-gray-600 */
    margin-bottom: 1rem; /* mb-4 */
    font-size: 1rem; /* text-base */
    line-height: 1.5rem;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem; /* gap-2 */
    margin-bottom: 1.5rem; /* mb-6 */
    margin-top: auto; /* mt-auto */
}

.tool-tag {
    font-size: 0.75rem; /* text-xs */
    line-height: 1rem;
    font-weight: 500; /* font-medium */
    padding-left: 0.75rem; /* px-3 */
    padding-right: 0.75rem;
    padding-top: 0.25rem; /* py-1 */
    padding-bottom: 0.25rem;
    background-color: #e5e7eb; /* bg-gray-200 */
    color: #374151; /* text-gray-700 */
    border-radius: 9999px; /* rounded-full */
}

.card-links {
    display: flex;
    gap: 0.75rem; /* space-x-3 */
    margin-top: 1rem; /* mt-4 */
}

.primary-link {
    flex-grow: 1; /* flex-grow */
    text-align: center;
    background-color: #2563eb; /* bg-blue-600 */
    color: #ffffff; /* text-white */
    padding-top: 0.75rem; /* py-3 */
    padding-bottom: 0.75rem;
    padding-left: 1rem; /* px-4 */
    padding-right: 1rem;
    border-radius: 0.5rem; /* rounded-lg */
    font-weight: 600; /* font-semibold */
    transition-property: all; /* transition-colors duration-200 */
    transition-duration: 200ms;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); /* shadow-md */
}
.primary-link:hover {
    background-color: #1d4ed8; /* hover:bg-blue-700 */
}

.secondary-link {
    flex-grow: 1; /* flex-grow */
    text-align: center;
    border: 1px solid #d1d5db; /* border border-gray-300 */
    color: #374151; /* text-gray-700 */
    padding-top: 0.75rem; /* py-3 */
    padding-bottom: 0.75rem;
    padding-left: 1rem; /* px-4 */
    padding-right: 1rem;
    border-radius: 0.5rem; /* rounded-lg */
    font-weight: 500; /* font-medium */
    transition-property: all; /* transition-colors duration-200 */
    transition-duration: 200ms;
}
.secondary-link:hover {
    background-color: #f3f4f6; /* hover:bg-gray-100 */
}

/* Future Project Card Placeholder */
.future-project-card {
    background-color: #e5e7eb; /* bg-gray-200 */
    border-radius: 0.75rem; /* rounded-xl */
    padding: 2rem; /* p-8 */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0.7; /* opacity-70 */
    border: 4px dashed #9ca3af; /* border-4 border-dashed border-gray-400 */
    min-height: 400px;
    transition: opacity 0.3s;
}
.future-project-card:hover {
    opacity: 1;
}


/* 4. Filter Buttons */
.filter-btn {
    padding-left: 1.25rem; /* px-5 */
    padding-right: 1.25rem;
    padding-top: 0.5rem; /* py-2 */
    padding-bottom: 0.5rem;
    font-size: 1rem; /* text-base */
    line-height: 1.5rem;
    font-weight: 600; /* font-semibold */
    border-radius: 9999px; /* rounded-full */
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    background-color: #ffffff; /* bg-white */
    color: #374151; /* text-gray-700 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.filter-btn:hover {
    background-color: #eff6ff; /* hover:bg-blue-50 */
    color: #2563eb; /* hover:text-blue-600 */
}

.active-filter {
    background-color: #2563eb; /* bg-blue-600 */
    color: #ffffff; /* text-white */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); /* shadow-xl */
    transform: scale(1.02);
}
.active-filter:hover {
    background-color: #1d4ed8; /* hover:bg-blue-700 */
}


/* 5. Contact Links */
.contact-link {
    padding-top: 0.75rem; /* py-3 */
    padding-bottom: 0.75rem;
    padding-left: 1.5rem; /* px-6 */
    padding-right: 1.5rem;
    border-radius: 9999px; /* rounded-full */
    font-size: 1.125rem; /* text-lg */
    line-height: 1.75rem;
    font-weight: 600; /* font-semibold */
    transition: all 0.3s ease-in-out;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
}
.contact-link:hover {
    transform: translateY(-4px); /* hover:-translate-y-1 */
}


/* 6. Active Navigation Link Indicator */
.nav-link.active {
    color: #2563eb; /* text-blue-600 */
    border-bottom: 2px solid #2563eb; /* border-b-2 border-blue-600 */
    padding-bottom: 0.25rem; /* pb-1 */
}