/**
 * Modern Theme CSS for Athena Shopping
 * Version: 1.0.0
 * Matches Header & Footer Gradient Design
 */

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --dark-text: #1a1a2e;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(102, 126, 234, 0.2);
    --radius-md: 12px;
    --radius-pill: 25px;
}

body {
    background: #f8f9fa;
}

.body-content {
    background: #f8f9fa;
    padding: 40px 0;
}

/* Modern Product Cards */
.product {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    overflow: hidden;
    border: none !important;
    position: relative;
    margin-bottom: 30px;
}

.product:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image img {
    transition: all 0.4s ease;
    border-radius: 8px;
    width: 100%;
}

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

.product-info {
    padding: 20px;
}

.product-info .name {
    font-size: 16px;
    font-weight: 600;
    min-height: 44px;
}

.product-info .name a {
    color: var(--dark-text);
    text-decoration: none;
}

.product-info .name a:hover {
    color: var(--primary-color);
}

.product-price .price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.price-before-discount {
    text-decoration: line-through;
    color: #999;
    font-size: 18px;
    margin-left: 10px;
}

.product .action {
    padding: 0 20px 20px;
}

.product .btn-primary,
.product .lnk.btn-primary {
    background: var(--primary-gradient) !important;
    border: none !important;
    border-radius: var(--radius-pill) !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 12px 30px !important;
    width: 100%;
    display: block;
    text-align: center;
}

.product .btn-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Modern Info Boxes */
.info-boxes {
    margin-top: 30px;
    margin-bottom: 40px;
}

.info-box {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 30px 20px;
    transition: all 0.3s ease;
    border: none;
    height: 100%;
    text-align: center;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.info-box .icon {
    width: 70px;
    height: 70px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    margin: 0 auto 20px;
}

.info-box:hover .icon {
    transform: scale(1.1) rotate(5deg);
}

.info-box-heading {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* Hero Slider */
.homepage-slider3 {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
}

/* Section Headings */
.new-product-title {
    font-size: 32px;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.new-product-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

/* Buttons */
.btn-primary {
    background: var(--primary-gradient) !important;
    border: none !important;
    border-radius: var(--radius-pill) !important;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(102, 126, 234, 0.4);
}

/* Alerts */
.alert {
    border-radius: var(--radius-md);
    border: none;
    padding: 15px 20px;
    box-shadow: var(--shadow-sm);
}

.alert-success {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
}

.alert-danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

/* Sidebar */
.sidebar {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 20px;
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 767px) {
    .body-content {
        padding: 20px 0;
    }
    
    .new-product-title {
        font-size: 22px;
    }
}
