/* Adastra Art Global Theme */
/* Dark celestial theme with proper text contrast */

body { 
    background: #0b132b; 
    color: #e0e7ff; 
}

.navbar { 
    background: rgba(0,0,0,0.7); 
}

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

.card { 
    background: #162447; 
    border: none; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.3); 
}

.card-title { 
    color: #f4f4f4; 
}

.card-text {
    color: #a8b2d1 !important;
}

.price { 
    color: #7ad7f0; 
    font-weight: 700; 
}

.price.large {
    font-size: 1.5rem;
}

.hero { 
    background: radial-gradient(circle at 20% 20%, #1f4068, #0b132b); 
    padding: 60px 0; 
}

.hero-section {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #4a90e2);
    color: white;
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Enhanced artwork cards */
.artwork-card {
    background: #162447;
    border: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.artwork-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}

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

.artwork-card:hover img {
    transform: scale(1.05);
}

.artwork-card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    background: #162447;
}

.artwork-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.card-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 4.5em;
    line-height: 1.5em;
    color: #a8b2d1 !important;
}

/* Text color fixes for all dark text on dark backgrounds */
.text-muted {
    color: #a8b2d1 !important;
}

p {
    color: #a8b2d1;
}

/* Ensure readable text everywhere */
.content-text,
.description-text,
.artwork-description {
    color: #a8b2d1 !important;
}

/* Buttons and interactive elements */
.btn-primary {
    background-color: #4a90e2;
    border-color: #4a90e2;
}

.btn-outline-light {
    border-color: #a8b2d1;
    color: #a8b2d1;
}

.btn-outline-light:hover {
    background-color: #a8b2d1;
    color: #0b132b;
}

/* Tags and labels */
.badge, .tag {
    background-color: #4a90e2;
    color: #ffffff;
}

.badge-tag { 
    background: rgba(255,255,255,0.1); 
    border: 1px solid rgba(255,255,255,0.2); 
}

/* Form elements */
.form-control {
    background-color: #162447;
    border-color: #4a90e2;
    color: #e0e7ff;
}

.form-control:focus {
    background-color: #162447;
    border-color: #7ad7f0;
    color: #e0e7ff;
    box-shadow: 0 0 0 0.2rem rgba(122, 215, 240, 0.25);
}