/* ============ RESET ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Tajawal", Arial, sans-serif;
}

body {
    background: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* ============ HEADER ============ */

header {
    background: #ffffff;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo span {
    font-size: 22px;
    font-weight: 700;
}

nav a {
    margin: 0 10px;
    text-decoration: none;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

nav a:hover,
nav a.active {
    color: #007bff;
}

/* ============ HERO ============ */

.hero {
    position: relative;
    height: 60vh;
    background: url("images/fruits/banana-hero.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    color: #fff;
    max-width: 600px;
    padding: 0 15px;
}

.hero-content h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 16px;
    margin-bottom: 20px;
}

.btn-primary {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    transition: 0.2s ease;
}

.btn-primary:hover {
    background: #0056c4;
}

/* ============ GENERAL SECTION ============ */

.section {
    padding: 40px 20px;
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

.section-title {
    font-size: 26px;
    margin-bottom: 25px;
    font-weight: bold;
}

.about-text {
    max-width: 700px;
    margin: auto;
    font-size: 16px;
    color: #444;
}

/* ============ PRODUCTS GRID ============ */

.category-title {
    text-align: right;
    font-size: 20px;
    margin: 30px 10px 10px;
    font-weight: 700;
    color: #222;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.product-item {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    padding: 10px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
}

.product-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.product-item h4 {
    font-size: 16px;
    font-weight: 600;
}

/* ============ CONTACT ============ */

.contact-box {
    max-width: 400px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 14px;
    padding: 25px 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.contact-box h2 {
    margin-bottom: 20px;
}

.contact-btn {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    color: #ffffff;
    transition: 0.2s ease;
}

.contact-btn.whatsapp {
    background: #25d366;
}

.contact-btn.email {
    background: #007bff;
}

.contact-btn:hover {
    opacity: 0.9;
}

.contact-text {
    margin-top: 15px;
    font-size: 15px;
}

/* ============ FOOTER ============ */

footer {
    margin-top: 40px;
    background: #111;
    color: #fff;
    text-align: center;
    padding: 15px 10px;
    font-size: 14px;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 768px) {

    header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
    }

    .hero {
        height: 55vh;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .product-item img {
        height: 130px;
    }
}
