/* Base Styles */
:root {
    --primary-color: #5e35b1;
    --primary-dark: #4527a0;
    --primary-light: #7e57c2;
    --secondary-color: #26c6da;
    --secondary-dark: #00acc1;
    --accent-color: #ff7043;
    --dark-color: #263238;
    --light-color: #eceff1;
    --gray-color: #90a4ae;
    --success-color: #66bb6a;
    --warning-color: #ffa726;
    --danger-color: #ef5350;
    
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Roboto', sans-serif;
    
    --box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    --box-shadow-hover: 0 12px 28px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--dark-color);
    line-height: 1.6;
    background-color: #f5f7fa;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(94, 53, 177, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(94, 53, 177, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    color: var(--dark-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

/* Announcement Bar */
.announcement-bar {
    background-color: var(--dark-color);
    color: white;
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.announcement-bar p {
    margin: 0;
}

.announcement-bar span {
    font-weight: 700;
    color: var(--accent-color);
}

/* Header */
.sticky-header {
    position: sticky;
    top: 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
}

.logo-highlight {
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

.header-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.header-icons a {
    font-size: 1.2rem;
    transition: var(--transition);
    position: relative;
}

.header-icons a:hover {
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 80vh;
    min-height: 600px;
    background: url('https://images.unsplash.com/photo-1518770660439-4636190af475?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(38, 50, 56, 0.8), rgba(94, 53, 177, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 600px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero .subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Feature Highlights */
.feature-highlights {
    padding: 5rem 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
    border-top-color: var(--primary-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background-color: rgba(94, 53, 177, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Flash Sale Section */
.flash-sale {
    padding: 5rem 0;
    background-color: #f5f7fa;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.sale-countdown {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sale-countdown span {
    font-weight: 500;
}

.countdown-timer {
    display: flex;
    gap: 0.5rem;
}

.countdown-box {
    background-color: var(--dark-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-align: center;
    min-width: 70px;
}

.countdown-box span:first-child {
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
    font-family: var(--font-heading);
}

.countdown-box span:last-child {
    font-size: 0.7rem;
    opacity: 0.8;
    text-transform: uppercase;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent-color);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 1;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.product-card h3 {
    padding: 1rem 1rem 0;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.price {
    padding: 0 1rem;
    margin-bottom: 1rem;
}

.original-price {
    text-decoration: line-through;
    color: var(--gray-color);
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.sale-price {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.btn-add-to-cart {
    display: block;
    width: calc(100% - 2rem);
    margin: 0 1rem 1rem;
    padding: 0.7rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.btn-add-to-cart:hover {
    background-color: var(--primary-dark);
}

.view-all {
    text-align: center;
    margin-top: 3rem;
}

.btn-view-all {
    padding: 0.8rem 2rem;
    background-color: var(--dark-color);
    color: white;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-view-all:hover {
    background-color: var(--primary-color);
}

/* Product Categories */
.product-categories {
    padding: 5rem 0;
    background-color: white;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    position: relative;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem 1.5rem 1.5rem;
    color: white;
}

.category-overlay h3 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.btn-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-category:hover {
    background-color: var(--primary-dark);
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background-color: #f5f7fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(94, 53, 177, 0.1);
    font-family: serif;
    line-height: 1;
    z-index: 0;
}

.testimonial-card p {
    position: relative;
    z-index: 1;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.rating {
    color: var(--warning-color);
    margin-bottom: 1rem;
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.customer-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.customer-info h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.customer-info span {
    font-size: 0.8rem;
    color: var(--gray-color);
}

/* Newsletter */
.newsletter {
    padding: 4rem 0;
    background-color: var(--primary-color);
    color: white;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.newsletter-text h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-text p {
    opacity: 0.9;
    max-width: 400px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    width: 100%;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--secondary-color);
}

.btn-subscribe {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 4px 4px 0;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-subscribe:hover {
    background-color: #f4511e;
}

/* Footer */
.main-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul a {
    transition: var(--transition);
    opacity: 0.8;
}

.footer-col ul a:hover {
    opacity: 1;
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
}

.copyright {
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

.copyright a {
    transition: var(--transition);
}

.copyright a:hover {
    color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .newsletter-text p {
        max-width: 100%;
    }
    
    .newsletter-form {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: white;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 999;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-icons {
        margin-left: auto;
        margin-right: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .sale-countdown {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .countdown-box {
        min-width: 60px;
        padding: 0.3rem 0.5rem;
    }
    
    .countdown-box span:first-child {
        font-size: 1.2rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}