/* Custom CSS for Linen Store */

/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Navbar Customization */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

/* Button Customization */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Card Customization */
.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Product Card Specific */
.product-card .card-img-top {
    height: 250px;
    object-fit: cover;
}

/* Form Customization */
.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

/* Alert Customization */
.alert {
    border: none;
    border-radius: 8px;
}

/* Footer Customization */
.footer {
    background: linear-gradient(135deg, #343a40 0%, #212529 100%);
}

.footer a:hover {
    color: #fff !important;
}

/* Loading Spinner */
.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

/* Responsive Images */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Utility Classes */
.text-small {
    font-size: 0.875rem;
}

.text-tiny {
    font-size: 0.75rem;
}

.cursor-pointer {
    cursor: pointer;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* Mobile Optimization */
@media (max-width: 768px) {
    .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }
    
    .footer .col-md-6 {
        text-align: center !important;
        margin-bottom: 1rem;
    }
}
