/* Custom CSS for PortableAppsFree.com */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

html {
    scroll-behavior: smooth;
}

a {
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero h1, .hero .display-4 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p, .hero .lead {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.btn {
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5568d3 0%, #63408a 100%);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
}

.alert {
    border-left: 4px solid;
}

.alert-success {
    border-left-color: #28a745;
}

.alert-info {
    border-left-color: #17a2b8;
}

img {
    max-width: 100%;
    height: auto;
}

.img-fluid {
    transition: transform 0.3s ease;
}

.img-fluid:hover {
    transform: scale(1.02);
}

.table {
    background: white;
}

.table thead th {
    background: #f8f9fa;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
}

footer {
    margin-top: auto;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.badge {
    font-weight: 500;
    padding: 0.5em 0.75em;
}

.card-title a {
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: #667eea !important;
}

.form-control, .form-select {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.sticky-top {
    top: 90px !important;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .sticky-top {
        position: relative !important;
        top: 0 !important;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

img {
    animation: fadeIn 0.5s ease-in;
}

.fas, .far, .fab {
    margin-right: 0.25rem;
}

@media print {
    nav, footer, .btn, .sticky-top {
        display: none !important;
    }
    
    main {
        margin-top: 0 !important;
    }
}

.btn:focus, .form-control:focus, .form-select:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}

blockquote {
    border-left: 4px solid #667eea;
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: #6c757d;
}

ul, ol {
    line-height: 1.8;
}

p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

section {
    scroll-margin-top: 80px;
}

::selection {
    background: #667eea;
    color: white;
}

::-moz-selection {
    background: #667eea;
    color: white;
}
