/* Custom Styles for ModernShop */

:root {
    --primary-color: #0d6efd;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --muted-color: #6c757d;
    --transition-speed: 0.3s;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    transition: var(--transition-speed);
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    padding: 0.5rem 1rem !important;
    transition: var(--transition-speed);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-section img {
    transition: transform var(--transition-speed);
}

.hero-section img:hover {
    transform: scale(1.02);
}

/* Product Cards */
.product-card {
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.product-card img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity var(--transition-speed);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.hover-up {
    transition: transform var(--transition-speed);
}

.hover-up:hover {
    transform: translateY(-10px);
}

/* Buttons */
.btn {
    border-radius: 5px;
    padding: 10px 25px;
    font-weight: 500;
    transition: var(--transition-speed);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-2px);
}

/* Footer */
footer {
    border-top: 1px solid rgba(255,255,255,0.1);
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* Newsletter Section */
.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
        text-align: center;
    }
    
    .hero-section .btn {
        margin-bottom: 10px;
    }
}
