/* BASE / GLOBAL */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* PROJECT CARD STYLES */
.project-card {
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* DETAIL PAGE STYLES */
.project-image-container {
    position: relative;
    height: 24rem;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
}

.project-image-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: white;
}

/* TECHNOLOGY TAGS */
.tech-tag {
    padding: 0.25rem 0.5rem;
    background-color: #f3f4f6;
    color: #374151;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    transition: background-color 0.2s;
}

.tech-tag:hover {
    background-color: #e5e7eb;
}

.tech-tag-lg {
    padding: 0.5rem 1rem;
    background-color: #f3f4f6;
    color: #1f2937;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
}

/* FEATURE LIST STYLES */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
}

.feature-list svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
    margin-right: 0.5rem;
}

/* BUTTON STYLES */
.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background-color: #2563eb;
    color: white;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background-color: #111827;
    color: white;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
}

.btn-secondary:hover {
    background-color: #1f2937;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
    .project-image-container {
        height: 16rem;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .project-image-container .featured-badge {
        top: 1rem;
        right: 1rem;
        padding: 0.25rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ANIMATION UTILITIES */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* CONTENT STYLES */
.whitespace-pre-line {
    white-space: pre-line;
}