/* Main Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Product Cards */
.product-card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.product-image {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.main-product-image {
    max-height: 500px;
    object-fit: contain;
}

.product-thumbnail {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

/* Navigation */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('../images/hero-bg.jpg') center/cover no-repeat;
    color: white;
}

/* Buttons */
.btn-primary {
    background-color: #6f42c1;
    border-color: #6f42c1;
}

.btn-primary:hover {
    background-color: #5a32a3;
    border-color: #5a32a3;
}

.btn-outline-primary {
    color: #6f42c1;
    border-color: #6f42c1;
}

.btn-outline-primary:hover {
    background-color: #6f42c1;
    border-color: #6f42c1;
}

/* Forms */
.form-control:focus {
    border-color: #6f42c1;
    box-shadow: 0 0 0 0.25rem rgba(111, 66, 193, 0.25);
}

/* Alerts */
.alert {
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-image {
        height: 200px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .navbar-nav {
        text-align: center;
    }
}

/* Cart Page */
.cart-item {
    border-bottom: 1px solid #dee2e6;
    padding: 20px 0;
}

/* Checkout */
.checkout-summary {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

/* Admin */
.sidebar {
    min-height: 100vh;
}

.table-responsive {
    overflow-x: auto;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

/* Price Styling */
.price {
    font-weight: bold;
    color: #333;
}

.discount-price {
    color: #dc3545;
    font-size: 1.2em;
}

.original-price {
    text-decoration: line-through;
    color: #6c757d;
}
