/* SLAMS.gr Custom Styles */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0;
}

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

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

.product-description {
    line-height: 1.8;
}

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

.technical-specs table {
    font-size: 0.95rem;
}

.technical-specs th {
    width: 30%;
    font-weight: 600;
}

/* Admin/Editor Styles */
.admin-sidebar {
    min-height: calc(100vh - 56px);
    background-color: #f8f9fa;
}

/* Upload previews */
.img-thumbnail {
    max-width: 100%;
    height: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
}

/* Breadcrumb with directional icons */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item i.bi-chevron-right {
    margin: 0 0.5rem;
    font-size: 0.875rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.breadcrumb-item:not(.active):hover i.bi-chevron-right {
    transform: translateX(3px);
    color: var(--primary-color) !important;
}

.breadcrumb-item a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item a i.bi-house-door {
    font-size: 1rem;
}

/* Animated breadcrumb trail */
.breadcrumb-item:not(:first-child) {
    position: relative;
}

.breadcrumb-item:not(:first-child)::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.breadcrumb:hover .breadcrumb-item:not(:first-child)::before {
    opacity: 0.3;
}

/* Print styles */
@media print {
    .navbar,
    .btn,
    footer {
        display: none !important;
    }
}

