:root {
    --primary: #2c3e50;
    --accent: #3498db;
    --light: #f4f7f6;
}

body {
    margin: 0;
    font-family: 'Assistant', sans-serif;
    color: #333;
    overflow-x: hidden;
}

.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
    letter-spacing: 0.02em;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: bold;
    transition: 0.3s;
}

.login-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--primary);
}

.login-mini .login-text {
    opacity: 0.85;
    white-space: nowrap;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #2c3e50 0%, #000000 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    margin-top: 20px;
}

.products { padding: 80px 5%; background: var(--light); }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.product-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.product-card:hover { transform: translateY(-10px); }

/* התאמה לסלולר */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* יופעל ע"י JS */
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 1rem;
        width: min(92vw, 360px);
        background: white;
        padding: 14px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        border-radius: 10px;
        box-sizing: border-box;
        gap: 6px;
    }
    
    .nav-links.active { display: flex; }

    .nav-links li,
    .nav-links a {
        display: block;
        width: 100%;
    }

    .nav-links a {
        padding: 10px 12px;
        text-align: right;
        border-radius: 8px;
    }

    .nav-links a:hover {
        background: #f3f7fb;
    }
    
    .hamburger {
        display: block;
        cursor: pointer;
    }
    
    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--primary);
        margin: 5px;
    }
}

