/* Futuristic Tech Theme - Neon Blue, Neon Green, and Deep Black Palette */
/* Fonts: Orbitron (Headings), Roboto Mono (Body) */

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto Mono', monospace;
    background-color: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

h1 {
    font-size: 3.5rem;
    color: #00ff9d; /* Neon Green */
    margin-bottom: 1rem;
    text-shadow: 0 0 10px #00ff9d, 0 0 20px #00ff9d;
}

h2 {
    font-size: 2rem;
    color: #00e6ff; /* Neon Blue */
    margin-bottom: 2rem;
    text-shadow: 0 0 5px #00e6ff;
}

h3 {
    font-size: 1.5rem;
    color: #00ff9d;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1rem;
    color: #c0c0c0;
}

/* Announcement Bar */
.announcement-bar {
    background-color: #001a33;
    color: #00ff9d;
    text-align: center;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

/* Sticky Header */
.header {
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #00e6ff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: sticky;
    top: 2.5rem; /* Adjust for announcement bar height */
    z-index: 99;
}

.logo a {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: #00ff9d;
    text-decoration: none;
    text-shadow: 0 0 5px #00ff9d;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s;
}

.nav a:hover {
    color: #00e6ff;
    text-shadow: 0 0 3px #00e6ff;
}

.cart-icon a {
    color: #00ff9d;
    text-decoration: none;
    font-size: 1.2rem;
    transition: transform 0.3s, text-shadow 0.3s;
}

.cart-icon a:hover {
    transform: scale(1.1);
    text-shadow: 0 0 5px #00ff9d;
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://via.placeholder.com/1920x1080?text=Futuristic+City');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    margin-top: 2.5rem; /* Adjust for announcement bar */
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero-content {
    max-width: 800px;
}

.cta-button {
    display: inline-block;
    background-color: transparent;
    color: #00ff9d;
    border: 2px solid #00ff9d;
    padding: 0.8rem 2rem;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.cta-button:hover {
    background-color: #00ff9d;
    color: #0a0a0a;
    box-shadow: 0 0 15px #00ff9d;
}

/* Feature Highlights */
.features {
    padding: 5rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    background-color: #141414;
    clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
}

.feature-card {
    background-color: rgba(0, 30, 50, 0.5);
    border: 1px solid #00e6ff;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(0, 230, 255, 0.3);
}

/* Flash Sale Section */
.flash-sale {
    padding: 5rem 2rem;
    background-color: #0a0a0a;
    text-align: center;
}

.flash-sale-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.countdown {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: #00ff9d;
    background-color: rgba(0, 30, 50, 0.7);
    padding: 0.5rem 1rem;
    border: 1px solid #00ff9d;
    border-radius: 5px;
    text-shadow: 0 0 5px #00ff9d;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: #141414;
    border: 1px solid #00e6ff;
    padding: 1rem;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 1px solid #00e6ff;
}

.product-card:hover {
    box-shadow: 0 0 15px rgba(0, 230, 255, 0.5);
    transform: translateY(-5px);
}

.price {
    color: #00ff9d;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.original-price {
    color: #888;
    text-decoration: line-through;
    font-weight: normal;
}

.buy-button {
    display: block;
    background-color: transparent;
    color: #00e6ff;
    border: 1px solid #00e6ff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    margin-top: 1rem;
    transition: all 0.3s;
}

.buy-button:hover {
    background-color: #00e6ff;
    color: #0a0a0a;
    box-shadow: 0 0 10px #00e6ff;
}

/* Product Categories */
.categories {
    padding: 5rem 2rem;
    background-color: #141414;
    text-align: center;
    clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 10, 20, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s;
}

.category-card:hover .overlay {
    opacity: 1;
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-link {
    color: #00ff9d;
    border: 1px solid #00ff9d;
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    margin-top: 1rem;
    transition: all 0.3s;
}

.category-link:hover {
    background-color: #00ff9d;
    color: #0a0a0a;
}

/* Customer Testimonials */
.testimonials {
    padding: 5rem 2rem;
    background-color: #0a0a0a;
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: #141414;
    border: 1px solid #00e6ff;
    padding: 2rem;
    font-style: italic;
    transition: box-shadow 0.3s;
}

.testimonial-card:hover {
    box-shadow: 0 0 10px rgba(0, 230, 255, 0.3);
}

.testimonial-card h4 {
    color: #00ff9d;
    margin-top: 1rem;
    font-style: normal;
}

/* Newsletter Signup */
.newsletter {
    padding: 5rem 2rem;
    background-color: #141414;
    text-align: center;
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 90%);
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input {
    padding: 0.8rem;
    font-family: 'Roboto Mono', monospace;
    background-color: #0a0a0a;
    border: 1px solid #00e6ff;
    color: #e0e0e0;
    width: 70%;
    outline: none;
}

.newsletter-form button {
    background-color: transparent;
    color: #00ff9d;
    border: 2px solid #00ff9d;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    width: 30%;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background-color: #00ff9d;
    color: #0a0a0a;
    box-shadow: 0 0 10px #00ff9d;
}

/* Footer */
.footer {
    background-color: #0a0a0a;
    border-top: 1px solid #00e6ff;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-column h3 {
    color: #00e6ff;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column a {
    color: #c0c0c0;
    text-decoration: none;
    line-height: 1.8;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #00ff9d;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-social a {
    color: #00e6ff;
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s, text-shadow 0.3s;
}

.footer-social a:hover {
    transform: scale(1.2);
    text-shadow: 0 0 5px #00e6ff;
}

.footer-bottom {
    font-size: 0.9rem;
    color: #888;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    .header {
        flex-direction: column;
        gap: 1rem;
    }
    .nav ul {
        flex-direction: column;
        align-items: center;
    }
    .hero {
        height: 60vh;
        padding: 0 1rem;
    }
    .flash-sale-header {
        flex-direction: column;
        gap: 1rem;
    }
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    .newsletter-form input, .newsletter-form button {
        width: 100%;
    }
    .footer-links {
        flex-direction: column;
        align-items: center;
    }
}