/* Modern color palette and variables */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1d4ed8;
    --accent-color: #f59e0b;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --light-bg: #f3f4f6;
    --white: #ffffff;
    --success: #10b981;
    --error: #ef4444;
    --border-radius: 0.5rem;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

/* Modern typography */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: var(--text-color);
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    background-color: var(--light-bg);
}

main {
    flex: 1;
    padding: 2rem 0;
}

/* Modern navigation */
.navbar {
    padding: 1rem 0;
    box-shadow: var(--shadow);
}

.navbar-dark.bg-primary {
    background: var(--primary-color) !important;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
}

.navbar-brand img {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Modern buttons */
.btn {
    padding: 0.625rem 1.25rem;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
    font-weight: 500;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

/* Modern cards */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    background: var(--white);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Modern forms */
.form-control {
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}
    box-shadow: 0 0 0 0.2rem rgba(0,102,204,0.25);
}

/* Hero section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    margin-bottom: 2rem;
}

/* Blog */
.blog-post {
    margin-bottom: 2rem;
}

.blog-post-meta {
    color: #6c757d;
}

/* Store */
.product-card {
    height: 100%;
}

.product-card img {
    height: 200px;
    object-fit: cover;
}

/* Admin dashboard */
.dashboard-stat {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.dashboard-stat h3 {
    margin: 0;
    font-size: 2rem;
}

/* Modern containers and spacing */
.container {
    max-width: 1200px;
    padding: 0 1.5rem;
}

/* Modern table styles */
.table {
    border-radius: var(--border-radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.table thead th {
    background: var(--light-bg);
    border-bottom: 2px solid #e5e7eb;
    font-weight: 600;
}

/* Modern alert styles */
.alert {
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-sm);
}

.alert-success {
    background: var(--success);
    color: var(--white);
}

.alert-danger {
    background: var(--error);
    color: var(--white);
}

/* Modern dropdown styles */
.dropdown-menu {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: calc(var(--border-radius) - 0.25rem);
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--light-bg);
    transform: translateX(4px);
}

/* Card content spacing */
.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Footer styles */
footer {
    background: var(--white);
    box-shadow: var(--shadow) inset;
    padding: 2rem 0;
    margin-top: 2rem;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* Link styles */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Badge styles */
.badge {
    padding: 0.5em 1em;
    border-radius: 2em;
    font-weight: 500;
}

/* Utility classes */
.text-muted {
    color: var(--text-light) !important;
}

.bg-light {
    background-color: var(--light-bg) !important;
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 50px 0;
    }
}
