/* style.css */
:root {
    --primary-color: #333;
    --secondary-color: #f8f9fa;
    --accent-color: #007bff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--primary-color);
    line-height: 1.6;
}

/* Navigation */
.navbar-brand {
    font-weight: 700;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1483985988355-763728e1935b?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1740&q=80') center/cover no-repeat;
    color: white;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-section h2 {
    font-size: 2rem;
    font-weight: 300;
}

.hero-section .btn {
    border-width: 2px;
    border-radius: 0;
    padding: 12px 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.hero-section .btn:hover {
    background-color: #fff;
    color: #000;
}

/* Products Section */
.products-section {
    background-color: #fff;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-subtitle {
    color: #6c757d;
    font-weight: 500;
    margin-top: 1.5rem;
}

.product-card {
    border: none;
    border-radius: 0;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.product-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.placeholder-image {
    height: 250px;
    background-color: #f5f5f5;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}

.product-card:hover .placeholder-image {
    transform: scale(1.05);
}

.card-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.description {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.reviews {
    margin-top: 1rem;
}

.stars {
    color: #ffc107;
    margin-bottom: 0.5rem;
}

.review-count {
    font-size: 0.9rem;
    color: #6c757d;
}

/* About Section */
.about-section {
    background-color: var(--secondary-color);
}

.about-section h2 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
}

.about-section .btn {
    border-radius: 0;
    padding: 10px 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Footer */
footer {
    background-color: #212529;
}

footer h5 {
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

footer a {
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--accent-color) !important;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

/* Animations */
.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Cart Styles */
.cart-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.cart-total {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Form Styles */
.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Checkout Styles */
.checkout-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.checkout-step {
    text-align: center;
    flex: 1;
    position: relative;
}

.checkout-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 15px;
    right: -50%;
    width: 100%;
    height: 2px;
    background-color: #dee2e6;
    z-index: 1;
}

.checkout-step .step-number {
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    background-color: #dee2e6;
    display: inline-block;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.checkout-step.active .step-number {
    background-color: var(--accent-color);
    color: white;
}

.checkout-step.completed .step-number {
    background-color: #28a745;
    color: white;
}

/* Toast Notification */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    background-color: rgba(255, 255, 255, 0.95);
    border-left: 4px solid #28a745;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .checkout-steps {
        flex-direction: column;
    }
    
    .checkout-step:not(:last-child):after {
        display: none;
    }
    
    .checkout-step {
        margin-bottom: 20px;
    }
}