/* Global Styles */
:root {
    --primary-color: #4a90e2;
    --secondary-color: #222;
    --accent-color: #ff6b6b;
    --text-color: #f8f9fa;
    --light-text: #aaa;
    --border-color: #444;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --error-color: #dc3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(to bottom, #000, #111);
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.3);
}

.btn:hover {
    background-color: #ff8787;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

.btn-small {
    padding: 8px 20px;
    font-size: 12px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    color: #f8f9fa;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

/* Header Styles */
header {
    background-color: rgba(17, 17, 17, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
}

nav ul {
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    color: var(--text-color);
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.header-icons {
    display: flex;
    align-items: center;
}

.header-icons a {
    margin-left: 20px;
    font-size: 18px;
    position: relative;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.header-icons a:hover {
    color: var(--accent-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-color);
    color: white;
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://via.placeholder.com/1920x600');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 107, 107, 0.2), transparent);
    z-index: 1;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Featured Categories */
.featured-categories {
    padding: 80px 0;
    background-color: #111;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: #222;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    text-align: center;
    border: 1px solid #333;
    position: relative;
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.2);
}

.category-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.category-card h3 {
    margin: 15px 0;
    font-size: 18px;
    color: #f8f9fa;
}

.category-card .btn-small {
    margin-bottom: 20px;
}

/* Featured Products */
.featured-products {
    padding: 80px 0;
<<<<<<< HEAD
<<<<<<< HEAD
    background-color: #222;
=======
    background-color: #000;
>>>>>>> 284b462 (added files of e-commerce app)
=======
    background-color: #222;
>>>>>>> 05da805 (Resolved merge conflict and added Jenkinsfile)
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
<<<<<<< HEAD
<<<<<<< HEAD
    background-color: #333;
=======
    background-color: #222;
>>>>>>> 284b462 (added files of e-commerce app)
=======
    background-color: #333;
>>>>>>> 05da805 (Resolved merge conflict and added Jenkinsfile)
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
<<<<<<< HEAD
<<<<<<< HEAD
    border: 1px solid #444;
=======
    border: 1px solid #333;
>>>>>>> 284b462 (added files of e-commerce app)
=======
    border: 1px solid #444;
>>>>>>> 05da805 (Resolved merge conflict and added Jenkinsfile)
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.2);
    border-color: var(--accent-color);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.product-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 3px;
}

.tag-new {
    background-color: var(--primary-color);
    color: white;
}

.tag-sale {
    background-color: var(--accent-color);
    color: white;
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 12px;
    color: var(--light-text);
    margin-bottom: 5px;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #f8f9fa;
}

.product-price {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-color);
}

.original-price {
    font-size: 14px;
    color: var(--light-text);
    text-decoration: line-through;
    margin-left: 10px;
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.stars {
    color: var(--warning-color);
    margin-right: 5px;
}

.rating-count {
    font-size: 12px;
    color: var(--light-text);
}

.product-actions {
    display: flex;
    justify-content: space-between;
}

.add-to-cart {
    flex-grow: 1;
    padding: 8px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    background-color: #ff8787;
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.5);
}

.wishlist-btn {
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary-color);
    border: none;
    border-radius: 4px;
    margin-left: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wishlist-btn:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Special Offer */
.special-offer {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://via.placeholder.com/1920x600');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.special-offer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 107, 107, 0.2), transparent);
    z-index: 1;
}

.offer-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.offer-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.offer-content p {
    font-size: 18px;
    margin-bottom: 15px;
}

.offer-timer {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: #111;
}

.testimonial-slider {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.testimonial {
    background-color: #222;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.2);
}

.testimonial p {
    font-style: italic;
    margin: 15px 0;
}

.customer h4 {
    font-weight: 600;
}

/* Newsletter */
.newsletter {
    padding: 60px 0;
    text-align: center;
    background-color: #111;
}

.newsletter h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.newsletter p {
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
}

.newsletter-form .btn {
    border-radius: 0 4px 4px 0;
}

/* Footer */
footer {
    background-color: #111;
    color: var(--text-color);
    padding: 60px 0 0;
    border-top: 1px solid #333;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-section p {
    margin-bottom: 20px;
    color: #b3b3b3;
}

.social-icons {
    display: flex;
}

.social-icons a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.5);
}

.footer-section ul li a {
    color: #b3b3b3;
    transition: color 0.3s ease;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #b3b3b3;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom p {
    color: #b3b3b3;
}

.payment-methods i {
    font-size: 24px;
    margin-left: 10px;
    color: #b3b3b3;
}

 (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        margin-bottom: 15px;
    }
    
    .hero h2 {
        font-size: 36px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom p {
        margin-bottom: 10px;
    }
}

(max-width: 576px) {
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .newsletter-form .btn {
        border-radius: 4px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
