body {
    margin: 0;
    font-family: 'Tahoma';
    background: #0f2f2b;
    color: #fff;
}

.container {
    width: 85%;
    margin: auto;
}

/* Navbar */
header {
    background: #0b2421;
	position: relative;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-box {
    display: flex;
    align-items: center;
}

.logo-box img {
    width: 50px;
    margin-left: 10px;
}

.logo-box h1 {
    color: #d4af37;
}

nav a {
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
}

nav a:hover {
    color: #d4af37;
}

/* Hero */
.hero {
    height: 85vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9)),
    url('images/home_bkgd.png');
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero h2 {
    font-size: 45px;
    color: #d4af37;
}

.btn {
    background: #d4af37;
    padding: 12px 25px;
    color: #000;
    text-decoration: none;
}

/* Section Titles */
.section-title,
.categories h2,
.products h2 {
    text-align: center;
    color: #d4af37;
}

/* Categories */
.categories .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.categories .card {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #fff;
}

.categories .card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.categories .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* تعديل لون النص في الفئات */
.categories .card h3 {
    padding: 10px 0;
    font-size: 1.1rem;
    color: #000; /* لون أسود للنص */
}

/* Products */
.products .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.products .product {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #fff;
}

.products .product img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.products .product:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* تعديل لون النص في المنتجات */
.products .product h3,
.products .product p {
    color: #000; /* لون أسود للنص */
}

.btn-small {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #b22222;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-small:hover {
    background-color: #8b0000;
}

/* Footer */
footer {
    background: #061917;
    text-align: center;
    padding: 15px;
}

/* Responsive Design */

/* Mobile */
@media (max-width: 768px) {

    /* زر القائمة */
    .menu-toggle {
        display: block;
        font-size: 28px;
        cursor: pointer;
        color: #d4af37;
        z-index: 1100;
    }

    /* الخلفية المعتمة */
    .overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        z-index: 998;
    }

    .overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Sidebar */
    nav {
        position: fixed;
        top: 0;
        right: -280px; /* مخفية خارج الشاشة */
        width: 260px;
        height: 100vh;
        background: #0b2421;
        display: flex;
        flex-direction: column;
        padding-top: 60px;
        transition: right 0.35s ease;
        z-index: 999;
    }

    nav.active {
        right: 0; /* تظهر */
    }

    nav a {
        padding: 15px 20px;
        border-bottom: 1px solid #123b36;
        text-align: right;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h2 {
        font-size: 36px;
    }
}

/* Desktop */
@media (min-width: 1025px) {
    .grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Filters */
.filters {
    text-align: center;
    margin: 20px 0;
}

.filters button {
    background: transparent;
    border: 1px solid #d4af37;
    color: #d4af37;
    padding: 10px 15px;
    margin: 5px;
    cursor: pointer;
}

.filters button:hover {
    background: #d4af37;
    color: #000;
}

/* About Page */
.about-page {
    padding: 60px 0;
    line-height: 2;
    text-align: center;
}

.about-page h2 {
    color: #d4af37;
}

/* Contact Page */
.contact-page {
    padding: 60px 0;
    text-align: center;
}

.contact-form {
    max-width: 500px;
    margin: auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: none;
    outline: none;
}

.contact-form button {
    background: #d4af37;
    border: none;
    padding: 12px;
    width: 100%;
    cursor: pointer;
}

.contact-info {
    margin-top: 20px;
    color: #ccc;
}