/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #000000;
    padding: 1rem 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 3px;
    color: #ffffff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #888;
}

.nav-link.active {
    color: #ffffff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
}

.cart-badge {
    background-color: #ffffff;
    color: #000000;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    margin-left: 5px;
}

.currency-selector select {
    background-color: #1a1a1a;
    color: #ffffff;
    border: 1px solid #333;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.currency-selector select:hover {
    border-color: #555;
}

/* Sections */
.section {
    display: none;
    min-height: 100vh;
    padding-top: 80px;
}

.section.active {
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.hero-title {
    font-size: 8rem;
    font-weight: bold;
    letter-spacing: 10px;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #888;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-button:hover {
    background-color: #888;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Section Titles */
.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 3px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.product-card {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    border-color: #555;
}

.product-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 3rem;
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.add-to-cart-btn {
    width: 100%;
    padding: 0.8rem;
    background-color: #ffffff;
    color: #000000;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background-color: #888;
    color: #ffffff;
}

.add-to-cart-btn:active {
    transform: scale(0.98);
}

/* Cart Styles */
.cart-items {
    max-width: 800px;
    margin: 0 auto;
}

.empty-cart {
    text-align: center;
    color: #888;
    font-size: 1.2rem;
    padding: 3rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
}

.cart-item-details h4 {
    margin-bottom: 0.5rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background-color: #333;
    color: #ffffff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.quantity-btn:hover {
    background-color: #555;
}

.quantity-display {
    min-width: 30px;
    text-align: center;
}

.remove-btn {
    background-color: #ff4444;
    color: #ffffff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.remove-btn:hover {
    background-color: #cc0000;
}

.cart-footer {
    max-width: 800px;
    margin: 2rem auto 0;
    padding: 2rem;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-total {
    font-size: 1.5rem;
}

.checkout-btn {
    padding: 1rem 2rem;
    background-color: #ffffff;
    color: #000000;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    background-color: #888;
    color: #ffffff;
}

/* Chat Box */
.chat-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    height: 500px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    display: none;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.chat-box.active {
    display: flex;
}

.chat-header {
    background-color: #000000;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.chat-header h3 {
    font-size: 1.2rem;
}

.chat-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.chat-close:hover {
    color: #888;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    padding: 0.8rem;
    border-radius: 8px;
    max-width: 80%;
    animation: fadeIn 0.3s ease;
}

.bot-message {
    background-color: #2a2a2a;
    align-self: flex-start;
}

.user-message {
    background-color: #ffffff;
    color: #000000;
    align-self: flex-end;
}

.chat-input-container {
    display: flex;
    padding: 1rem;
    border-top: 1px solid #333;
    gap: 0.5rem;
}

.chat-input {
    flex: 1;
    padding: 0.8rem;
    background-color: #2a2a2a;
    border: 1px solid #333;
    border-radius: 4px;
    color: #ffffff;
    font-size: 0.9rem;
}

.chat-input:focus {
    outline: none;
    border-color: #555;
}

.chat-send {
    padding: 0.8rem 1.5rem;
    background-color: #ffffff;
    color: #000000;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-send:hover {
    background-color: #888;
    color: #ffffff;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 4rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .chat-box {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}
