/* ================================
   Shilat Diamond Moissanite
   ONLY BLACK GRAY WHITE
   ================================ */

@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;600;700&display=swap');

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

:root {
    --black: #000000;
    --dark: #1a1a1a;
    --gray-dark: #333333;
    --gray: #666666;
    --gray-light: #999999;
    --silver: #cccccc;
    --white: #ffffff;
    --off-white: #f5f5f5;
}

body {
    font-family: 'Assistant', sans-serif;
    background: linear-gradient(to bottom, var(--black), var(--dark), var(--gray-dark), var(--dark), var(--black));
    background-attachment: fixed;
    color: var(--white);
    line-height: 1.6;
    direction: rtl;
    min-height: 100vh;
}

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

/* HEADER */
.main-header {
    background: var(--black);
    border-bottom: 1px solid var(--gray-dark);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.logo:hover {
    color: var(--white);
    opacity: 0.8;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: var(--silver);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--white);
    background: var(--gray-dark);
}

/* MAIN CONTENT */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    min-height: 60vh;
}

.page-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--white);
}

/* PRODUCT GRID */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.product-card {
    background: var(--dark);
    border: 1px solid var(--gray-dark);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--gray);
    box-shadow: 0 10px 30px rgba(255,255,255,0.1);
}

.product-image-wrapper {
    position: relative;
    padding-top: 100%;
    background: var(--gray-dark);
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--white);
    color: var(--black);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.product-category {
    color: var(--gray-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-description {
    color: var(--silver);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-price-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
}

.product-original-price {
    font-size: 1.1rem;
    color: var(--gray);
    text-decoration: line-through;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--silver);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--white);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--silver);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--gray-dark);
    color: var(--white);
    border: 1px solid var(--gray);
}

.btn-secondary:hover {
    background: var(--gray);
}

.btn-full-width {
    width: 100%;
    display: block;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
}

/* FILTERS */
.filters-section {
    background: var(--dark);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--gray-dark);
    margin-bottom: 2rem;
}

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

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: var(--gray-dark);
    border: 1px solid var(--gray);
    border-radius: 8px;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--white);
    color: var(--black);
}

/* HERO SECTION */
.hero-section {
    background: linear-gradient(135deg, var(--black), var(--gray-dark), var(--black));
    padding: 5rem 2rem;
    text-align: center;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero-section p {
    font-size: 1.3rem;
    color: var(--silver);
    margin-bottom: 2rem;
}

/* INFO BOX */
.info-box {
    background: var(--dark);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--gray-dark);
    margin-bottom: 2rem;
}

.info-box h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.info-box h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-box p {
    color: var(--silver);
    line-height: 1.8;
}

.feature-box,
.benefit-card {
    background: var(--gray-dark);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--gray);
    text-align: center;
    transition: all 0.3s;
}

.feature-box:hover,
.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--gray-light);
}

.feature-icon,
.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-box h3,
.benefit-card h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.feature-box p,
.benefit-card p {
    color: var(--gray-light);
    line-height: 1.6;
}

/* FORMS */
.contact-form,
.checkout-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--gray-dark);
    border: 1px solid var(--gray);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    font-family: 'Assistant', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--white);
    background: var(--dark);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
}

/* FOOTER */
.main-footer {
    background: var(--black);
    border-top: 1px solid var(--gray-dark);
    padding: 3rem 0 2rem;
    margin-top: 5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section p {
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem 0;
    border-top: 1px solid var(--gray-dark);
}

.footer-bottom-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.copyright-section {
    text-align: right;
}

.copyright-text {
    color: var(--gray-light);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.shilat-branding {
    text-align: left;
    padding-left: 2rem;
    border-left: 2px solid var(--white);
}

.built-by,
.shilat-group {
    color: var(--gray-light);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.built-by strong,
.shilat-group strong {
    color: var(--white);
    font-weight: 600;
}

/* INTRO SECTION */
.intro-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.intro-section p {
    color: var(--silver);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* PRODUCT ACTIONS */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.stock-status {
    text-align: center;
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.stock-status.in-stock {
    background: var(--gray-dark);
    color: var(--white);
    border: 1px solid var(--gray);
}

.product-features-mini {
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--gray-light);
}

.feature-mini {
    margin-bottom: 0.3rem;
}

/* CENTERED PAGES */
.about-page,
.contact-page {
    max-width: 800px;
    margin: 0 auto;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        width: 100%;
        order: 3;
        display: none;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        margin-top: 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .copyright-section,
    .shilat-branding {
        text-align: center;
    }
    
    .shilat-branding {
        border-left: none;
        border-top: 2px solid var(--white);
        padding-left: 0;
        padding-top: 1.5rem;
    }
}
