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

:root {
    --primary: #ffffff;
    --primary-dark: #e5e5e5;
    --secondary: #cccccc;
    --dark: #000000;
    --dark-light: #1a1a1a;
    --gray: #999999;
    --light: #f1f5f9;
    --white: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --shadow: none;
    --shadow-lg: none;
}

body {
    font-family: Arial, sans-serif;
    background: #000000 url('images/grok_image_1789435753900.jpg?v=1') no-repeat center center fixed;
    background-size: contain;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #000000;
    border-bottom: 1px solid #333333;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-icon {
    position: relative;
    background: transparent;
    border: none;
    color: var(--gray);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s;
}

.btn-icon:hover {
    color: var(--white);
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--danger);
    color: var(--white);
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    border-radius: 10px;
    font-weight: 600;
}

.btn-primary {
    background: #ffffff;
    color: #000000;
    border: 1px solid #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    font-weight: normal;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: #cccccc;
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    font-weight: normal;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: #1a1a1a;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    text-align: center;
    background: #000000;
    position: relative;
    border-bottom: 1px solid #333333;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: normal;
    margin-bottom: 1rem;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #999999;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-stats {
    display: none;
}

.stat {
    display: none;
}

.stat-number {
    display: none;
}

.stat-label {
    display: none;
}

.section-title {
    font-size: 2rem;
    font-weight: normal;
    text-align: center;
    margin-bottom: 2rem;
    color: #ffffff;
}

/* Products Section */
.products {
    padding: 4rem 0;
    background: url('images/grok_image_1789435753900.jpg') no-repeat center center;
    background-size: contain;
    background-attachment: fixed;
    position: relative;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 0;
}

.products > * {
    position: relative;
    z-index: 1;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    color: #999999;
    border: 1px solid #333333;
    padding: 0.5rem 1.5rem;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: normal;
}

.filter-btn:hover,
.filter-btn.active {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

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

.product-card {
    background: #000000;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.3s;
    border: 1px solid #333333;
}

.product-card:hover {
    background: #1a1a1a;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: #1a1a1a;
    padding: 1rem;
}

.product-badge {
    display: none;
}

.product-badge.hot {
    display: none;
}

.product-badge.new {
    display: none;
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    color: #999999;
    font-size: 0.8rem;
    font-weight: normal;
    text-transform: uppercase;
}

.product-title {
    font-size: 1.1rem;
    font-weight: normal;
    margin: 0.5rem 0;
    color: #ffffff;
}

.product-description {
    color: #999999;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.2rem;
    font-weight: normal;
    color: #ffffff;
}

.product-stock {
    font-size: 0.8rem;
    color: var(--gray);
}

.product-stock.low {
    color: var(--warning);
}

.product-stock.out {
    color: var(--danger);
}

.btn-add-cart {
    background: #ffffff;
    color: #000000;
    border: 1px solid #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: normal;
}

.btn-add-cart:hover {
    background: #cccccc;
}

.btn-add-cart:disabled {
    background: var(--gray);
    cursor: not-allowed;
}

/* About Section */
.about {
    padding: 4rem 0;
    background: url('images/grok_image_1789435753900.jpg') no-repeat center center;
    background-size: contain;
    background-attachment: fixed;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 0;
}

.about > * {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature i {
    font-size: 2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.feature h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.feature p {
    color: var(--gray);
    font-size: 0.9rem;
}

.about-image img {
    width: 100%;
    border-radius: 1rem;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background: url('images/grok_image_1789435753900.jpg') no-repeat center center;
    background-size: contain;
    background-attachment: fixed;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 0;
}

.contact > * {
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: flex;
    justify-content: center;
    text-align: center;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--gray);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.contact-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-light);
    border-radius: 50%;
    color: var(--gray);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    background: var(--dark-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 1rem;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Footer */
.footer {
    background: var(--dark-light);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-col h4 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.footer-col p {
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-col a {
    display: block;
    color: var(--gray);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #1a1a1a;
    border-radius: 0;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid #333333;
}

.modal-large {
    max-width: 900px;
}

.modal-small {
    max-width: 400px;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--gray);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--white);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.empty-cart {
    text-align: center;
    padding: 3rem;
}

.empty-cart i {
    font-size: 4rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.empty-cart p {
    color: var(--gray);
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 0.5rem;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    color: var(--primary);
    font-weight: 700;
}

.cart-item-remove {
    background: transparent;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 1.2rem;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--success);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-lg);
    transform: translateX(400px);
    transition: transform 0.3s;
    z-index: 3000;
}

.toast.show {
    transform: translateX(0);
}

.toast.error {
    background: var(--danger);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.text-center {
    text-align: center;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* FAQ Styles */
.faq-item {
    background: #1a1a1a;
    border: 1px solid #333333;
    padding: 2rem;
    margin-bottom: 1rem;
}

.faq-item h3 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: normal;
    margin-bottom: 1rem;
}

.faq-item p {
    color: #999999;
    line-height: 1.6;
}

/* Legal Content Styles */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    color: #999999;
}

.legal-content h2 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: normal;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}


/* Admin Panel Styles */
.admin-product-item {
    background: #1a1a1a;
    border: 1px solid #333333;
    padding: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-product-info {
    flex: 1;
}

.admin-product-actions {
    display: flex;
    gap: 0.5rem;
}

/* Products Layout with Sidebar */
.products-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

/* Filter Sidebar */
.filter-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    background: #1a1a1a;
    border: 1px solid #333333;
    padding: 1.5rem;
}

.filter-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.75rem;
    background: #000000;
    border: 1px solid #333333;
    transition: all 0.3s;
}

.filter-option:hover {
    background: #222222;
    border-color: #ffffff;
}

.filter-option input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.filter-option span {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
}

.filter-option input[type="radio"]:checked + span {
    color: #ffffff;
    font-weight: 600;
}

/* Products Content */
.products-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.product-section {
    display: block;
}

.product-section.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 968px) {
    .products-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .filter-sidebar {
        position: static;
    }
    
    .filter-options {
        flex-direction: row;
        flex-wrap: wrap;
    }
}
