/* Weby-Styblo Custom Styles */

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #4f46e5;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
}

/* Modern gradient backgrounds */
.gradient-bg {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 25%, #6366f1 50%, #8b5cf6 75%, #a855f7 100%) !important;
    position: relative !important;
    overflow: hidden !important;
    padding-top: 80px !important;
}

.gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

.gradient-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.3;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(-10px) rotate(-1deg); }
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Code-style elements */
.code-bracket {
    font-family: 'Fira Code', 'Monaco', 'Cascadia Code', 'Roboto Mono', monospace !important;
    color: #10b981 !important;
    font-weight: 600 !important;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.5) !important;
}

.code-element {
    font-family: 'Fira Code', 'Monaco', 'Cascadia Code', 'Roboto Mono', monospace;
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Floating code elements */
.floating-code {
    position: absolute !important;
    font-family: 'Fira Code', monospace !important;
    color: rgba(255, 255, 255, 0.3) !important;
    font-size: 14px !important;
    pointer-events: none !important;
}

@keyframes floatCode1 {
    0% { transform: translateY(100vh) translateX(-50px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) translateX(80px); opacity: 0; }
}

@keyframes floatCode2 {
    0% { transform: translateY(100vh) translateX(30px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) translateX(-60px); opacity: 0; }
}

@keyframes floatCode3 {
    0% { transform: translateY(100vh) translateX(0px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) translateX(120px); opacity: 0; }
}

@keyframes floatCode4 {
    0% { transform: translateY(100vh) translateX(-80px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) translateX(40px); opacity: 0; }
}

@keyframes floatCode5 {
    0% { transform: translateY(100vh) translateX(60px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) translateX(-100px); opacity: 0; }
}

.floating-code:nth-child(1) { 
    left: 8%; 
    animation: floatCode1 18s linear infinite; 
    animation-delay: -2s; 
}
.floating-code:nth-child(2) { 
    left: 25%; 
    animation: floatCode2 22s linear infinite; 
    animation-delay: -8s; 
}
.floating-code:nth-child(3) { 
    left: 45%; 
    animation: floatCode3 16s linear infinite; 
    animation-delay: -1s; 
}
.floating-code:nth-child(4) { 
    left: 65%; 
    animation: floatCode4 20s linear infinite; 
    animation-delay: -12s; 
}
.floating-code:nth-child(5) { 
    left: 85%; 
    animation: floatCode5 24s linear infinite; 
    animation-delay: -5s; 
}
.floating-code:nth-child(6) { 
    left: 15%; 
    animation: floatCode1 17s linear infinite; 
    animation-delay: -15s; 
}
.floating-code:nth-child(7) { 
    left: 35%; 
    animation: floatCode3 19s linear infinite; 
    animation-delay: -9s; 
}
.floating-code:nth-child(8) { 
    left: 55%; 
    animation: floatCode2 21s linear infinite; 
    animation-delay: -3s; 
}
.floating-code:nth-child(9) { 
    left: 75%; 
    animation: floatCode4 23s linear infinite; 
    animation-delay: -11s; 
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

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

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

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

.animate-bounce-in {
    animation: bounceIn 1s ease-out;
}

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

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

@keyframes bounceIn {
    0% { 
        opacity: 0; 
        transform: scale(0.3); 
    }
    50% { 
        opacity: 1; 
        transform: scale(1.05); 
    }
    70% { 
        transform: scale(0.9); 
    }
    100% { 
        opacity: 1; 
        transform: scale(1); 
    }
}

/* Custom buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    padding: 12px 32px;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Form styles */
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Loading states */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Alert messages */
.alert {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.alert-success {
    background-color: #f0fdf4;
    border-color: #22c55e;
    color: #166534;
}

.alert-error {
    background-color: #fef2f2;
    border-color: #ef4444;
    color: #991b1b;
}

.alert-warning {
    background-color: #fffbeb;
    border-color: #f59e0b;
    color: #92400e;
}

.alert-info {
    background-color: #eff6ff;
    border-color: #3b82f6;
    color: #1e40af;
}

/* Portfolio grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Mobile-first responsive design */
@media (max-width: 768px) {
    /* Hero section mobile optimization */
    .gradient-bg {
        min-height: 100vh;
        padding: 4rem 1rem 1rem 1rem !important;
    }
    
    /* Code brackets mobile sizing */
    .code-bracket {
        font-size: 2rem !important;
    }
    
    .code-element {
        font-size: 0.875rem !important;
        padding: 4px 8px;
        display: inline-block;
        word-break: break-word;
    }
    
    /* Feature cards mobile */
    .feature-card-mobile {
        padding: 1rem !important;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .feature-card-mobile h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-card-mobile p {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    /* Portfolio grid mobile */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    /* Spacing mobile */
    .section-mobile {
        padding: 3rem 1rem;
    }
    
    .container-mobile {
        max-width: 100%;
        padding: 0 1rem;
    }

    /* Admin mobile styles */
    .admin-sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        height: 100vh;
        width: 280px;
        z-index: 50;
        transition: left 0.3s ease-in-out;
    }
    
    .admin-sidebar.mobile-open {
        left: 0;
    }
    
    .admin-main-content {
        width: 100%;
        padding: 1rem;
    }
    
    .mobile-menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 40;
        display: none;
    }
    
    .mobile-menu-overlay.active {
        display: block;
    }
    
    /* Form adjustments for mobile */
    .form-input {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 1rem;
    }
    
    /* Admin cards mobile */
    .admin-card {
        margin-bottom: 1rem;
    }
    
    /* Stats cards mobile */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .stats-card {
        padding: 1rem;
    }
    
    .stats-number {
        font-size: 1.8rem;
    }
    
    /* Table responsiveness */
    .admin-table {
        font-size: 0.875rem;
    }
    
    /* Modal adjustments */
    .modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
        overflow-y: auto;
    }
    
    /* Navigation mobile */
    .nav-mobile {
        padding: 0.5rem 1rem;
    }
    
    /* Hide floating code elements on mobile */
    .floating-code {
        display: none;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .code-bracket {
        font-size: 1.5rem !important;
    }
    
    .code-element {
        font-size: 0.75rem !important;
        padding: 2px 6px;
    }
    
    .feature-card-mobile {
        padding: 0.75rem !important;
    }
    
    .feature-card-mobile h3 {
        font-size: 0.875rem;
    }
    
    .feature-card-mobile p {
        font-size: 0.75rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-card {
        padding: 1rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .section-mobile {
        padding: 2rem 0.5rem;
    }
    
    .container-mobile {
        padding: 0 0.5rem;
    }
    
    /* Mobile header text scaling for very small screens */
    nav h1 {
        font-size: clamp(0.7rem, 3vw, 1rem) !important;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: calc(100vw - 150px);
    }
    
    nav .code-bracket {
        font-size: clamp(0.9rem, 3.5vw, 1.5rem) !important;
    }
}

/* iPhone SE and small screens */
@media (max-width: 375px) {
    .code-bracket {
        font-size: 1.25rem !important;
    }
    
    .code-element {
        font-size: 0.7rem !important;
    }
    
    .feature-card-mobile {
        padding: 0.5rem !important;
    }
    
    /* Navigation fixes for very small screens */
    nav .max-w-7xl {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    /* Responsive header for iPhone SE and smaller */
    nav h1 {
        font-size: clamp(0.6rem, 2.5vw, 0.85rem) !important;
        margin-left: 0.25rem;
        max-width: calc(100vw - 120px);
    }
    
    nav .code-bracket {
        font-size: clamp(0.8rem, 3vw, 1.1rem) !important;
        margin-right: 0.25rem !important;
    }
    
    /* Mobile menu button */
    nav .md\\:hidden button {
        padding: 0.5rem;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Mobile menu styling */
    nav .md\\:hidden .block {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }
}

/* Galaxy Z Fold and narrow screens */
@media (max-width: 320px) {
    /* Ultra-compact responsive navigation */
    nav h1 {
        font-size: clamp(0.5rem, 2vw, 0.7rem) !important;
        margin-left: 0.125rem;
        max-width: calc(100vw - 100px);
    }
    
    nav .code-bracket {
        font-size: clamp(0.7rem, 2.5vw, 0.9rem) !important;
        margin-right: 0.125rem !important;
    }
    
    nav .max-w-7xl {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
    
    /* Ensure touch targets are adequate */
    nav .md\\:hidden button {
        min-width: 40px;
        min-height: 40px;
        padding: 0.375rem;
    }
    
    /* Mobile menu compact */
    nav .md\\:hidden .block {
        padding: 0.5rem 0.25rem;
        font-size: 0.8rem;
    }
    
    /* Hero section adjustments */
    .gradient-bg {
        padding-top: 3.5rem !important; /* Account for fixed nav */
    }
    
    .code-bracket {
        font-size: 1rem !important;
    }
    
    .code-element {
        font-size: 0.6rem !important;
        padding: 1px 4px;
    }
}

/* Foldable devices and very wide aspect ratios */
@media (max-width: 280px) {
    /* Navigation for ultra-narrow screens with responsive text */
    nav h1 {
        font-size: clamp(0.4rem, 1.5vw, 0.6rem) !important;
        margin-left: 0.1rem;
        max-width: calc(100vw - 90px);
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    nav .flex.items-center a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex: 1;
        min-width: 0;
    }
    
    nav .code-bracket {
        font-size: clamp(0.6rem, 2vw, 0.8rem) !important;
        margin-right: 0.1rem !important;
        flex-shrink: 0;
    }
    
    /* Minimal hero for ultra-narrow */
    .code-bracket {
        font-size: 0.875rem !important;
    }
    
    .code-element {
        font-size: 0.5rem !important;
        padding: 1px 2px;
    }
}

/* Landscape orientation optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .gradient-bg {
        min-height: auto;
        padding: 4rem 0 1rem 0 !important;
    }
    
    .code-bracket {
        font-size: 1.5rem !important;
    }
    
    .feature-card-mobile {
        padding: 0.5rem !important;
    }
    
    .section-mobile {
        padding: 1rem;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Navigation responsive improvements */
.nav-responsive {
    transition: all 0.3s ease;
}

/* Ensure navigation is always accessible */
@media (max-width: 768px) {
    /* Navigation mobile improvements */
    nav {
        padding: 0;
        min-height: 60px;
    }
    
    nav .max-w-7xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    nav .flex.justify-between {
        min-height: 60px;
        align-items: center;
        gap: 0.5rem;
    }
    
    /* Logo section */
    nav .flex.items-center a {
        display: flex;
        align-items: center;
        text-decoration: none;
        padding: 0.5rem 0;
        flex: 1;
        min-width: 0;
    }
    
    nav h1 {
        font-size: clamp(0.8rem, 3.5vw, 1.25rem);
        line-height: 1.1;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: calc(100vw - 140px);
        flex: 1;
        min-width: 0;
    }
    
    nav .code-bracket {
        font-size: clamp(1rem, 4vw, 2rem);
        flex-shrink: 0;
    }
    
    /* Mobile menu button improvements */
    nav .md\\:hidden button {
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0.75rem;
        border-radius: 0.375rem;
        transition: background-color 0.2s;
        flex-shrink: 0;
    }
    
    nav .md\\:hidden button:hover {
        background-color: rgba(0, 0, 0, 0.05);
    }
    
    nav .md\\:hidden button:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
    
    /* Mobile menu dropdown */
    nav .md\\:hidden div[x-show] {
        background: white;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    nav .md\\:hidden .block {
        display: block;
        padding: 0.75rem 1rem;
        text-decoration: none;
        transition: background-color 0.2s;
        border-bottom: 1px solid #f3f4f6;
    }
    
    nav .md\\:hidden .block:last-child {
        border-bottom: none;
    }
    
    nav .md\\:hidden .block:hover {
        background-color: #f9fafb;
    }
}

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

/* Responsive text utilities */
.text-responsive-xl {
    font-size: clamp(1.5rem, 4vw, 3rem);
    line-height: 1.2;
}

.text-responsive-lg {
    font-size: clamp(1.25rem, 3vw, 2rem);
    line-height: 1.3;
}

.text-responsive-base {
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    line-height: 1.6;
}

.text-responsive-sm {
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    line-height: 1.5;
}


/* Responsive spacing utilities */
.space-responsive {
    padding: clamp(1rem, 4vw, 3rem);
}

.space-responsive-y {
    padding-top: clamp(1rem, 4vw, 3rem);
    padding-bottom: clamp(1rem, 4vw, 3rem);
}

.space-responsive-x {
    padding-left: clamp(1rem, 4vw, 3rem);
    padding-right: clamp(1rem, 4vw, 3rem);
}

/* Container responsive */
.container-responsive {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

/* Button responsive */
.btn-responsive {
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2rem);
    font-size: clamp(0.875rem, 2vw, 1rem);
    border-radius: clamp(0.5rem, 2vw, 2rem);
    transition: all 0.3s ease;
}

/* Card responsive */
.card-responsive {
    padding: clamp(1rem, 3vw, 2rem);
    border-radius: clamp(0.5rem, 2vw, 1rem);
}

/* Grid responsive utilities */
.grid-responsive-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 3vw, 2rem);
}

@media (min-width: 640px) {
    .grid-responsive-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.grid-responsive-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 3vw, 2rem);
}

@media (min-width: 640px) {
    .grid-responsive-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .grid-responsive-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Hero section specific responsive classes */
.hero-responsive {
    min-height: 100vh;
    padding: clamp(6rem, 8vw, 8rem) 0 clamp(2rem, 4vw, 4rem) 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-title-responsive {
    font-size: clamp(2rem, 6vw, 4rem);
    line-height: 1.1;
    font-weight: 700;
    text-align: center;
    margin-bottom: clamp(0.5rem, 2vw, 1rem);
}

.hero-subtitle-responsive {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    margin-bottom: clamp(1rem, 4vw, 2rem);
    text-align: center;
}

.hero-description-responsive {
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    line-height: 1.6;
    margin-bottom: clamp(1.5rem, 4vw, 3rem);
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Feature cards responsive */
.feature-grid-responsive {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 768px) {
    .feature-grid-responsive {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card-responsive {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: clamp(0.5rem, 2vw, 1rem);
    padding: clamp(1rem, 3vw, 1.5rem);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card-responsive:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Safe area insets for mobile devices */
@supports (padding: max(0px)) {
    .safe-area-inset {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
    
    .safe-area-inset-top {
        padding-top: max(1rem, env(safe-area-inset-top));
    }
    
    .safe-area-inset-bottom {
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
    }
}

/* Navigation active state */
.nav-link-active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Project type badges */
.project-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-badge.website {
    background: #dbeafe;
    color: #1e40af;
}

.project-badge.eshop {
    background: #d1fae5;
    color: #065f46;
}

.project-badge.webapp {
    background: #fef3c7;
    color: #92400e;
}

.project-badge.mobile {
    background: #e0e7ff;
    color: #3730a3;
}

/* Admin panel specific styles */
.admin-sidebar {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.admin-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.admin-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stats-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stats-label {
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}