/* Custom CSS for Sohnabazaar.com */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #dc2626;
    --success: #059669;
    --dark: #1e293b;
    --light: #f8fafc;
    --border: #e2e8f0;
    --text-muted: #64748b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 100px 0;
    margin-top: -80px;
    padding-top: 180px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons .btn {
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.hero-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-item i {
    color: #fbbf24;
}

/* Categories Section */
.categories-section {
    background: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.category-card {
    display: block;
    text-align: center;
    padding: 2rem 1rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s ease;
}

.category-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    color: var(--dark);
    text-decoration: none;
}

.category-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.category-card h5 {
    margin-bottom: 0.5rem;
}

.category-card p {
    color: var(--text-muted);
    margin: 0;
}

/* Product Cards */
.product-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-image {
    position: relative;
    overflow: hidden;
    background: #f8fafc;
    text-align: center;
    padding: 1rem;
}

.product-image img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.btn-wishlist, .btn-quick-view {
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 50%;
    background: white;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-wishlist:hover, .btn-quick-view:hover {
    background: var(--primary);
    color: white;
}

.product-info {
    padding: 1rem;
}

.product-title {
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
}

.product-price {
    margin-bottom: 1rem;
}

.current-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

.old-price {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 0.5rem;
}

/* Footer */
.footer-brand {
    font-size: 1.5rem;
    font-weight: 600;
}

.social-links a {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .product-image img {
        height: 150px;
    }
}

/* Utility Classes */
.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.btn-primary { 
    background-color: var(--primary) !important; 
    border-color: var(--primary) !important;
}
.btn-primary:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}