/* Brandstore Theme - Modern Ecommerce Design */

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    line-height: 1.6;
}

.section-padding {
    padding: 80px 0;
}

.bg-gradient {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

/* Navigation */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* Hero Section - Brandstore Style */
.hero-section-new {
    background: #ffffff;
    padding: 100px 0;
    position: relative;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-content {
    padding-right: 2rem;
}

.hero-badge .badge {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-title {
    color: #2c3e50;
    line-height: 1.2;
    font-weight: 800;
}

.hero-title .text-primary {
    color: #007bff !important;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #6c757d;
}

.hero-buttons .btn {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0;
}

.hero-image img {
    max-height: 500px;
    object-fit: cover;
}

/* Brands Section */
.brands-section {
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.brand-logo {
    transition: opacity 0.3s ease;
}

.brand-logo:hover {
    opacity: 1 !important;
}

/* Buttons */
.btn-primary {
    background: #007bff;
    border: none;
    border-radius: 5px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.btn-outline-primary {
    border: 2px solid #007bff;
    color: #007bff;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Cart Badge */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Special Offers Section */
.special-offers-section {
    background: #f8f9fa;
}

.offer-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.z-index-2 {
    z-index: 2;
}

.opacity-10 {
    opacity: 0.1;
}

/* Features Section */
.features-section {
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.feature-card {
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.feature-card:hover {
    transform: translateY(-3px);
}

.feature-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Special Edition Section */
.special-edition-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.special-content .badge {
    font-size: 0.9rem;
}

.special-offer-badge {
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #ffc107;
    padding: 1rem;
    border-radius: 5px;
}

/* Categories */
.category-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #007bff;
}

.category-image-homepage {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #f8f9fa;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image-homepage {
    transform: scale(1.1);
    border-color: #007bff;
}

/* Featured Products Section */
.featured-products-section {
    background: #f8f9fa;
}

.product-card-new {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.product-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image-container {
    overflow: hidden;
    height: 200px;
}

.product-image-new {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.product-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.btn-white {
    background: white;
    border: 1px solid #e9ecef;
    color: #6c757d;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-white:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.product-title {
    font-weight: 600;
    color: #2c3e50;
}

.product-rating {
    font-size: 0.9rem;
}

.current-price {
    font-size: 1.1rem;
}

.old-price {
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #343a40;
    color: white;
    padding: 40px 0;
    margin-top: 50px;
}

/* Animation Classes */
.stagger-animation > div {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.stagger-animation > div:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation > div:nth-child(2) { animation-delay: 0.2s; }
.stagger-animation > div:nth-child(3) { animation-delay: 0.3s; }
.stagger-animation > div:nth-child(4) { animation-delay: 0.4s; }
.stagger-animation > div:nth-child(5) { animation-delay: 0.5s; }
.stagger-animation > div:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .hero-section-new {
        padding: 60px 0;
    }

    .min-vh-75 {
        min-height: auto;
    }
}
